Apache Solr open-source search software
Update io.prometheus:* to v0.16.0 (#1419)
Solr Bot8111586a936e
diff --git a/solr/licenses/simpleclient-0.16.0.jar.sha1 b/solr/licenses/simpleclient-0.16.0.jar.sha1new file mode 100644index 00000000000..837c12a3bef--- /dev/null+++ b/solr/licenses/simpleclient-0.16.0.jar.sha1@@ -0,0 +1 @@+28b0eaf7c500c506976da8d0fc9cad6c278e8d87diff --git a/solr/licenses/simpleclient-0.2.0.jar.sha1 b/solr/licenses/simpleclient-0.2.0.jar.sha1deleted file mode 100644index ce8b16fb377..00000000000--- a/solr/licenses/simpleclient-0.2.0.jar.sha1+++ /dev/null@@ -1 +0,0 @@-be8de6a5a01f25074be3b27a8db4448c9cce0168diff --git a/solr/licenses/simpleclient_common-0.16.0.jar.sha1 b/solr/licenses/simpleclient_common-0.16.0.jar.sha1new file mode 100644index 00000000000..4b9f4251f45--- /dev/null+++ b/solr/licenses/simpleclient_common-0.16.0.jar.sha1@@ -0,0 +1 @@+a09a8c790a20309b942a9fdbfe77da22407096e6diff --git a/solr/licenses/simpleclient_common-0.2.0.jar.sha1 b/solr/licenses/simpleclient_common-0.2.0.jar.sha1deleted file mode 100644index 1e1c2e94733..00000000000--- a/solr/licenses/simpleclient_common-0.2.0.jar.sha1+++ /dev/null@@ -1 +0,0 @@-42d513358b26ae44137c620fa517d37b5e707ae1diff --git a/solr/licenses/simpleclient_httpserver-0.16.0.jar.sha1 b/solr/licenses/simpleclient_httpserver-0.16.0.jar.sha1new file mode 100644index 00000000000..c4a863ea39b--- /dev/null+++ b/solr/licenses/simpleclient_httpserver-0.16.0.jar.sha1@@ -0,0 +1 @@+2c23f53ca22d7d8885fc4522ddcadcfe7f01a783diff --git a/solr/licenses/simpleclient_httpserver-0.2.0.jar.sha1 b/solr/licenses/simpleclient_httpserver-0.2.0.jar.sha1deleted file mode 100644index 7d188b52e3f..00000000000--- a/solr/licenses/simpleclient_httpserver-0.2.0.jar.sha1+++ /dev/null@@ -1 +0,0 @@-f644860c08c787821c8c7ce78c408cea187fe1a3diff --git a/solr/prometheus-exporter/build.gradle b/solr/prometheus-exporter/build.gradleindex 843932dbc73..a64fa08147d 100644--- a/solr/prometheus-exporter/build.gradle+++ b/solr/prometheus-exporter/build.gradle@@ -28,8 +28,16 @@ dependencies {exclude group: "org.apache.yetus", module: "audience-annotations"})- implementation ('io.prometheus:simpleclient')- implementation ('io.prometheus:simpleclient_httpserver')+ implementation ('io.prometheus:simpleclient', {+ exclude group: "io.prometheus", module: "simpleclient_tracer_common"+ exclude group: "io.prometheus", module: "simpleclient_tracer_otel"+ exclude group: "io.prometheus", module: "simpleclient_tracer_otel_agent"+ })+ implementation ('io.prometheus:simpleclient_httpserver', {+ exclude group: "io.prometheus", module: "simpleclient_tracer_common"+ exclude group: "io.prometheus", module: "simpleclient_tracer_otel"+ exclude group: "io.prometheus", module: "simpleclient_tracer_otel_agent"+ })implementation ('net.thisptr:jackson-jq', {exclude group: "org.jruby.joni", module: "joni"exclude group: "com.fasterxml.jackson.core", module: "jackson-databind"diff --git a/solr/prometheus-exporter/src/test/org/apache/solr/prometheus/exporter/SolrExporterIntegrationTest.java b/solr/prometheus-exporter/src/test/org/apache/solr/prometheus/exporter/SolrExporterIntegrationTest.javaindex f4965b54ef9..4620a08eae1 100644--- a/solr/prometheus-exporter/src/test/org/apache/solr/prometheus/exporter/SolrExporterIntegrationTest.java+++ b/solr/prometheus-exporter/src/test/org/apache/solr/prometheus/exporter/SolrExporterIntegrationTest.java@@ -57,8 +57,8 @@ public class SolrExporterIntegrationTest extends SolrExporterTestBase {assertTrue(durationHistogram.get("solr_exporter_duration_seconds_count") > 0);assertTrue(durationHistogram.get("solr_exporter_duration_seconds_sum") > 0);- // 17 = (15 buckets in the histogram) + (count metric) + (sum metric)- assertEquals(17, durationHistogram.size());+ // 18 = (15 buckets in the histogram) + (count metric) + (sum metric) + (created metric)+ assertEquals(18, durationHistogram.size());}@Testdiff --git a/versions.lock b/versions.lockindex 16ffbb690f3..0d4d7505860 100644--- a/versions.lock+++ b/versions.lock@@ -144,9 +144,9 @@ io.opentracing:opentracing-api:0.33.0 (5 constraints: 7244331d)io.opentracing:opentracing-noop:0.33.0 (4 constraints: 48361e21)io.opentracing:opentracing-util:0.33.0 (2 constraints: 5013be5a)io.perfmark:perfmark-api:0.26.0 (3 constraints: 1f210916)-io.prometheus:simpleclient:0.2.0 (3 constraints: fe242db8)-io.prometheus:simpleclient_common:0.2.0 (1 constraints: e51014af)-io.prometheus:simpleclient_httpserver:0.2.0 (1 constraints: 0405f135)+io.prometheus:simpleclient:0.16.0 (3 constraints: 9d257513)+io.prometheus:simpleclient_common:0.16.0 (1 constraints: 1a1139c0)+io.prometheus:simpleclient_httpserver:0.16.0 (1 constraints: 3905353b)io.sgr:s2-geometry-library-java:1.0.0 (1 constraints: b0107fb9)io.swagger.core.v3:swagger-annotations:2.2.8 (1 constraints: 0e050336)jakarta.activation:jakarta.activation-api:1.2.2 (2 constraints: bb282bbe)diff --git a/versions.props b/versions.propsindex be0736611cb..52be0f6abba 100644--- a/versions.props+++ b/versions.props@@ -24,7 +24,7 @@ io.grpc:grpc-*=1.51.0io.netty:*=4.1.89.Finalio.opentelemetry:opentelemetry-bom-alpha=1.21.0-alphaio.opentracing:*=0.33.0-io.prometheus:*=0.2.0+io.prometheus:*=0.16.0io.swagger.core.v3:*=2.2.8jakarta.ws.rs:jakarta.ws.rs-api=2.1.6joda-time:joda-time=2.12.2