Skip to content

Commit

Permalink
fix(deps): update dependency io.prometheus:prometheus-metrics-exporte…
Browse files Browse the repository at this point in the history
…r-httpserver to v1.3.4 (#6907)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jack Berg <jberg@newrelic.com>
  • Loading branch information
renovate[bot] and jack-berg authored Dec 3, 2024
1 parent d61a5c3 commit 0ef86fa
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion dependencyManagement/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ val mockitoVersion = "4.11.0"
val slf4jVersion = "2.0.16"
val opencensusVersion = "0.31.1"
val prometheusClientVersion = "0.16.0"
val prometheusServerVersion = "1.3.4"

val DEPENDENCIES = listOf(
"com.google.auto.value:auto-value:${autoValueVersion}",
Expand All @@ -52,6 +53,8 @@ val DEPENDENCIES = listOf(
"org.slf4j:slf4j-simple:${slf4jVersion}",
"org.slf4j:jul-to-slf4j:${slf4jVersion}",
"io.prometheus:prometheus-metrics-shaded-protobuf:1.3.1",
"io.prometheus:prometheus-metrics-exporter-httpserver:${prometheusServerVersion}",
"io.prometheus:prometheus-metrics-exposition-formats:${prometheusServerVersion}",
"io.prometheus:simpleclient:${prometheusClientVersion}",
"io.prometheus:simpleclient_common:${prometheusClientVersion}",
"io.prometheus:simpleclient_httpserver:${prometheusClientVersion}",
Expand All @@ -72,7 +75,6 @@ val DEPENDENCIES = listOf(
"io.opentelemetry.proto:opentelemetry-proto:1.4.0-alpha",
"io.opentracing:opentracing-api:0.33.0",
"io.opentracing:opentracing-noop:0.33.0",
"io.prometheus:prometheus-metrics-exporter-httpserver:1.3.3",
"junit:junit:4.13.2",
"nl.jqno.equalsverifier:equalsverifier:3.17.3",
"org.awaitility:awaitility:4.2.2",
Expand Down
1 change: 1 addition & 0 deletions exporters/prometheus/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ dependencies {
testImplementation(project(":sdk:testing"))
testImplementation("io.opentelemetry.proto:opentelemetry-proto")
testImplementation("io.prometheus:prometheus-metrics-shaded-protobuf")
testImplementation("io.prometheus:prometheus-metrics-exposition-formats")
testImplementation("com.sun.net.httpserver:http")
testImplementation("com.google.guava:guava")
testImplementation("com.linecorp.armeria:armeria")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
import io.opentelemetry.sdk.resources.Resource;
import io.prometheus.metrics.exporter.httpserver.HTTPServer;
import io.prometheus.metrics.exporter.httpserver.MetricsHandler;
import io.prometheus.metrics.expositionformats.generated.com_google_protobuf_4_28_2.Metrics;
import io.prometheus.metrics.expositionformats.generated.com_google_protobuf_4_28_3.Metrics;
import io.prometheus.metrics.model.registry.PrometheusRegistry;
import io.prometheus.metrics.shaded.com_google_protobuf_4_28_3.TextFormat;
import java.io.ByteArrayInputStream;
Expand Down

0 comments on commit 0ef86fa

Please sign in to comment.