René's URL Explorer Experiment


Title: Monitoring and health | PgQue

Open Graph Title: Monitoring and health

Description: Read PgQue's observability functions, and know what to alert on — ticker lag, consumer lag, a stuck consumer, and dead-letter depth.

Open Graph Description: Read PgQue's observability functions, and know what to alert on — ticker lag, consumer lag, a stuck consumer, and dead-letter depth.

Opengraph URL: https://pgque.dev/docs/monitoring/

Generator: Starlight v0.30.6

direct link

Domain: pgque.dev

og:typearticle
og:localeen
og:site_namePgQue
og:imagehttps://pgque.dev/og.png
twitter:cardsummary_large_image

Links:

Skip to contenthttps://pgque.dev/docs/monitoring#_top
PgQue https://pgque.dev/
GitHub https://github.com/NikolayS/pgque
Star https://github.com/NikolayS/pgque
Overview https://pgque.dev/docs
Tutorial https://pgque.dev/docs/tutorial
Installation and operations https://pgque.dev/docs/installation
Examples https://pgque.dev/docs/examples
Monitoring and health https://pgque.dev/docs/monitoring
Function reference https://pgque.dev/docs/reference
Latency and tick tuning https://pgque.dev/docs/latency-and-tuning
Concepts and heritage https://pgque.dev/docs/concepts
GitHub https://github.com/NikolayS/pgque
Star https://github.com/NikolayS/pgque
Overview https://pgque.dev/docs/monitoring#_top
The observability surface https://pgque.dev/docs/monitoring#the-observability-surface
pgque.status() — is the engine wired up https://pgque.dev/docs/monitoring#pgquestatus--is-the-engine-wired-up
pgque.get_queue_info([queue]) — is the queue flowing https://pgque.dev/docs/monitoring#pgqueget_queue_infoqueue--is-the-queue-flowing
pgque.get_consumer_info([queue[, consumer]]) — is the consumer keeping up https://pgque.dev/docs/monitoring#pgqueget_consumer_infoqueue-consumer--is-the-consumer-keeping-up
pgque.get_batch_info(batch_id) — inspect one in-flight batch https://pgque.dev/docs/monitoring#pgqueget_batch_infobatch_id--inspect-one-in-flight-batch
What to alert on https://pgque.dev/docs/monitoring#what-to-alert-on
The critical one: a stuck consumer blocks rotation https://pgque.dev/docs/monitoring#the-critical-one-a-stuck-consumer-blocks-rotation
Threshold table https://pgque.dev/docs/monitoring#threshold-table
Dead-letter depth https://pgque.dev/docs/monitoring#dead-letter-depth
Read-only monitoring queries https://pgque.dev/docs/monitoring#read-only-monitoring-queries
Related https://pgque.dev/docs/monitoring#related
Overview https://pgque.dev/docs/monitoring#_top
The observability surface https://pgque.dev/docs/monitoring#the-observability-surface
pgque.status() — is the engine wired up https://pgque.dev/docs/monitoring#pgquestatus--is-the-engine-wired-up
pgque.get_queue_info([queue]) — is the queue flowing https://pgque.dev/docs/monitoring#pgqueget_queue_infoqueue--is-the-queue-flowing
pgque.get_consumer_info([queue[, consumer]]) — is the consumer keeping up https://pgque.dev/docs/monitoring#pgqueget_consumer_infoqueue-consumer--is-the-consumer-keeping-up
pgque.get_batch_info(batch_id) — inspect one in-flight batch https://pgque.dev/docs/monitoring#pgqueget_batch_infobatch_id--inspect-one-in-flight-batch
What to alert on https://pgque.dev/docs/monitoring#what-to-alert-on
The critical one: a stuck consumer blocks rotation https://pgque.dev/docs/monitoring#the-critical-one-a-stuck-consumer-blocks-rotation
Threshold table https://pgque.dev/docs/monitoring#threshold-table
Dead-letter depth https://pgque.dev/docs/monitoring#dead-letter-depth
Read-only monitoring queries https://pgque.dev/docs/monitoring#read-only-monitoring-queries
Related https://pgque.dev/docs/monitoring#related
Installation and operationshttps://pgque.dev/docs/installation
Conceptshttps://pgque.dev/docs/concepts
Referencehttps://pgque.dev/docs/reference
Exampleshttps://pgque.dev/docs/examples
Conceptshttps://pgque.dev/docs/concepts
Installation and operationshttps://pgque.dev/docs/installation
Latency and tuninghttps://pgque.dev/docs/latency-and-tuning
Referencehttps://pgque.dev/docs/reference
Exampleshttps://pgque.dev/docs/examples
Edit pagehttps://github.com/NikolayS/pgque/edit/main/docs/monitoring.md
Previous Examples https://pgque.dev/docs/examples
Next Function reference https://pgque.dev/docs/reference

Viewport: width=device-width, initial-scale=1


URLs of crawlers that visited me.