Restart Prometheus Relay and Prometheus long-term storage

Restart Prometheus Relay and Prometheus long-term storageΒΆ

You can restart Prometheus Relay and Prometheus long-term storage, for example, if one of the services hangs. Since these services are connected, you must restart both.

To restart Prometheus Relay and Prometheus long-term storage:

  1. Log in to the Salt Master node.

  2. Run the following commands:

    salt -C 'I@prometheus:relay' service.restart prometheus
    salt -C 'I@prometheus:relay' service.restart prometheus-relay