Hello everyone, in the screenshot below you can see my prometheus metrics in my cluster.
My goal is to bring my metrics in the other cluster to opensearch here. How can I do this?
hey did u find a way to do it?
I found prometheus remote write also ı opened a discussion for that but nobody answer yet.
is it possible to connect more than one prometheus data source to opensearch? because only metrics from the last added cluster is pulled after adding multiple data sources.
If you open the other prometheus metric service to the public, you can add it as a data source, but I do not recommend doing this.
were u able to connect it by making it public?
yes
how do you view the metrics after adding more than one prometheus data source? i can only view metrics from the last added promethues data source no matter which data source i select
Configure and paste the following information into dev tools, then search for second_prometheus in dashboard metric.
POST _plugins/_query/_datasources
{
"name" : "second_prometheus",
"connector": "prometheus",
"properties" : {
"prometheus.uri" : "https://url:443"
}
}
Thank you, and r u running opensearch on a kubernetes cluster?
Yes
awesome, did u enable the data_source.enabled to true in the opensearch_dashboards.yml file, and if so can ik how to do that
You can check here Adding multiple data sources - OpenSearch Documentation
Yes, it’s possible
Thanks, i’m running it on a eks cluster, should i enable the multiple data_source feature manually in order to do so?