Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ class OpenTelemetryMetricAdapter {
static final double[] HISTOGRAM_QUANTILES = {0.5, 0.75, 0.95, 0.99};

static final InstrumentationScopeInfo INSTRUMENTATION_SCOPE_INFO =
InstrumentationScopeInfo.create("io.confluent.flink.common.metrics");
InstrumentationScopeInfo.create(
OpenTelemetryMetricAdapter.class.getPackage().getName());

public static Optional<MetricData> convertCounter(
CollectionMetadata collectionMetadata,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public void testReport() throws Exception {
JsonNode scopeMetrics =
json.findPath("resourceMetrics").findPath("scopeMetrics");
assertThat(scopeMetrics.findPath("scope").findPath("name").asText())
.isEqualTo("io.confluent.flink.common.metrics");
.isEqualTo("org.apache.flink.metrics.otel");
JsonNode metrics = scopeMetrics.findPath("metrics");

List<String> metricNames = extractMetricNames(json);
Expand Down