Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed trailing whitespace #1261

Merged
merged 1 commit into from
Jan 17, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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