Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fluent bit metrics by pod/container #454

Open
adecchi-2inno opened this issue Dec 25, 2023 · 0 comments
Open

Fluent bit metrics by pod/container #454

adecchi-2inno opened this issue Dec 25, 2023 · 0 comments

Comments

@adecchi-2inno
Copy link

I am using fluent chart version 0.30.3, and it is deployed as daemonset and a custom Prometheus installation.

At the moment, I am not able to get metrics based on pod name or container.

For example:
sum(rate(fluentbit_input_records_total{namespace="logging"}[1d])) by (pod)
sum(rate(fluentbit_input_records_total{namespace="logging"}[1d])) by (container)

If I switched pod by instance or node, I get the result, but my intention is to get by pod/container.
The idea is to try to understand the Pods with excessive Logs enabled, to try to understand the Pods that trigger my Index at Opensearch to increase heavily.

Is anything required to do at my custom Prometheus deployment ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant