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

Handle kafka METRIC_REPORTER_CLASSES_CONFIG being set to a List #9155

Merged
merged 2 commits into from
Aug 9, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
add comment
  • Loading branch information
laurit committed Aug 8, 2023
commit 872ffa6eed3a7928f2dda69720120e4f203831bb
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ public static Instrumenter<KafkaProcessRequest, Void> consumerProcessInstrumente

@SuppressWarnings("unchecked")
public static void enhanceConfig(Map<? super String, Object> config) {
// skip enhancing configuration when metrics are disabled or when we have already enhanced it
if (!METRICS_ENABLED
|| config.get(OpenTelemetryMetricsReporter.CONFIG_KEY_OPENTELEMETRY_INSTRUMENTATION_NAME)
!= null) {
Expand Down
Loading