# Preconfigure the Prometheus Address

**URL:** <https://community.replicated.com/t/preconfigure-the-prometheus-address/829>\
**Category:** How do I?\
**Created:** [June 28, 2022, 10:31am UTC](https://community.replicated.com/t/preconfigure-the-prometheus-address/829 "2022-06-28T10:31:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kevinr](https://avatars.discourse-cdn.com/v4/letter/k/da6949/32.png) [@kevinr](https://community.replicated.com/u/kevinr)\
**Post date:** [June 28, 2022, 10:31am UTC](https://community.replicated.com/t/preconfigure-the-prometheus-address/829/1 "2022-06-28T10:31:02Z")

</div>

Is there any way to preconfigure the Prometheus Address for Kotsadm? I’d like to be able to tell Kotsadm programmatically where to look for Prometheus, instead of manually configuring this via the GUI. Is there an env var or ConfigMap that I can set to do this?

---

<div class="post-metadata">

**Author:** ![grant](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.replicated.com/grant/32/9_2.png) [@grant](https://community.replicated.com/u/grant)\
**Post date:** [June 28, 2022, 4:52pm UTC](https://community.replicated.com/t/preconfigure-the-prometheus-address/829/2 "2022-06-28T16:52:52Z")

</div>

Unfortunately this isn’t possible in KOTS today.

---

<div class="post-metadata">

**Author:** ![basav](https://avatars.discourse-cdn.com/v4/letter/b/8797f3/32.png) [@basav](https://community.replicated.com/u/basav)\
**Post date:** [December 23, 2022, 8:45pm UTC](https://community.replicated.com/t/preconfigure-the-prometheus-address/829/3 "2022-12-23T20:45:02Z")

</div>

If it is not possible through KOTS, are there any alternate approaches for this - like through REST endpoint ?
