No, the Prometheus design is that anything in the config file needs to be
dynamic / runtime (SIGHUP) changeable. Things that are only possible to set
at startup are handled by flags. This allows for easy differentiation
between static and dynamic options.

The listen addresses are currently only set at startup time, so they are
only controlled by args.

This is something that could be done via the exporter-toolkit, but someone
would have to volunteer to write the code.

On Mon, Apr 1, 2024 at 9:36 AM 'Matthew Ellquist' via Prometheus Users <
[email protected]> wrote:

> Greetings,
>
> Is it possible to specify the listen and advertise addresses in the
> alertmanager.yml file?
>
> Thanks,
> Matt
>
> --
> You received this message because you are subscribed to the Google Groups
> "Prometheus Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/prometheus-users/3b912234-bd7f-4fc3-a023-f979c1565b89n%40googlegroups.com
> <https://groups.google.com/d/msgid/prometheus-users/3b912234-bd7f-4fc3-a023-f979c1565b89n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/CABbyFmqKoZ8EgZ1Lzd1vwG2%3DL_pggTrBwJYV4u08Qx12-%2BCSyQ%40mail.gmail.com.

Reply via email to