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

Move kafka metrics to separate instrumentation module #9862

Merged
merged 2 commits into from
Nov 16, 2023

Conversation

laurit
Copy link
Contributor

@laurit laurit commented Nov 14, 2023

Resolves #9518
This should allow users to disable tracing for kafka but enable metrics.

@laurit laurit requested a review from a team as a code owner November 14, 2023 10:14

public final class KafkaMetricsUtil {
private static final String INSTRUMENTATION_NAME = "io.opentelemetry.kafka-clients-0.11";
private static final boolean METRICS_ENABLED =
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we remove this or keep it for backwards compatibility?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deprecate, remove in the next release?


public final class KafkaMetricsUtil {
private static final String INSTRUMENTATION_NAME = "io.opentelemetry.kafka-clients-0.11";
private static final boolean METRICS_ENABLED =
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deprecate, remove in the next release?

@laurit laurit merged commit 977a6f9 into open-telemetry:main Nov 16, 2023
47 checks passed
@laurit laurit deleted the kafka-metrics branch November 16, 2023 11:52
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.

Split kafka metrics bridge into its own instrumentation
2 participants