Skip to content

Commit 8444ae9

Browse files
committed
Merge branch 'main' into ftorres/utf-8
2 parents b5260be + 0ee705c commit 8444ae9

File tree

22 files changed

+1175
-946
lines changed

22 files changed

+1175
-946
lines changed

.tool-versions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
java temurin-17.0.13+11
2-
protoc 29.2
2+
protoc 29.3

RELEASING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Create a Release
1+
## Create a Release
22

33
1. Go to https://github.com/prometheus/client_java/releases/new
44
2. Click on "Choose a tag", enter the tag name (e.g. `v0.1.0`), and click "Create a new tag".

docs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ rm -r ./docs/static/api
3131
mv ./target/site/apidocs ./docs/static/api
3232
```
3333

34-
Github pages are in the `/client_java/` folder, so we link to `/client_java/api` rather than `/api`.
34+
Github pages are in the `/client_java/` folder, so we link to `/client_java/api` rather than `/api`.
3535
To make JavaDoc work locally, create a link:
3636

3737
```

docs/content/getting-started/multi-target.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,12 +103,12 @@ Sample Prometheus scrape_config
103103
- source_labels: [__param_target]
104104
target_label: instance
105105
- target_label: __address__
106-
replacement: localhost:9401
106+
replacement: localhost:9401
107107
static_configs:
108108
- targets: ["target1", "target2"]
109109
```
110110
It's up to the specific MultiCollector implementation how to interpret the _target_ parameter.
111111
It might be an explicit real target (i.e. via host name/ip address) or as an alias in some internal configuration.
112112
The latter is more suitable when the MultiCollector implementation is a proxy (see https://github.com/prometheus/snmp_exporter)
113113
In this case, invoking real target might require extra parameters (e.g. credentials) that might be complex to manage in Prometheus configuration
114-
(not considering the case where the proxy might become an "open relay")
114+
(not considering the case where the proxy might become an "open relay")

docs/content/getting-started/quickstart.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ There are alternative exporters as well, for example if you are using a Servlet
4747

4848
{{< hint type=note >}}
4949

50-
If you do not use the protobuf exposition format, you can
50+
If you do not use the protobuf exposition format, you can
5151
[exclude](../../exporters/formats#exclude-protobuf-exposition-format)
52-
it from the dependencies.
52+
it from the dependencies.
5353

5454
{{< /hint >}}
5555

examples/example-exporter-servlet-tomcat/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ The exporter servlet supports a `debug` URL parameter to quickly view other form
6464
```shell
6565
./prometheus --enable-feature=native-histograms --enable-feature=exemplar-storage
6666
```
67-
67+
6868
Verify that the `tomcat-servlet-example` target is up on [http://localhost:9090/targets](http://localhost:9090/targets).
6969

7070
Prometheus is now scraping metrics in Protobuf format. If you type the name `request_duration_seconds` you will see a non-human-readable representation of the histogram including the native buckets:

integration-tests/it-common/src/test/java/io/prometheus/client/it/common/ExporterTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import static org.assertj.core.api.Assertions.assertThat;
55
import static org.assertj.core.api.Assertions.fail;
66

7-
import io.prometheus.metrics.expositionformats.generated.com_google_protobuf_4_29_2.Metrics;
7+
import io.prometheus.metrics.expositionformats.generated.com_google_protobuf_4_29_3.Metrics;
88
import java.io.ByteArrayInputStream;
99
import java.io.IOException;
1010
import java.io.InputStream;

integration-tests/it-exporter/it-exporter-test/src/test/java/io/prometheus/metrics/it/exporter/test/ExporterIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
import com.google.common.io.Resources;
77
import io.prometheus.client.it.common.ExporterTest;
8-
import io.prometheus.metrics.expositionformats.generated.com_google_protobuf_4_29_2.Metrics;
8+
import io.prometheus.metrics.expositionformats.generated.com_google_protobuf_4_29_3.Metrics;
99
import java.io.IOException;
1010
import java.net.URISyntaxException;
1111
import java.net.URLEncoder;

integration-tests/it-spring-boot-smoke-test/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
<plugin>
7878
<groupId>com.diffplug.spotless</groupId>
7979
<artifactId>spotless-maven-plugin</artifactId>
80-
<version>2.44.1</version>
80+
<version>2.44.2</version>
8181
<configuration>
8282
<java>
8383
<googleJavaFormat/>

integration-tests/it-spring-boot-smoke-test/src/test/java/io/prometheus/metrics/it/springboot/ApplicationTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import static org.assertj.core.api.Assertions.assertThat;
44

55
import io.prometheus.client.it.common.ExporterTest;
6-
import io.prometheus.metrics.expositionformats.generated.com_google_protobuf_4_29_2.Metrics;
6+
import io.prometheus.metrics.expositionformats.generated.com_google_protobuf_4_29_3.Metrics;
77
import java.io.IOException;
88
import java.net.URL;
99
import java.util.List;

0 commit comments

Comments
 (0)