Skip to content

Commit 68eda71

Browse files
committed
Fix CollectorIntegrationTest
1 parent e1d4e04 commit 68eda71

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

exporters/prometheus/src/test/java/io/opentelemetry/exporter/prometheus/CollectorIntegrationTest.java

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -134,13 +134,6 @@ void endToEnd() {
134134
// Resource attributes derived from the prometheus scrape config
135135
stringKeyValue("service.name", "app"),
136136
stringKeyValue("service.instance.id", "host.testcontainers.internal:" + prometheusPort),
137-
// net.host.name, net.host.port and http.scheme are superseded by server.address,
138-
// server.port, and url.scheme respectively and will be removed by default in a future
139-
// collector release
140-
// https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/32829
141-
stringKeyValue("net.host.name", "host.testcontainers.internal"),
142-
stringKeyValue("net.host.port", String.valueOf(prometheusPort)),
143-
stringKeyValue("http.scheme", "http"),
144137
stringKeyValue("server.address", "host.testcontainers.internal"),
145138
stringKeyValue("server.port", String.valueOf(prometheusPort)),
146139
stringKeyValue("url.scheme", "http"),

0 commit comments

Comments
 (0)