Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):
OpenSearch 2.9.0
Plugin Version 2.9.0
Describe the issue:
I have installed opensearch plugin prometheus-exporter-plugin-for-opensearch
I cannot see metrics from curl and prometheus does not scrape metrics.
Let me know how can i solve the problem
Metrics are directly available at:
http(s)://{opensearch-host}:9200/_prometheus/metrics
Is it right? {opensearch-host} = opensearch-cluster-master.{namespace}.{cluster}
Configuration:
- Opensearch
plugins:
enabled: true
installList:
- Prometheus
- job_name: opensearch
scrape_interval: 10s
metrics_path: “/_prometheus/metrics”
static_configs:- targets:
- opensearch-host:9200
- targets:
Relevant Logs or Screenshots:
Prometheus Error
Get “http://{opensearch-host}:9200/_prometheus/metrics”: EOF