K
K
Katya Smirnova2020-07-11 18:47:07
go
Katya Smirnova, 2020-07-11 18:47:07

How to hide Prometheus metrics route?

Good afternoon, we connected Prometheus metrics to the go application, we are deploying it on Kubernetes. Accordingly, the metrics route is now available to the whole world. How can I make it so that only prometheus itself can walk this route? Make another http server on a different port, or do you have cuber chips?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
alfss, 2020-07-11
@sireax

Set up ingress.
Allocate a separate port.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question