canonical / canonical/postgresql-k8s-operator
Add tailing service for Postgresql logs
Open
enhancement
- Dominant language
- Python
- Stars
- 15
- Forks
- 33
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 41
Description
When using Pebble log forwarding, logs written directly to files will not be forwarded. A pebble service should tail the postgresql logs so that they can be properly sent to Loki. The service should respect log rotation.
Contributor guide
Research direction
Start by locating the Pebble log-forwarding configuration and the PostgreSQL log files used by the operator. Trace how logs reach Loki, then define the service behavior needed for file tailing and rotation; done means rotated and newly written PostgreSQL logs are forwarded correctly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- postgresql, python
- Domain
- databases, observability
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100