Skip to content
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

Merged
merged 11 commits into from
Jul 13, 2022

Conversation

laurit
Copy link
Collaborator

@laurit laurit commented Jul 5, 2022

No description provided.

@laurit laurit marked this pull request as ready for review July 11, 2022 12:56
@laurit laurit requested review from a team as code owners July 11, 2022 12:56
// implementation in the next release.");

// by default no otel metrics are exported
addIfAbsent(builder, config, "otel.metrics.exporter", "none");
Copy link
Contributor

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]>
@laurit laurit merged commit 0156902 into signalfx:main Jul 13, 2022
@laurit laurit deleted the metrics-flag branch July 13, 2022 11:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants