You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Even when running an ingester with a sleep period of 30 seconds, no shutdown metrics (loki_ingester_sent_chunks, etc.) are scraped by Prometheus. This is seemingly because the endpoint serving metrics may be shut down before any of the modules close:
Shutting the module down before shutting down the HTTP server enables
metrics to continue to be collected while the module terminates.
This change syncs up with how Cortex modules are shut down; the module
is always terminated before the HTTP server.
Fixesgrafana#819.
Shutting the module down before shutting down the HTTP server enables
metrics to continue to be collected while the module terminates.
This change syncs up with how Cortex modules are shut down; the module
is always terminated before the HTTP server.
Fixes#819.
Even when running an ingester with a sleep period of 30 seconds, no shutdown metrics (
loki_ingester_sent_chunks
, etc.) are scraped by Prometheus. This is seemingly because the endpoint serving metrics may be shut down before any of the modules close:loki/pkg/loki/loki.go
Lines 140 to 146 in 459e4e3
The server should likely stay alive for as long as the modules are alive so metrics can continue to be collected during shutdown.
The text was updated successfully, but these errors were encountered: