-
-
Notifications
You must be signed in to change notification settings - Fork 91
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
fix: Provide all metric labels in OpenTelemetry & StatsD #2183
Conversation
Signed-off-by: Tom Kerkhove <[email protected]>
Signed-off-by: Tom Kerkhove <[email protected]>
Signed-off-by: Tom Kerkhove <[email protected]>
Signed-off-by: Tom Kerkhove <[email protected]>
Signed-off-by: Tom Kerkhove <[email protected]>
Looking forward to seeing this fix go in, anything I can do to help push it? @tomkerkhove |
Ask me to stop slacking? 🤔 😁 |
Signed-off-by: Tom Kerkhove <[email protected]>
Signed-off-by: Tom Kerkhove <[email protected]>
Signed-off-by: Tom Kerkhove <[email protected]>
Signed-off-by: Tom Kerkhove <[email protected]>
Signed-off-by: Tom Kerkhove <[email protected]>
Signed-off-by: Tom Kerkhove <[email protected]>
@SagiVaknin Did you manage to find more on this? Looks like tests are still failing, example:
When looking at the OTEL metrics (thanks for adding this!) I see that that above metric was reported as successful but there is no value. So either there are no values and there is no information, or we are misreporting success/failure. Based on scraper logs, I'm inclined to think the latter:
However, I also see logs that it was reported with 0: [07:19:07 INF] Scraping promitor_demo_servicebus_messagecount_discovered for resource type ServiceBusNamespace.
Likely metric is ignored because the value is 0? |
Ok another problem is the following: Test looks for |
From what I can tell, there are three metrics in Show Prometheus metrics for Scraper agent that are unavailable in Show Prometheus metrics for OpenTelemetry agent:
Regarding |
I took another look at the two failing service bus namespace metrics and found the real issue with them. We're adding to both metrics the variable label
|
Updated OTEL configuration, let's see what it does.
I will tweak this later this weekend. |
@tomkerkhove did not have the time to follow on this since merged the PR for the opentelemetry logs.
Isn't this just the metric_name parameter in the test name, and the prefix of otel_ is being added after? |
Interesting. I'll check status of this PR to open follow-up issues and will merge it. THanks folks |
Correct, but the test is acting as a consumer so if it adds that suffix, then that is what we have to query for. |
Add unit tests for label scenarios(moved to backlog)Fixes #2180