opensearch-project / helm-charts

:wheel_of_dharma: A community repository for Helm Charts of OpenSearch Project.
https://opensearch.org/docs/latest/opensearch/install/helm/
Apache License 2.0
170 stars 228 forks source link

[Fix] OpenSearch and OpenSearch Dashboards Service Monitor Bug #581

Closed VILJkid closed 1 month ago

VILJkid commented 1 month ago

Description

This PR addresses a bug in the ServiceMonitor template for OpenSearch and OpenSearch Dashboards. Previously, the port configuration incorrectly used a port number, but ServiceMonitor requires a port name as a string. The fix updates the configuration to use the correct port name, ensuring that Prometheus can properly scrape metrics from the OpenSearch service.

Issues Resolved

https://github.com/opensearch-project/helm-charts/issues/579

Check List

For any changes to files within Helm chart directories:

PR sponsored by Obmondo