# Allow a path in Metrics settings for Prometheus service address

**URL:** https://forums.k8slens.dev/t/allow-a-path-in-metrics-settings-for-prometheus-service-address/5822
**Category:** Feature Requests
**Created:** [March 30, 2025, 8:55pm UTC](https://forums.k8slens.dev/t/allow-a-path-in-metrics-settings-for-prometheus-service-address/5822 "2025-03-30T20:55:37Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![jeansen](https://forums.k8slens.dev/letter_avatar_proxy/v4/letter/j/a587f6/32.png) [@jeansen](https://forums.k8slens.dev/u/jeansen)
#### Post date: [March 30, 2025, 8:55pm UTC](https://forums.k8slens.dev/t/allow-a-path-in-metrics-settings-for-prometheus-service-address/5822/1 "2025-03-30T20:55:37Z")

</div>

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](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.

---

<div class="post-metadata">

### Author: ![okoshevka](https://forums.k8slens.dev/user_avatar/forums.k8slens.dev/okoshevka/32/999_2.png) [@okoshevka](https://forums.k8slens.dev/u/okoshevka)
#### Post date: [April 1, 2025, 10:03am UTC](https://forums.k8slens.dev/t/allow-a-path-in-metrics-settings-for-prometheus-service-address/5822/2 "2025-04-01T10:03:27Z")

</div>

Dear @jeansen

Thank you for reaching out!

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

Regards,

Oleksandr from Lens Support

---

<div class="post-metadata">

### Author: ![jeansen](https://forums.k8slens.dev/letter_avatar_proxy/v4/letter/j/a587f6/32.png) [@jeansen](https://forums.k8slens.dev/u/jeansen)
#### Post date: [April 1, 2025, 9:19pm UTC](https://forums.k8slens.dev/t/allow-a-path-in-metrics-settings-for-prometheus-service-address/5822/3 "2025-04-01T21:19:56Z")

</div>

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