opensearch-project / alerting-dashboards-plugin

📟 Manage your monitors, alerts and notifications in OpenSearch Dashboards
https://opensearch.org/docs/latest/monitoring-plugins/alerting/index/
Apache License 2.0
25 stars 86 forks source link

How to generate index of Prometheus in OpenSearch Dashboard? #1044

Open Ommkwn2001 opened 1 month ago

Ommkwn2001 commented 1 month ago

Please describe the end goal of this project

how to index are create without dot and all Prometheus data are get in the index and i choose the index in the CREATE MONITOR > “Select data”…

Supporting References

I am using OpenSearch-Dashboard and Prometheus. So in the OpenSearch dashboard i connect a Prometheus with this method :

POST _plugins/_query/_datasources { "name" : "my_prometheus", "connector": "prometheus", "properties" : { "prometheus.uri" : "http://prometheus-server.default.svc.cluster.local:80" } }

Issues

So the Prometheus is connected and get data matrices in the OpenSearch dashboard and the index are also create in MANAGEMENT > INDEXE MANAGEMENT > INDEXES in this INDEXES the index name is ".ql-datasources".

So i want alerting so i go to the OPEN SEARCHE PLUGGINGS > ALERTING > MONITORS > CREATE MONITOR in this case the dashboard are open for details.

In the CREATE MONITOR dashboard the one detail is "Select data" in this data i choose the index of Prometheus but there are not any ".ql-datasources" index are available in the Select data there are no any another ". ...." dot start index name are available.

Related component

Plugins

dblock commented 1 month ago

Moving this to alerting.

Ommkwn2001 commented 1 month ago

@dblock sorry sir, i can't understand

dblock commented 2 weeks ago

Can someone from this repo please take a look?

@Ommkwn2001 I am not sure this is a bug, maybe try asking on the public OpenSearch slack?

dblock commented 2 weeks ago

[Catch All Triage - 1, 2, 3, 4, 5]