-
Notifications
You must be signed in to change notification settings - Fork 194
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
[BUG]opensearch monitoring access reported a 404 error #5988
Comments
@sophon-zt It seems that opensearch does not have a metric uri "http://localhost:9600/metrics" |
Here is the architecture of the kb scrape engine metrics: opensearch metric plugin: https://github.com/aparo/opensearch-prometheus-exporter In addition, prometheus may not be able to scrape directly, and account information needs to be configured. so a metrics sidecar is needed to scrape opensearch metrics. You can refer to pulsar addons: |
"_plugins/_performanceanalyzer/metrics" is ok, means that there is already a metrics plugin. You can try to add a prometheus scrape configs or add a sidecar. |
Thank you, we will solve the problem of metrics in the next minor version of 0.7 |
If authentication is not required, you can set cd.spec.componentDefs[*].monitor.exporterConfig.scrapePath to the url path provided by the metrics plugin, metrics sidecar is not needed, prometheus can collect metrics directly.
|
This issue has been marked as stale because it has been open for 30 days with no activity |
Describe the bug
Opensearch cluster file after open the monitor, start the service visit http://localhost:9600/metrics error 404
To Reproduce
Steps to reproduce the behavior:
The modified CD file is as follows:
The modified cluster file is as follows
3.deploy opensearch cluster yaml file:
deploy opensearch
404 Not Found
No context found for requestExpected behavior
I hope to visit kubeblocks integrated opensearch monitoring service is normal, namely through http://localhost:9600/metrics to get the opensearch related index
Screenshots
If applicable, add screenshots to help explain your problem.
acees the url:
acees the metric api:
Desktop (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: