opensearch-prometheus-exporter
opensearch-prometheus-exporter copied to clipboard
Error 405 on /_prometheus/metrics
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 !!