timescale / promscale

[DEPRECATED] Promscale is a unified metric and trace observability backend for Prometheus, Jaeger and OpenTelemetry built on PostgreSQL and TimescaleDB.
https://www.timescale.com/promscale
Apache License 2.0
1.33k stars 169 forks source link

Add prometheus metrics to vacuum engine #1755

Closed jgpruitt closed 2 years ago

jgpruitt commented 2 years ago

Description

Exposes three new prometheus metrics in the vacuum engine so we can more easily observe its behavior

Since we limit our query to 1000 results, the tables left to vacuum gauge will never go above 1000 even if there are many more tables to be vacuumed.

1754

Merge requirements

Please take into account the following non-code changes that you may need to make with your PR: