Skip to content
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

Error 405 on /_prometheus/metrics #12

Open
idanl21 opened this issue Apr 6, 2022 · 0 comments
Open

Error 405 on /_prometheus/metrics #12

idanl21 opened this issue Apr 6, 2022 · 0 comments

Comments

@idanl21
Copy link

idanl21 commented Apr 6, 2022

Hey everyone!
I'm testing your opensearch exporter, i installed the plugin inside one of my clients nodes on 1.2.3 version Opensearch.
seems like the installation succeed, but when im trying to reach metrics endpoint (_prometheus/metrics) after restarted the node of course, im getting that error {"error":"Incorrect HTTP method for uri [/_prometheus/metrics] and method [GET], allowed: [POST]","status":405}.
installation logs :
`-> Installing https://github.com/aparo/opensearch-prometheus-exporter/releases/download/1.2.3/prometheus-exporter-1.2.3.zip
-> Downloading https://github.com/aparo/opensearch-prometheus-exporter/releases/download/1.2.3/prometheus-exporter-1.2.3.zip
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: plugin requires additional permissions @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

  • java.lang.RuntimePermission accessClassInPackage.sun.misc
  • java.lang.RuntimePermission accessDeclaredMembers
  • java.lang.reflect.ReflectPermission suppressAccessChecks
    See http://docs.oracle.com/javase/8/docs/technotes/guides/security/permissions.html
    for descriptions of what these permissions allow and the associated risks.
    -> Installed prometheus-exporter with folder name prometheus-exporter`

Thanks !!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant