mirror of
https://github.com/kubernetes-sigs/prometheus-adapter.git
synced 2026-04-06 01:38:10 +00:00
Add a signal handler stopping the adapter if it receives a SIGINT or SIGTERM signal. This prevent the prometheus-adapter pod from being stuck in "Terminating" state. Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com> |
||
|---|---|---|
| .. | ||
| testdata | ||
| adapter.go | ||
| adapter_test.go | ||