feat(database_observability.postgres): Add logs collector#5445
Merged
cristiangreco merged 26 commits intomainfrom Feb 16, 2026
Merged
feat(database_observability.postgres): Add logs collector#5445cristiangreco merged 26 commits intomainfrom
cristiangreco merged 26 commits intomainfrom
Conversation
04d18f4 to
2769c5b
Compare
Contributor
|
💻 Deploy preview available (feat: Add error_logs collector to database_observability.postgres): |
d941fb5 to
c761823
Compare
internal/component/database_observability/postgres/collector/error_logs.go
Show resolved
Hide resolved
internal/component/database_observability/postgres/component.go
Outdated
Show resolved
Hide resolved
83da614 to
5edf383
Compare
Contributor
|
💻 Deploy preview available (feat: Add logs collector to database_observability.postgres): |
docs/sources/reference/components/database_observability/database_observability.postgres.md
Outdated
Show resolved
Hide resolved
docs/sources/reference/components/database_observability/database_observability.postgres.md
Outdated
Show resolved
Hide resolved
docs/sources/reference/components/database_observability/database_observability.postgres.md
Show resolved
Hide resolved
Contributor
cristiangreco
left a comment
There was a problem hiding this comment.
Left some comments.
internal/component/database_observability/postgres/component.go
Outdated
Show resolved
Hide resolved
internal/component/database_observability/postgres/component.go
Outdated
Show resolved
Hide resolved
internal/component/database_observability/postgres/collector/logs.go
Outdated
Show resolved
Hide resolved
internal/component/database_observability/postgres/collector/logs.go
Outdated
Show resolved
Hide resolved
internal/component/database_observability/postgres/collector/logs.go
Outdated
Show resolved
Hide resolved
internal/component/database_observability/postgres/collector/logs.go
Outdated
Show resolved
Hide resolved
internal/component/database_observability/postgres/collector/logs.go
Outdated
Show resolved
Hide resolved
internal/component/database_observability/postgres/collector/logs.go
Outdated
Show resolved
Hide resolved
internal/component/database_observability/postgres/collector/logs.go
Outdated
Show resolved
Hide resolved
internal/component/database_observability/postgres/collector/logs.go
Outdated
Show resolved
Hide resolved
docs/sources/reference/components/database_observability/database_observability.postgres.md
Outdated
Show resolved
Hide resolved
docs/sources/reference/components/database_observability/database_observability.postgres.md
Outdated
Show resolved
Hide resolved
docs/sources/reference/components/database_observability/database_observability.postgres.md
Outdated
Show resolved
Hide resolved
docs/sources/reference/components/database_observability/database_observability.postgres.md
Show resolved
Hide resolved
docs/sources/reference/components/database_observability/database_observability.postgres.md
Outdated
Show resolved
Hide resolved
docs/sources/reference/components/database_observability/database_observability.postgres.md
Outdated
Show resolved
Hide resolved
docs/sources/reference/components/database_observability/database_observability.postgres.md
Outdated
Show resolved
Hide resolved
docs/sources/reference/components/database_observability/database_observability.postgres.md
Outdated
Show resolved
Hide resolved
docs/sources/reference/components/database_observability/database_observability.postgres.md
Outdated
Show resolved
Hide resolved
docs/sources/reference/components/database_observability/database_observability.postgres.md
Outdated
Show resolved
Hide resolved
Add error_logs collector that starts immediately without DB connection. Exports error_logs_receiver for loki.source.file integration.
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Clayton Cornell <131809008+clayton-cornell@users.noreply.github.com>
…ase_observability.postgres.md Co-authored-by: Clayton Cornell <131809008+clayton-cornell@users.noreply.github.com>
…n the collector start time
605a2d3 to
1d3adc7
Compare
cristiangreco
approved these changes
Feb 16, 2026
Draft
Contributor
|
💻 Deploy preview deleted (feat(database_observability.postgres): Add logs collector). |
jharvey10
pushed a commit
that referenced
this pull request
Feb 26, 2026
Adds a Postgres logs collector, at this first iteration focused on generating error count metrics. This component supports reading stderr postgres logs configured with the log_line_prefix format `%m:%r:%u@%d:[%p]:%l:%e:%s:%v:%x:%c:%q%a`, supported by AWS RDS. --------- Co-authored-by: Cursor <cursoragent@cursor.com> Co-authored-by: Clayton Cornell <131809008+clayton-cornell@users.noreply.github.com> Co-authored-by: Cristian Greco <cristian@regolo.cc>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a Postgres logs collector, at this first iteration focused on generating error count metrics.
This component supports reading stderr postgres logs configured with the log_line_prefix format
%m:%r:%u@%d:[%p]:%l:%e:%s:%v:%x:%c:%q%a, supported by AWS RDS.