Skip to content

Commit

Permalink
Update link to PrometheusHttpServer in prometheus-setup.md (#5038)
Browse files Browse the repository at this point in the history
Co-authored-by: opentelemetrybot <[email protected]>
  • Loading branch information
theletterf and opentelemetrybot authored Aug 14, 2024
1 parent 73a9d6d commit 72a9e28
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@

To send your metric data to [Prometheus](https://prometheus.io/), you can either
[enable Prometheus' OTLP Receiver](https://prometheus.io/docs/prometheus/latest/feature_flags/#otlp-receiver)
and use the [OTLP exporter](#otlp) or you can use the
[`PrometheusHttpServer`](https://javadoc.io/doc/io.opentelemetry/opentelemetry-exporter-prometheus/latest/io/opentelemetry/exporter/prometheus/PrometheusHttpServer.html),
a `MetricReader`, that starts an HTTP server that will collect metrics and
serialize to Prometheus text format on request.
and use the [OTLP exporter](#otlp) or you can use the Prometheus exporter, a
`MetricReader` that starts an HTTP server that collects metrics and serialize to
Prometheus text format on request.

### Backend Setup {#prometheus-setup}

Expand Down
4 changes: 4 additions & 0 deletions static/refcache.json
Original file line number Diff line number Diff line change
Expand Up @@ -6675,6 +6675,10 @@
"StatusCode": 206,
"LastSeen": "2024-01-18T19:07:28.680974-05:00"
},
"https://open-telemetry.github.io/opentelemetry-js/classes/_opentelemetry_exporter_prometheus.PrometheusExporter.html": {
"StatusCode": 206,
"LastSeen": "2024-08-14T08:01:01.892463087Z"
},
"https://open-telemetry.github.io/opentelemetry-js/interfaces/_opentelemetry_api.Tracer.html#startActiveSpan": {
"StatusCode": 206,
"LastSeen": "2024-01-30T06:06:08.253674-05:00"
Expand Down

0 comments on commit 72a9e28

Please sign in to comment.