-
Notifications
You must be signed in to change notification settings - Fork 141
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] prometheus datasource: Request failed to get to the server (status code: 502) #2551
Comments
Reproduced by extracting and running prometheus locally on the opensearch host, confirmed
|
Facing the same issue adding an ML connector using |
I can confirm having the same problem. |
@bbarani Can you transfer this issue to https://github.com/opensearch-project/sql? I believe the |
@vamsi-amazon could u take a look of this issue. |
i have this problem too. Same situation: It gives 502 error, but if you try to post it again, it says it already exists. But when you look in the observability/metrics tab, it cannot be found there. Does the prometheus connector work for anyone at all? |
Describe the bug
when adding prometheus as a datasource from dev tools, I get Request failed to get to the server (status code: 502)
To Reproduce
Steps to reproduce the behavior:
Returns:
Request failed to get to the server (status code: 502)
curl http://ec2-xx-xx-xx-xx.compute-1.amazonaws.com:9050/metrics
returns resultsExpected behavior
no error and a working datasource
Plugins
opensearch-alerting 2.9.0.0
opensearch-anomaly-detection 2.9.0.0
opensearch-asynchronous-search 2.9.0.0
opensearch-cross-cluster-replication 2.9.0.0
opensearch-geospatial 2.9.0.0
opensearch-index-management 2.9.0.0
opensearch-job-scheduler 2.9.0.0
opensearch-knn 2.9.0.0
opensearch-ml 2.9.0.0
opensearch-neural-search 2.9.0.0
opensearch-notifications 2.9.0.0
opensearch-notifications-core 2.9.0.0
opensearch-observability 2.9.0.0
opensearch-performance-analyzer 2.9.0.0
opensearch-reports-scheduler 2.9.0.0
opensearch-security 2.9.0.0
opensearch-security-analytics 2.9.0.0
opensearch-sql 2.9.0.0
Host/Environment (please complete the following information):
Amazon Linux
2023
Additional context
following https://opensearch.org/docs/latest/observing-your-data/prometheusmetrics/
The text was updated successfully, but these errors were encountered: