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:
Log in to the Salt Master node.
Run the following commands:
salt -C 'I@prometheus:relay' service.restart prometheus
salt -C 'I@prometheus:relay' service.restart prometheus-relay