Skip to content

Commit

Permalink
Removed trailing whitespace (#1261)
Browse files Browse the repository at this point in the history
Signed-off-by: dhoard <[email protected]>
  • Loading branch information
dhoard authored Jan 17, 2025
1 parent 93bcef9 commit e05ca38
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion RELEASING.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Create a Release
## Create a Release

1. Go to https://github.com/prometheus/client_java/releases/new
2. Click on "Choose a tag", enter the tag name (e.g. `v0.1.0`), and click "Create a new tag".
Expand Down
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ rm -r ./docs/static/api
mv ./target/site/apidocs ./docs/static/api
```

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

```
Expand Down
4 changes: 2 additions & 2 deletions docs/content/getting-started/multi-target.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,12 +103,12 @@ Sample Prometheus scrape_config
- source_labels: [__param_target]
target_label: instance
- target_label: __address__
replacement: localhost:9401
replacement: localhost:9401
static_configs:
- targets: ["target1", "target2"]
```
It's up to the specific MultiCollector implementation how to interpret the _target_ parameter.
It might be an explicit real target (i.e. via host name/ip address) or as an alias in some internal configuration.
The latter is more suitable when the MultiCollector implementation is a proxy (see https://github.com/prometheus/snmp_exporter)
In this case, invoking real target might require extra parameters (e.g. credentials) that might be complex to manage in Prometheus configuration
(not considering the case where the proxy might become an "open relay")
(not considering the case where the proxy might become an "open relay")
4 changes: 2 additions & 2 deletions docs/content/getting-started/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ There are alternative exporters as well, for example if you are using a Servlet

{{< hint type=note >}}

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

{{< /hint >}}

Expand Down
2 changes: 1 addition & 1 deletion examples/example-exporter-servlet-tomcat/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ The exporter servlet supports a `debug` URL parameter to quickly view other form
```shell
./prometheus --enable-feature=native-histograms --enable-feature=exemplar-storage
```

Verify that the `tomcat-servlet-example` target is up on [http://localhost:9090/targets](http://localhost:9090/targets).

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:
Expand Down

0 comments on commit e05ca38

Please sign in to comment.