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

help request: Fluentbit intermittent 404 issues on /api/v2/metrics/prometheus endpoint #1428

Closed
mshivanna opened this issue Dec 3, 2024 · 3 comments

Comments

@mshivanna
Copy link

mshivanna commented Dec 3, 2024

Describe the issue

We have installed 3.2.0 version of fluent operator helm chart and have enabled fluentbit to ship logs from k8s containers to opensearch in aws. When we turn on servicemonitor we see 404 on /api/v2/metrics/prometheus on different fluentbit pods at different times.
at t1:
image

at t2:
image

How did you install fluent operator?

helm chart version 3.2.0

Additional context

No response

@cw-Guo
Copy link
Collaborator

cw-Guo commented Dec 20, 2024

this looks more like a fluent-bit issue. Please raise the issue there. https://github.com/fluent/fluent-bit/issues

It's possible that your fluent-bit pods are not running healthy at that time.

@mshivanna
Copy link
Author

ok Thanks. The metrics buffer is not getting populated and the server sends a 404. https://github.com/fluent/fluent-bit/blob/master/src/http_server/api/v2/metrics.c#L181

@mshivanna
Copy link
Author

similar issue while using prometheus exporter fluent/fluent-bit#9366

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

2 participants