-
Notifications
You must be signed in to change notification settings - Fork 378
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
mtail fails to scrape with > 70k metrics presented. #903
Comments
Which version please? https://github.com/google/mtail/blob/main/docs/Troubleshooting.md#reporting-a-problem Does it look like |
This may indeed be related to the issue I was seeing and the change #908. I was testing with the For From
When rebuilding mtail without #908 (I need #906 for my mtail program) and testing
@JWThorne you can probably look at one of the other exporters to confirm you're seeing partial output from them, and you can either build from the source or wait till #908 is released |
This is the number of outputted metrics or the number of log lines you're processing? For my case we had a number of counters with a large number of labels, so it was generating a large JSON payload and hitting the timeout. |
We find that with our current deployment, even though the scrape time is under 2.5 seconds, HTTP GET on the /metrics endpoint will just fail if mtail has more than 70k metrics. There are no errors in the logs, no issues, just a failed response and a connection close after 2 seconds. Reducing the metric count appears to restore operation
However, we need more metrics.
The text was updated successfully, but these errors were encountered: