canonical / tempo-worker-k8s-operator

This charmed operator is part of automation the operational procedures of running Grafana Tempo, an open-source tracing backend, in microservices mode.
Apache License 2.0
0 stars 0 forks source link

Report workload 's actual running state #20

Closed michaeldmitry closed 1 week ago

michaeldmitry commented 4 weeks ago

Enhancement Proposal

When a workload is down (i.e Tempo failed to start its service for any reason), the user is not aware of that state since we're reporting it as active/idle although the workload is not ready to serve/accept requests. We should have a mechanism to detect when the workload is down and reflect that on the unit's state (e.g: Blocked)

PietroPasotti commented 4 weeks ago

related: https://github.com/canonical/cos-lib/issues/51

PietroPasotti commented 4 weeks ago

we should use a pebble check to constantly monitor the service status

michaeldmitry commented 1 week ago

Fixed by https://github.com/canonical/tempo-worker-k8s-operator/pull/22