-
Notifications
You must be signed in to change notification settings - Fork 35
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 a flag for choosing metrics implementation #836
Conversation
...mon/src/main/java/com/splunk/opentelemetry/instrumentation/MetricsInstrumentationModule.java
Outdated
Show resolved
Hide resolved
// implementation in the next release."); | ||
|
||
// by default no otel metrics are exported | ||
addIfAbsent(builder, config, "otel.metrics.exporter", "none"); |
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.
This will enable otel metrics if splunk.metrics.implementation
is set to opentelemetry
, even if splunk.metrics.enabled
is false (same for the list of instrumentations below).
Perhaps we should keep them all disabled in defaultProperties()
and only enable them when a particular implementation is chosen and metrics are enabled?
…instrumentation/MetricsInstrumentationModule.java Co-authored-by: Mateusz Rzeszutek <[email protected]>
…ion.java Co-authored-by: Mateusz Rzeszutek <[email protected]>
No description provided.