canonical / canonical/observability-stack

Add Pebble readiness and liveness checks to all COS charms with their status reflected in Juju status

Open
#292 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
HCL
Stars
9
Forks
12
Avg merge
2d 40m
Merged PRs (30d)
3

Description

When the COS charm workloads encounter issues or break for any reason, the Juju status of the charms still shows the workloads as healthy. This is misleading, and can be fixed by adding Pebble readiness and liveness checks to all COS charm workloads, reflecting their status in Juju status.

For example, Grafana shows healthy in Juju status in my cluster while the workload is erroring:

```
kubectl -n my-cos-model exec -ti grafana-0 -c grafana -- pebble services
Service Startup Current Since
grafana enabled backoff today at 10:58 UTC
kubectl -n my-cos-model exec -ti grafana-0 -c grafana -- pebble checks
Plan has no health checks.
```

Image

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.