-
-
Notifications
You must be signed in to change notification settings - Fork 94
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
Provide support for new Azure Monitor Metrics Dataplane API #2284
Comments
Resources:
|
@hkfgo Can you please also update https://changelog.promitor.io/? |
@hkfgo Can you please see if local tests are working with OpenTelemetry? I tried shipping new version 3 times but all those tests time out for metrics not showing up https://dev.azure.com/tomkerkhove/Promitor/_build/results?buildId=14883&view=results |
Sure, I can test it out in our cloud env. We have OTEL Collectors running there. In my experience it take on average more than 3 tries for the OpenTelemetry CI to pass :/ In the most recent PR I merged, I had to retry 5 times |
I got some unfortunate news @tomkerkhove, the OTEL Collector sink might actually be broken. I observe one successful metric export then nothing afterwards. That's probably why some times the CI tests were able to pass. Not sure which version broke OTEL or why no one's filed an issue yet |
But in any case, I'm working hard to track down the issue.. |
Thanks! Do you know if it's related to the new API change or broken in general? |
Unlikely since no there hasn't been a code change on the OTEL sink for a year. Code changes in the past year should have no effect there. I'm running through older versions to pin down the latest version with a working OTEL sink(and thus when it broke). You are sure the OTEL sink worked smoothly at some point right? |
@tomkerkhove I tracked down the latest version with a working OTEL sink, which is 2.8.0. That also means 2.9.0: https://github.com/tomkerkhove/promitor/releases/tag/Scraper-v2.9.0 was where things broke, over 1.5 years ago. Among the list of changes I suspect one of these two commits broke it: #2239 and #2235. There was also an upgrade to .Net 7. I'll need a bit more time to pin down the offending change. Taking a step back.. Given this piece of information, I'd consider all the recent changes safe, since they aren't the ones breaking OTEL sink. I'd also consider the broken OTEL sink not a blocker for release these recent changes. |
I am not sure if I agree with that given the tests up to v2.11.2 were passing : https://dev.azure.com/tomkerkhove/Promitor/_build/results?buildId=13845&view=results |
Not really or we'd break other end-users which is not really what we should do. |
Let's move this to a seperate issue, but we'll need to fix that because:
If we cannot resolve by EOW,then I'll skip OTEL tests just to get the version out and re-enable them again |
Ack, I'll open a new issue |
Proposal
Provide support for new Azure Monitor Metrics Dataplane API (preview) which has higher limitations and allows for scraping resources in batch.
https://azure.microsoft.com/en-us/updates/public-preview-azure-monitor-metrics-dataplane-api-released/
This should be configurable so that end-users can choose this new API next to existing ARM API.
Component
Scraper
Contact Details
No response
The text was updated successfully, but these errors were encountered: