canonical / canonical/postgresql-k8s-operator

Add tailing service for Postgresql logs

Open
#627 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.