Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[receiver/postgresql] Add bgwriter Metrics #13327

Closed
schmikei opened this issue Aug 15, 2022 · 1 comment · Fixed by #13328
Closed

[receiver/postgresql] Add bgwriter Metrics #13327

schmikei opened this issue Aug 15, 2022 · 1 comment · Fixed by #13328

Comments

@schmikei
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Adding more metrics initially spun up from #12338

These are the bgwriter metrics related to the background process introduced in postgres 8.0 that occasionally flushes modified pages out of the shared buffer pool.

More information on the source of these metrics can be found here.

Planning on putting this behind the feature gate: receiver.postgresql.emitMetricsWithResourceAttributes

Describe the solution you'd like
Metrics proposing to add:

postgresql.bgwriter.buffers.allocated
postgresql.bgwriter.buffers.writes
postgresql.bgwriter.checkpoint.count
postgresql.bgwriter.duration
postgresql.bgwriter.maxwritten.count

Describe alternatives you've considered

Additional context

@schmikei
Copy link
Contributor Author

I will be working on this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant