Monitoring Petals ESB with Prometheus

compared with
Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (4)

View Page History
{code}curl -X POST http://localhost:9090/-/reload{code}

Note: as of Prometheus 2.0, to reload over HTTP the_ '--web.enable-lifecycle'\_ command line flag must be set.

In any case, Prometheus should acknowledge the reload:
h3. File configuration

A As mentioned in the [documentation on file configuration|https://prometheus.io/docs/prometheus/latest/configuration/configuration/#%3Cfile_sd_config%3E], using this method will allow to reload automatically and periodically.
{quote}
Changes to all defined files are detected via disk watches and applied immediately. Files may be provided in YAML or JSON format. Only changes resulting in well-formed target groups are applied.
[]
\[. . .\]
As a fallback, the file contents are also re-read periodically at the specified refresh interval.
{quote}