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

Second iteration on PostgreSQL monitoring POC - Read-Only Support #4726

Open
wants to merge 2 commits into
base: v3.0
Choose a base branch
from

Conversation

JavierJF
Copy link
Collaborator

This PR packs multiple fixes/improvements:

  • Added READONLY support for PostgreSQL.
  • Major rework for queries and statements used on monitoring tables:
    • Checks/Actions rewrote for single instance checks.
    • Reuse of prepared statements instance of re-preparation.
  • Fixed missing error handling in connection creation state machine.
  • Added support for configurable batching in scheduler thread, via '*_interval_window' variables. These variables allows to define the burstiness of the scheduling within the processing interval.
  • Several fixes for 'poll' timeout computation for worker threads.
  • Fixed edge cases for current interval detection.
  • Reduced deviation in scheduling intervals computation.
  • Refactored and simplified connection event handling.
  • Honor '-M' argument for disabling monitoring support.

There are still a couple of missing points on the implementation, these are flagged as TODO in the code itself.

@mirostauder
Copy link
Collaborator

Can one of the admins verify this patch?

- Added READONLY support for PostgreSQL.
- Major rework for queries and statements used on monitoring tables:
    + Checks/Actions rewrote for single instance checks.
    + Reuse of prepared statements instance of re-preparation.
- Fixed missing error handling in connection creation state machine.
- Added support for configurable batching in scheduler thread, via
  '*_interval_window' variables. These variables allows to define the
  burstiness of the scheduling within the processing interval.
- Several fixes for 'poll' timeout computation for worker threads.
- Fixed edge cases for current interval detection.
- Reduced deviation in scheduling intervals computation.
- Refactored and simplified connection event handling.
- Honor '-M' argument for disabling monitoring support.
@mirostauder
Copy link
Collaborator

retest this please

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 this pull request may close these issues.

2 participants