Allow a path in Metrics settings for Prometheus service address

Currently, it is not possible to give a full service including a path to Lens for the Prometheus Metrics.

I have the problem, that I use Grafana Mimir which exposes - by default - all Metrics like this:

http://grafana-mimir-gateway.default.svc:80/prometheus

In Lens, I cannot add the path. I can only provide a Namespace, Service and Port. If I temporarily change the path in Mimir so it is http://grafana-mimir-gateway.default.svc:80/ and put that in Lens which in turn would be default/grafana-mimir-gateway:80, it works! But I don’t want to change the path because on the one hand, it breaks other pieces in my cluster that expect it. And on the other hand this is a freely configurable setting. Lens should honor this, IMHO.

I’d be happy to see this (little) feature added in future versions.

Dear @jeansen

Thank you for reaching out!

We will be sure to update our development team about your request.

Regards,

Oleksandr from Lens Support

Great, thank you. Meanwhile I’ve got an Nginx forward proxy installed :wink: