You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/content/exporters/formats.md
+6-2Lines changed: 6 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,11 +13,15 @@ Moreover, gzip encoding is supported for each of these formats.
13
13
14
14
## Scraping with a Prometheus server
15
15
16
-
The Prometheus server sends an `Accept` header to specify which format is requested. By default, the Prometheus server will scrape OpenMetrics text format with gzip encoding. If the Prometheus server is started with `--enable-feature=native-histograms`, it will scrape Prometheus protobuf format instead.
16
+
The Prometheus server sends an `Accept` header to specify which format is requested. By default, the
17
+
Prometheus server will scrape OpenMetrics text format with gzip encoding. If the Prometheus server
18
+
is started with `--enable-feature=native-histograms`, it will scrape Prometheus protobuf format
19
+
instead.
17
20
18
21
## Viewing with a Web Browser
19
22
20
-
If you view the `/metrics` endpoint with your Web browser you will see Prometheus text format. For quick debugging of the other formats, exporters provide a `debug` URL parameter:
23
+
If you view the `/metrics` endpoint with your Web browser you will see Prometheus text format. For
24
+
quick debugging of the other formats, exporters provide a `debug` URL parameter:
21
25
22
26
-`/metrics?debug=openmetrics`: View OpenMetrics text format.
23
27
-`/metrics?debug=text`: View Prometheus text format.
Copy file name to clipboardExpand all lines: docs/content/exporters/pushgateway.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -115,4 +115,4 @@ The `PushGatewayTestApp` in `integration-tests/it-pushgateway` has a complete ex
115
115
## Configuration Properties
116
116
117
117
The [PushGateway](/client_java/api/io/prometheus/metrics/exporter/pushgateway/PushGateway.html) supports a couple of properties that can be configured at runtime.
118
-
See [config](../config/config.md).
118
+
See [config]({{< relref "../config/config.md" >}}).
0 commit comments