Is it possible to secure the /metrics endpoint ? #977
-
|
Hello everyone, With the standalone binary of sql_exporter, I would like to know if it's possible to add security on the /metrics endpoint with login/pwd for example ? Thank you very much. Best regards, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
Hi @craph, yes it's possible. Please check the docs in the miscellaneous section. You need to do extra configuration:
Try it out and let me know if you need any assistance. It's also possible to set up rate limiting in the same config, just in case. 👍 |
Beta Was this translation helpful? Give feedback.
-
|
Hi @burningalchemist Thank you very much for the update. I haven't seen this section my bad I'm sorry. I have seen the part about Kubernetes/Helm but not the one for the standalone binary. I'll check the docs. Thank you very much again. |
Beta Was this translation helpful? Give feedback.
Hi @craph, yes it's possible. Please check the docs in the miscellaneous section. You need to do extra configuration:
Try it out and let me know if you need any assistance. It's also possible to set up rate limiting in the same config, just in case. 👍