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

custom metrics_path #55

Closed
wen-long opened this issue Jul 19, 2024 · 2 comments
Closed

custom metrics_path #55

wen-long opened this issue Jul 19, 2024 · 2 comments

Comments

@wen-long
Copy link

wen-long commented Jul 19, 2024

custom metrics_path can be used as a weak auth method and other purpose

prometheus support

# The HTTP resource path on which to fetch metrics from targets.
[ metrics_path: [<path>](https://prometheus.io/docs/prometheus/latest/configuration/configuration/#path) | default = /metrics ]

some other exporter supports metrics_path
prometheus/exporter-toolkit#147
https://github.com/DLR-SC/repository-synergy/blob/115e48c37e659b144b2c3b89695483fd1d6dc788/data/readme_files/prometheus.snmp_exporter.md?plain=1#L50
https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/d865b6e7c113dcad1cbb3259eb7cb08855a48fb7/receiver/simpleprometheusreceiver/examples/federation/otel-collector-config.yml#L8
https://github.com/albertodonato/prometheus-aioexporter/blob/main/README.rst#exporter-command-line

@metanovii
Copy link

custom metrics_path can be used as a weak auth method and other purpose

prometheus support

# The HTTP resource path on which to fetch metrics from targets.
[ metrics_path: [<path>](https://prometheus.io/docs/prometheus/latest/configuration/configuration/#path) | default = /metrics ]

some other exporter supports metrics_path prometheus/exporter-toolkit#147 https://github.com/DLR-SC/repository-synergy/blob/115e48c37e659b144b2c3b89695483fd1d6dc788/data/readme_files/prometheus.snmp_exporter.md?plain=1#L50 https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/d865b6e7c113dcad1cbb3259eb7cb08855a48fb7/receiver/simpleprometheusreceiver/examples/federation/otel-collector-config.yml#L8 https://github.com/albertodonato/prometheus-aioexporter/blob/main/README.rst#exporter-command-line

#59

@syepes
Copy link
Owner

syepes commented Aug 1, 2024

#59

@syepes syepes closed this as completed Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants