open-telemetry / opentelemetry.io

The OpenTelemetry website and documentation
https://opentelemetry.io
Creative Commons Attribution 4.0 International
538 stars 1.19k forks source link

Wrong `PrometheusHttpServer` link in js exporters documentation #5018

Closed chenlujjj closed 2 months ago

chenlujjj commented 2 months ago

In the doc, https://opentelemetry.io/docs/languages/js/exporters/#prometheus, the PrometheusHttpServer points to a javadoc web page. I think it's a mistake.

image

theletterf commented 2 months ago

Thanks @chenlujjj. That seems to be a mistake, yes. Do you happen to know what the right page should be? @open-telemetry/javascript-approvers ?

chenlujjj commented 2 months ago

@theletterf I think it should be https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/opentelemetry-exporter-prometheus

svrnm commented 2 months ago

To stay consistent with other languages and pages, I recommend linking to the JS API/SDK docs @ https://open-telemetry.github.io/opentelemetry-js/classes/_opentelemetry_exporter_prometheus.PrometheusExporter.html