-
Notifications
You must be signed in to change notification settings - Fork 43
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
Filter not working #93
Comments
Thanks for the report. Nothing obvious jumps to mind. What is the full command-line? Note that if you have multiple filters, they all have to pass. Do you see any metrics in Stackdriver if you remove all filters (the sidecar should forward all metrics by default)? Knowing this would help us eliminate the filter as a problem. |
Hi Javier, thanks for picking this up. I'm passing the args through a k8s manifest. The full command is:
Yes without filter all metrics are exported, and others filters work. For example the filter The problem may lie in a small detail, that the metric I'm trying to export (consumer_group_backlog_avg_10m) actually comes from a recording rule. The config is:
The contents of the metric are in my initial post, this at least shows that is available in prometheus. |
Anderson, thanks for the clarification. The issue is indeed caused by recorded rules, as you suspected. I can see two options:
I will add an entry to our website explaining this in a bit more detail. Thanks for bringing it up! |
I'm going to go ahead and close this request. If there's anything else I can do to help you, let me know. |
Thanks a lot for your reply! |
Glad it helped, thanks for the update! |
I'm setting the filter as follows:
However when I trace the logs in the sidecar it stays here and doesn't seem to forward any metrics
When I curl the prometheus server it should be querying metrics for it does seem to have the metric I'm trying to filter for:
Does anything seem clearly wrong? What could be the issue? Thanks!
The text was updated successfully, but these errors were encountered: