File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
exporters/prometheus/src/test/java/io/opentelemetry/exporter/prometheus Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -179,12 +179,13 @@ void endToEnd() {
179
179
NumberDataPoint requestTotalDataPoint = requestTotalSum .getDataPoints (0 );
180
180
assertThat (requestTotalDataPoint .getAsDouble ()).isEqualTo (3.0 );
181
181
assertThat (requestTotalDataPoint .getAttributesList ())
182
- .containsExactlyInAnyOrder (
183
- stringKeyValue ("animal" , "bear" ),
184
- // Scope name and version are serialized as attributes to disambiguate metrics with the
185
- // same name in different scopes
186
- stringKeyValue ("otel_scope_name" , "test" ),
187
- stringKeyValue ("otel_scope_version" , "1.0.0" ));
182
+ .containsExactlyInAnyOrder (stringKeyValue ("animal" , "bear" ));
183
+ // Scope name and version are serialized as attributes to disambiguate metrics with the
184
+ // same name in different scopes
185
+ // TODO: potentially add these back or remove entirely, see
186
+ // https://github.com/open-telemetry/opentelemetry-java/issues/7544
187
+ // stringKeyValue("otel_scope_name", "test"),
188
+ // stringKeyValue("otel_scope_version", "1.0.0"));
188
189
}
189
190
190
191
private static KeyValue stringKeyValue (String key , String value ) {
You can’t perform that action at this time.
0 commit comments