-
Notifications
You must be signed in to change notification settings - Fork 119
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
Exposing internal metrics #145
Conversation
Codecov Report
@@ Coverage Diff @@
## main #145 +/- ##
===========================================
+ Coverage 39.56% 76.30% +36.73%
===========================================
Files 32 34 +2
Lines 2219 2304 +85
===========================================
+ Hits 878 1758 +880
+ Misses 1284 406 -878
- Partials 57 140 +83
Flags with carried forward coverage won't be shown. Click here to find out more.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Nice, scraping the scraper :)
I'm not sure about the test failures, seems like some sort of setup issue? |
* Started infrastructure for internal metrics * Prometheus internal metrics export. Not yet tested nor documented * integration tests * Fix Prometheus instrumentation when Prometheus traces exporter is not set * flaky test * fix flaky test again
It exposes, as Prometheus metrics, a single metric: the number of flushed traces from the different eBPF traces.
It required moving the Prometheus server to another element (the connection.PrometheusManager), which will expose prometheus metrics from different places, using the same port and path, or different ones, depending on the preferences/configuration from the users.
It is still missing: