-
Notifications
You must be signed in to change notification settings - Fork 114
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
Add option for direct Beyla spanmetric generation #731
Conversation
pkg/internal/export/otel/metrics.go
Outdated
@@ -46,6 +50,7 @@ const ( | |||
|
|||
FeatureNetwork = "network" | |||
FeatureApplication = "application" | |||
FeatureSpan = "span" |
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.
Being picky here. Isn't "span" a subset of "application" feature?
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.
I think you are right :), what should I call it? Maybe trace_span_metrics
? Technically the application
now is application_otel
the new one is application_trace_span_metrics
.
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.
Looking at it twice, I think it's fine just span
or application_span
.
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.
I like application_span
a lot, thanks for the suggestion. It will remove confusion from the network metrics.
From the current integration test failure, it seems I have two choices, implement this for Prometheus scraping or limit the tests to not run this path when we Prom scape. I'm leaning towards adjusting the tests, because without pushing OTel metrics and directly scraping from Beyla, I think we may not get the needed labels (like, job and instance) which are required for proper visualization. |
Adds configuration option to generate span metrics directly from Beyla, allowing tools which use span metrics for visualization to consume data directly from Beyla.
Span graphs will be done through separate PR
TODO: