You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When monitoring pgBackRest version 2.52.1 (or any other version of backrest that has 3 digits in the version, but this is the only one so far), alerts will be raised for exporter scrape errors and in system logs. Also the pgBackRest grafana dashboard may also break since the informational metrics it uses are no longer available. Metrics for monitoring the backups themselves have not been affected by this issue, so alerting for failed backups should not be affected.
If users are on versions less than 2.52, this does not affect them. Upgrading to the latest version of pgBackRest 2.53 will also correct this issue.
sql_exporter
# HELP scrape_errors_total Total number of scrape errors per job, target, collector and query
# TYPE scrape_errors_total counter
scrape_errors_total{collector="crunchy_pgbackrest",job="global_targets",query="ccp_backrest_last_info",target="global"} 245
Jul 25 14:00:39 cd-dc1-pg2 sql_exporter[10651]: ts=2024-07-25T18:00:39.177Z caller=klog.go:134 level=error func=Errorf msg="Error gathering metrics: [from Gatherer #1] [job=global_targets,target=global,collector=crunchy_pgbackrest,query=ccp_backrest_last_info] sql: Scan error on column index 0, name \"backrest_repo_version\": converting driver.Value type string (\"2.52.1\") to a float64: invalid syntax"
Should be able to handle any version of pgBackRest.
If users currently are not on version 2.52, we recommend waiting to upgrade. If you have upgraded to 2.52.1, please upgrade to 2.53 when it is available. This will be fixed in the next release of pgMonitor for postgres_exporter. For sql_exporter, this will be fixed in the pgmonitor-extension version 1.0.1, so no update to pgMonitor will be required.
Tell us about your environment:
pgMonitor version: 5.0 and older
Container or non-container:
Container name / image:
Operating System for non-container:
PostgreSQL Version: N/A
Exporter(s) in use (incl. version): postgres, sql
Prometheus version: Any
AlertManager version: Any
Grafana version: Any
The text was updated successfully, but these errors were encountered:
Describe the issue:
When monitoring pgBackRest version 2.52.1 (or any other version of backrest that has 3 digits in the version, but this is the only one so far), alerts will be raised for exporter scrape errors and in system logs. Also the pgBackRest grafana dashboard may also break since the informational metrics it uses are no longer available. Metrics for monitoring the backups themselves have not been affected by this issue, so alerting for failed backups should not be affected.
If users are on versions less than 2.52, this does not affect them. Upgrading to the latest version of pgBackRest 2.53 will also correct this issue.
sql_exporter
postgres_exporter
Describe the expected behavior:
Should be able to handle any version of pgBackRest.
If users currently are not on version 2.52, we recommend waiting to upgrade. If you have upgraded to 2.52.1, please upgrade to 2.53 when it is available. This will be fixed in the next release of pgMonitor for postgres_exporter. For sql_exporter, this will be fixed in the
pgmonitor-extension
version 1.0.1, so no update to pgMonitor will be required.Tell us about your environment:
The text was updated successfully, but these errors were encountered: