Skip to content

Commit

Permalink
Bump prometheus client version from 0.15.0 to 0.16.0 (#16591)
Browse files Browse the repository at this point in the history
### Motivation
prometheus client 0.16.0 contains some approvements that we can benefit from. Thanks for @dave2wave @michaeljmarshall  the reminder and pointing out.

> [ENHANCEMENT] Reduce the number of core threads in HTTPServer from 5 to 1. The HTTPServer will still start up to 5 threads on demand if there are parallel requests, but it will use only 1 thread as long as requests are sequential (prometheus/client_java#786).
[ENHANCEMENT] Optimize metric name sanitization: Replace the regular expression with a hard-coded optimized algorithm to improve performance (prometheus/client_java#777). Thanks @fwbrasil

See https://github.com/prometheus/client_java/releases

### Modifications

Bump prometheus client version from 0.15.0 to 0.16.0

### Documentation

Check the box below or label this PR directly.

Need to update docs?

- [x] `doc-not-needed`
dependency updates, no need doc

(cherry picked from commit 948000b)
  • Loading branch information
hezhangjian authored and Jason918 committed Sep 2, 2022
1 parent 329db09 commit 69332a0
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 22 deletions.
26 changes: 13 additions & 13 deletions distribution/server/src/assemble/LICENSE.bin.txt
Original file line number Diff line number Diff line change
Expand Up @@ -379,18 +379,18 @@ The Apache Software License, Version 2.0
- io.netty-netty-tcnative-classes-2.0.52.Final.jar
* Prometheus client
- io.prometheus.jmx-collector-0.16.1.jar
- io.prometheus-simpleclient-0.15.0.jar
- io.prometheus-simpleclient_caffeine-0.15.0.jar
- io.prometheus-simpleclient_common-0.15.0.jar
- io.prometheus-simpleclient_hotspot-0.15.0.jar
- io.prometheus-simpleclient_httpserver-0.15.0.jar
- io.prometheus-simpleclient_jetty-0.15.0.jar
- io.prometheus-simpleclient_log4j2-0.15.0.jar
- io.prometheus-simpleclient_servlet-0.15.0.jar
- io.prometheus-simpleclient_servlet_common-0.15.0.jar
- io.prometheus-simpleclient_tracer_common-0.15.0.jar
- io.prometheus-simpleclient_tracer_otel-0.15.0.jar
- io.prometheus-simpleclient_tracer_otel_agent-0.15.0.jar
- io.prometheus-simpleclient-0.16.0.jar
- io.prometheus-simpleclient_caffeine-0.16.0.jar
- io.prometheus-simpleclient_common-0.16.0.jar
- io.prometheus-simpleclient_hotspot-0.16.0.jar
- io.prometheus-simpleclient_httpserver-0.16.0.jar
- io.prometheus-simpleclient_jetty-0.16.0.jar
- io.prometheus-simpleclient_log4j2-0.16.0.jar
- io.prometheus-simpleclient_servlet-0.16.0.jar
- io.prometheus-simpleclient_servlet_common-0.16.0.jar
- io.prometheus-simpleclient_tracer_common-0.16.0.jar
- io.prometheus-simpleclient_tracer_otel-0.16.0.jar
- io.prometheus-simpleclient_tracer_otel_agent-0.16.0.jar
* Jakarta Bean Validation API
- jakarta.validation-jakarta.validation-api-2.0.2.jar
- javax.validation-validation-api-1.1.0.Final.jar
Expand Down Expand Up @@ -513,7 +513,7 @@ The Apache Software License, Version 2.0
- io.dropwizard.metrics-metrics-graphite-3.2.5.jar
- io.dropwizard.metrics-metrics-jvm-3.2.5.jar
* Prometheus
- io.prometheus-simpleclient_httpserver-0.15.0.jar
- io.prometheus-simpleclient_httpserver-0.16.0.jar
* Java JSON WebTokens
- io.jsonwebtoken-jjwt-api-0.11.1.jar
- io.jsonwebtoken-jjwt-impl-0.11.1.jar
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ flexible messaging model and an intuitive client API.</description>
<conscrypt.version>2.5.2</conscrypt.version>
<jersey.version>2.34</jersey.version>
<athenz.version>1.10.50</athenz.version>
<prometheus.version>0.15.0</prometheus.version>
<prometheus.version>0.16.0</prometheus.version>
<vertx.version>3.9.8</vertx.version>
<rocksdb.version>6.10.2</rocksdb.version>
<slf4j.version>1.7.32</slf4j.version>
Expand Down
16 changes: 8 additions & 8 deletions pulsar-sql/presto-distribution/LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -423,14 +423,14 @@ The Apache Software License, Version 2.0
- metrics-graphite-3.2.5.jar
- metrics-jvm-3.2.5.jar
* Prometheus
- simpleclient-0.15.0.jar
- simpleclient_common-0.15.0.jar
- simpleclient_hotspot-0.15.0.jar
- simpleclient_servlet-0.15.0.jar
- simpleclient_servlet_common-0.15.0.jar
- simpleclient_tracer_common-0.15.0.jar
- simpleclient_tracer_otel-0.15.0.jar
- simpleclient_tracer_otel_agent-0.15.0.jar
- simpleclient-0.16.0.jar
- simpleclient_common-0.16.0.jar
- simpleclient_hotspot-0.16.0.jar
- simpleclient_servlet-0.16.0.jar
- simpleclient_servlet_common-0.16.0.jar
- simpleclient_tracer_common-0.16.0.jar
- simpleclient_tracer_otel-0.16.0.jar
- simpleclient_tracer_otel_agent-0.16.0.jar
* JCTools
- jctools-core-2.1.2.jar
* Asynchronous Http Client
Expand Down

0 comments on commit 69332a0

Please sign in to comment.