diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d657110f..aa97dbe4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,7 +3,7 @@ default_install_hook_types: - pre-commit repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.6.0 + rev: v5.0.0 hooks: - id: check-merge-conflict - id: check-symlinks @@ -21,7 +21,7 @@ repos: stages: [commit-msg] additional_dependencies: ['@commitlint/config-conventional'] - repo: https://github.com/codespell-project/codespell - rev: v2.1.0 + rev: v2.3.0 hooks: - id: codespell # if you need to add more words to ignore, they are comme separated diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 305436ca..7cfa24c9 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -4,6 +4,26 @@ pgMonitor Release Notes .. contents:: Topics +v4.12.0 +======= + +Release Summary +--------------- + +Crunchy Data is pleased to announce the availability of pgMonitor 4.12.0. This release primarily brings support for Grafana 10.4. See Changelog for additional information. + +Breaking Changes / Porting Guide +-------------------------------- + +- grafana - Update the dashboards to support Grafana 10.4 so that we're on an officially supported version of Grafana. This does potentially break backward compatibility with Grafana 9.x, so an update to Grafana 10.4 will be required with this version of pgMonitor. + +Bugfixes +-------- + +- grafana - Fix etcd dashboard to use new metric names in etcd 3.5 +- postgres_exporter - Fix query for database table size to remove duplicate word +- postgres_exporter - Fix query for pgBackRest monitoring to handle 3 number versions + v5.1.1 ====== diff --git a/LICENSE b/LICENSE index a1ffa3d1..bc984cf4 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -Copyright © 2017-2024 Crunchy Data Solutions, Inc. All Rights Reserved. +Copyright © 2017-2025 Crunchy Data Solutions, Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/README.md b/README.md index d7a77e24..791437a1 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ Please view the official Crunchy Data pgMonitor documentation [here](https://acc ## Legal Notices -Copyright © 2017-2024 Crunchy Data Solutions, Inc. All Rights Reserved. +Copyright © 2017-2025 Crunchy Data Solutions, Inc. All Rights Reserved. CRUNCHY DATA SOLUTIONS, INC. PROVIDES THIS GUIDE "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF NON INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. diff --git a/alertmanager/common/crunchy-alertmanager.yml b/alertmanager/common/crunchy-alertmanager.yml index 7e235f9f..5d9c7353 100644 --- a/alertmanager/common/crunchy-alertmanager.yml +++ b/alertmanager/common/crunchy-alertmanager.yml @@ -1,6 +1,6 @@ ### # -# Copyright © 2017-2024 Crunchy Data Solutions, Inc. All Rights Reserved. +# Copyright © 2017-2025 Crunchy Data Solutions, Inc. All Rights Reserved. # ### diff --git a/alertmanager/linux/crunchy-alertmanager-service-rhel.conf b/alertmanager/linux/crunchy-alertmanager-service-rhel.conf index b489b920..4fabf93c 100644 --- a/alertmanager/linux/crunchy-alertmanager-service-rhel.conf +++ b/alertmanager/linux/crunchy-alertmanager-service-rhel.conf @@ -1,6 +1,6 @@ ### # -# Copyright © 2017-2024 Crunchy Data Solutions, Inc. All Rights Reserved. +# Copyright © 2017-2025 Crunchy Data Solutions, Inc. All Rights Reserved. # ### diff --git a/alertmanager/linux/sysconfig.alertmanager b/alertmanager/linux/sysconfig.alertmanager index dcd483c1..95bb339c 100644 --- a/alertmanager/linux/sysconfig.alertmanager +++ b/alertmanager/linux/sysconfig.alertmanager @@ -1,6 +1,6 @@ ### # -# Copyright © 2017-2024 Crunchy Data Solutions, Inc. All Rights Reserved. +# Copyright © 2017-2025 Crunchy Data Solutions, Inc. All Rights Reserved. # ### diff --git a/blackbox_exporter/common/blackbox_exporter.sysconfig b/blackbox_exporter/common/blackbox_exporter.sysconfig index faccbd71..a73d6eb9 100644 --- a/blackbox_exporter/common/blackbox_exporter.sysconfig +++ b/blackbox_exporter/common/blackbox_exporter.sysconfig @@ -1,6 +1,6 @@ ### # -# Copyright © 2017-2024 Crunchy Data Solutions, Inc. All Rights Reserved. +# Copyright © 2017-2025 Crunchy Data Solutions, Inc. All Rights Reserved. # ### diff --git a/blackbox_exporter/common/crunchy-blackbox.yml b/blackbox_exporter/common/crunchy-blackbox.yml index c275e7f8..b8c18309 100644 --- a/blackbox_exporter/common/crunchy-blackbox.yml +++ b/blackbox_exporter/common/crunchy-blackbox.yml @@ -1,6 +1,6 @@ ### # -# Copyright © 2017-2024 Crunchy Data Solutions, Inc. All Rights Reserved. +# Copyright © 2017-2025 Crunchy Data Solutions, Inc. All Rights Reserved. # ### diff --git a/changelogs/changelog.yaml b/changelogs/changelog.yaml index f03c7cc3..8d69d1d2 100644 --- a/changelogs/changelog.yaml +++ b/changelogs/changelog.yaml @@ -1,5 +1,6 @@ ancestor: null releases: + 4.10.0: changes: major_changes: @@ -207,3 +208,24 @@ releases: - 435.yml - release_summary.yml release_date: '2024-10-04' + 4.12.0: + changes: + breaking_changes: + - grafana - Update the dashboards to support Grafana 10.4 so that we're on an + officially supported version of Grafana. This does potentially break backward + compatibility with Grafana 9.x, so an update to Grafana 10.4 will be required + with this version of pgMonitor. + bugfixes: + - grafana - Fix etcd dashboard to use new metric names in etcd 3.5 + - postgres_exporter - Fix query for database table size to remove duplicate + word + - postgres_exporter - Fix query for pgBackRest monitoring to handle 3 number + versions + release_summary: Crunchy Data is pleased to announce the availability of pgMonitor + 4.12.0. This release primarily brings support for Grafana 10.4. See Changelog + for additional information. + fragments: + - 412_release.yml + - 425.yml + - 441.yml + release_date: '2024-11-04' diff --git a/changelogs/fragments/448.yml b/changelogs/fragments/448.yml new file mode 100644 index 00000000..c719ae8d --- /dev/null +++ b/changelogs/fragments/448.yml @@ -0,0 +1,3 @@ +--- +trivial: + - documentation - Update copyright year diff --git a/changelogs/fragments/package_docs.yml b/changelogs/fragments/package_docs.yml new file mode 100644 index 00000000..4dd28106 --- /dev/null +++ b/changelogs/fragments/package_docs.yml @@ -0,0 +1,3 @@ +--- +trivial: + - documentation - Make documentation around package vs non-package installs more clear and consistent. Remove postgres_exporter file references from PG Metrics list. diff --git a/grafana/common/crunchy_grafana_dashboards.yml b/grafana/common/crunchy_grafana_dashboards.yml index b7341271..90b27d82 100644 --- a/grafana/common/crunchy_grafana_dashboards.yml +++ b/grafana/common/crunchy_grafana_dashboards.yml @@ -1,6 +1,6 @@ ### # -# Copyright © 2017-2024 Crunchy Data Solutions, Inc. All Rights Reserved. +# Copyright © 2017-2025 Crunchy Data Solutions, Inc. All Rights Reserved. # ### apiVersion: 1 diff --git a/grafana/common/crunchy_grafana_datasource.yml b/grafana/common/crunchy_grafana_datasource.yml index 4221f572..ff08b034 100644 --- a/grafana/common/crunchy_grafana_datasource.yml +++ b/grafana/common/crunchy_grafana_datasource.yml @@ -1,6 +1,6 @@ ### # -# Copyright © 2017-2024 Crunchy Data Solutions, Inc. All Rights Reserved. +# Copyright © 2017-2025 Crunchy Data Solutions, Inc. All Rights Reserved. # ### diff --git a/grafana/containers/crunchy_grafana_dashboards.yml b/grafana/containers/crunchy_grafana_dashboards.yml index 12432445..336f61d5 100644 --- a/grafana/containers/crunchy_grafana_dashboards.yml +++ b/grafana/containers/crunchy_grafana_dashboards.yml @@ -1,6 +1,6 @@ ### # -# Copyright © 2017-2024 Crunchy Data Solutions, Inc. All Rights Reserved. +# Copyright © 2017-2025 Crunchy Data Solutions, Inc. All Rights Reserved. # ### apiVersion: 1 diff --git a/grafana/containers/crunchy_grafana_datasource.yml b/grafana/containers/crunchy_grafana_datasource.yml index e7c4dfcd..a4fad5bf 100644 --- a/grafana/containers/crunchy_grafana_datasource.yml +++ b/grafana/containers/crunchy_grafana_datasource.yml @@ -1,6 +1,6 @@ ### # -# Copyright © 2017-2024 Crunchy Data Solutions, Inc. All Rights Reserved. +# Copyright © 2017-2025 Crunchy Data Solutions, Inc. All Rights Reserved. # ### diff --git a/hugo/content/_index.md b/hugo/content/_index.md index ae0d4acb..23e7fd40 100644 --- a/hugo/content/_index.md +++ b/hugo/content/_index.md @@ -96,7 +96,7 @@ For the [full history](/changelog) of pgMonitor, please see the [CHANGELOG](/cha ## Legal Notices -Copyright © 2017-2024 Crunchy Data Solutions, Inc. All Rights Reserved. +Copyright © 2017-2025 Crunchy Data Solutions, Inc. All Rights Reserved. CRUNCHY DATA SOLUTIONS, INC. PROVIDES THIS GUIDE "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF NON INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. diff --git a/hugo/content/changelog/_index.md b/hugo/content/changelog/_index.md index 836f7f27..713bbab5 100644 --- a/hugo/content/changelog/_index.md +++ b/hugo/content/changelog/_index.md @@ -4,6 +4,26 @@ draft: false weight: 5 --- +## v4.12.0 + +Release Summary +--------------- + +Crunchy Data is pleased to announce the availability of pgMonitor 4.12.0. This release primarily brings support for Grafana 10.4. See Changelog for additional information. + +Breaking Changes / Porting Guide +-------------------------------- + +- grafana - Update the dashboards to support Grafana 10.4 so that we're on an officially supported version of Grafana. This does potentially break backward compatibility with Grafana 9.x, so an update to Grafana 10.4 will be required with this version of pgMonitor. + +Bugfixes +-------- + +- grafana - Fix etcd dashboard to use new metric names in etcd 3.5 +- postgres_exporter - Fix query for database table size to remove duplicate word +- postgres_exporter - Fix query for pgBackRest monitoring to handle 3 number versionso + + ## v5.1.1 ### Release Summary diff --git a/hugo/content/exporter/_index.md b/hugo/content/exporter/_index.md index 54b0d083..063b7a49 100644 --- a/hugo/content/exporter/_index.md +++ b/hugo/content/exporter/_index.md @@ -8,43 +8,44 @@ The Linux instructions below use RHEL, but any Linux-based system should work. [ - [Installation](#installation) - - [RPM installs](#rpm-installs) - - [Non-RPMs installs](#non-rpm-installs) + - [Package Install](#package-install) + - [Non-Package Install](#non-package-install) - [Upgrading](#upgrading) - [Setup](#setup) - - [RHEL or CentOS](#setup-on-rhel-or-centos) + - [RHEL](#setup-on-rhel) - [Metrics Collected](#metrics-collected) - [PostgreSQL](#postgresql) - [System](#system) - [Legacy postgres_exporter Setup](#postgres-exporter) -IMPORTANT NOTE: As of pgMonitor version 5.0.0, postgres_exporter has been deprecated in favor of sql_exporter. Support for postgres_exporter is still possible with 5.0, but only for bug fixes while custom queries are still supported. No new features will be added using postgres_exporter and it will be fully obsoleted in a future version of pgMonitor. We recommend migrating to sql_exporter as soon as possible. +IMPORTANT NOTE: As of pgMonitor version 5.0.0, postgres_exporter has been deprecated in favor of sql_exporter. Support for postgres_exporter is still possible with 5.0, but only for bug fixes while custom queries are still supported upstream. No new features will be added using postgres_exporter and it will be fully obsoleted in a future version of pgMonitor. We recommend migrating to sql_exporter as soon as possible. ## Installation {#installation} -### RPM installs {#rpm-installs} +### Package Install {#package-install} The following RPM packages are available to [Crunchy Data](https://www.crunchydata.com) customers through the [Crunchy Customer Portal](https://access.crunchydata.com/). To access the pgMonitor packages, please follow the same instructions for setting up access to the Crunchy Postgres packages. After installing via these packages, continue reading at the [Setup](#setup) section. -##### Available Packages +#### Available Packages -| Package Name | Description | -|--------------------------------|---------------------------------------------------------------------------| -| blackbox-exporter | Package for the blackbox_exporter | -| node-exporter | Base package for node_exporter | -| pg-bloat-check | Package for pg_bloat_check script | -| pgmonitor-node_exporter-extras | Crunchy-optimized configurations for node_exporter | -| pgmonitor-pg##-extension | Crunchy monitoring PostgreSQL extension used by sql_exporter | -| sql-exporter | Base package for sql_exporter | -| sql-exporter-extras | Crunchy-optimized configurations for sql_exporter | +| Package Name | Description | +|---------------------------------------|---------------------------------------------------------------------------| +| blackbox-exporter | Package for the blackbox_exporter | +| pgmonitor-blackbox-exporter-extras | Crunchy-optimized configurations for blackbox_exporter | +| node-exporter | Base package for node_exporter | +| pg-bloat-check | Package for pg_bloat_check script | +| pgmonitor-node_exporter-extras | Crunchy-optimized configurations for node_exporter | +| pgmonitor-pg##-extension | Crunchy monitoring PostgreSQL extension used by sql_exporter | +| sql-exporter | Base package for sql_exporter | +| pgmonitor-sql-exporter-extras | Crunchy-optimized configurations for sql_exporter | -### Non-RPM installs {#non-rpm-installs} +### Non-Package Install {#non-package-install} For non-package installations on Linux, applications can be downloaded from their respective repositories: @@ -127,7 +128,7 @@ Note that blackbox_exporter is typically installed on the Prometheus node and do ## Setup {#setup} -### Setup on RHEL or CentOS {#setup-on-rhel-or-centos} +### Setup on RHEL {#setup-on-rhel} #### Service Configuration @@ -332,7 +333,7 @@ PostgreSQL metrics are collected by [sql_exporter](https://github.com/burningalc #### Common Metrics -Metrics contained in the `queries_global.yml` file. These metrics are common to all versions of PostgreSQL and are recommended as a minimum default for the global exporter. +These metrics are common to all versions of PostgreSQL and are recommended as a minimum default for the global exporter exporter connection. * *ccp_archive_command_status_seconds_since_last_fail* - Seconds since the last `archive_command` run failed. If zero, the `archive_command` is succeeding without error. @@ -429,7 +430,7 @@ The following `ccp_stat_database_*` metrics are statistics collected from the [p #### PostgreSQL Version Specific Metrics -The following metrics either require special considerations when monitoring specific versions of PostgreSQL, or are only available for specific versions. These metrics are found in the `queries_pg##.yml` files, where ## is the major version of PG. Unless otherwise noted, the below metrics are available for all versions of PG. These metrics are recommend as a minimum default for the global exporter. +The following metrics either require special considerations when monitoring specific versions of PostgreSQL, or are only available for specific versions. Unless otherwise noted, the below metrics are available for all versions of PG. These metrics are recommend as a minimum default for the global exporter. * *ccp_data_checksum_failure_count* - PostgreSQL 12 and later only. Total number of checksum failures on this database. @@ -437,7 +438,7 @@ The following metrics either require special considerations when monitoring spec #### Backup Metrics -Backup monitoring only covers pgBackRest at this time. These metrics are found in the `queries_backrest.yml` file. These metrics only need to be collected once per database instance so should be collected by the global postgres_exporter. +Backup monitoring only covers pgBackRest at this time. These metrics only need to be collected once per PostgreSQL instance so should be collected by the global exporter connection. * *ccp_backrest_last_full_backup_time_since_completion_seconds* - Time since completion of last pgBackRest FULL backup @@ -455,7 +456,7 @@ Backup monitoring only covers pgBackRest at this time. These metrics are found i #### Per-Database Metrics -These are metrics that are only available on a per-database level. These metrics are found in the `queries_per_db.yml` file. These metrics are optional and recommended for the non-global, per-db postgres_exporter. They can be included in the global exporter as well if the global database needs per-database metrics monitored. Please note that depending on the number of objects in your database, collecting these metrics can greatly increase the storage requirements for Prometheus since all of these metrics are being collected for each individual object. +These are metrics that are only available on a per-database level. These metrics are optional and recommended for the non-global, per-db exporter connection. They can be included in the global exporter as well if the global database needs per-database metrics monitored. Please note that depending on the number of objects in your database, collecting these metrics can greatly increase the storage requirements for Prometheus since all of these metrics are being collected for each individual object. * *ccp_table_size_size_bytes* - Table size inclusive of all indexes in that table @@ -477,7 +478,7 @@ The following `ccp_stat_user_tables_*` metrics are statistics collected from the #### Bloat Metrics -Bloat metrics are only available if the `pg_bloat_check` script has been setup to run. See instructions above. These metrics are found in the `queries_bloat.yml` file. These metrics are per-database so, should be used by the per-db postgres_exporter. +Bloat metrics are only available if the `pg_bloat_check` script has been setup to run. See instructions above. These metrics are per-database so, should be used by the per-db exporter connection. * *ccp_bloat_check_size_bytes* - Size of object in bytes @@ -533,7 +534,7 @@ There are many other suggestions, projects, and exporters out there that can pro ## Legacy postgres_exporter Setup {#postgres-exporter} -If you had been using pgMonitor prior to version 5.0.0, postgres_exporter was the method used to collect PostgreSQL metrics. This exporter can still be used with 5.0.0, but there are some additional steps required. It is HIGHLY recommended to switch to using sql_exporter as soon as possible. Custom query support will be dropped from postgres_exporter at some point in the future and that will break pgMonitor since it relies solely on custom queries. No new features of pgMonitor are being developed around postgres_exporter. +If you had been using pgMonitor prior to version 5.0.0, postgres_exporter was the method used to collect PostgreSQL metrics. This exporter can still be used with 5.0.0, but there are some additional steps required and it will be deprecated in the near future. It is HIGHLY recommended to switch to using sql_exporter as soon as possible. Custom query support will be dropped from postgres_exporter at some point in the future and that will break pgMonitor since it relies solely on custom queries. No new features of pgMonitor are being developed around postgres_exporter. Most of the installation steps are the same as above with the below differences for the relevant sections. diff --git a/hugo/content/grafana/_index.md b/hugo/content/grafana/_index.md index 38259cd7..9c5917ef 100644 --- a/hugo/content/grafana/_index.md +++ b/hugo/content/grafana/_index.md @@ -6,10 +6,11 @@ weight: 3 - [Included Dashboards](#dashboards) - [Installation](#installation) - - [Linux](#linux) + - [Package Install](#package-install) + - [Non-Package Install](#non-package-install) - [Upgrading](#upgrading) - [Setup](#setup) - - [Linux](#setup-on-linux) + - [RHEL](#setup-on-linux) ### Included Dashboards {#dashboards} @@ -40,9 +41,7 @@ pgMonitor comes with several dashboards ready to be used with automatic provisio ## Installation {#installation} -### Linux {#linux} - -#### With RPM Packages +### Package Install {#package-install} There are RPM packages available to [Crunchy Data](https://www.crunchydata.com) customers through the [Crunchy Customer Portal](https://access.crunchydata.com/). To access the pgMonitor packages, please follow the same instructions for setting up access to the Crunchy Postgres packages. @@ -56,6 +55,7 @@ If you install the below available packages, you can continue reading at the [Se | pgmonitor-grafana-extras-common | Crunchy files common for all Grafana installations (Ex. datasource & dashboard provisioning) | | pgmonitor-grafana-extras-etcd | Crunchy dashboards for etcd (etcd built-in exporter) | | pgmonitor-grafana-extras-linux | Crunchy dashboards for Linux OS metrics (node_exporter) | +| pgmonitor-grafana-extras-haproxy | Crunchy dashboards for HAProxy (built-in exporter) | | pgmonitor-grafana-extras-pg | Crunchy dashboards for PostgreSQL metrics common to all PG exporters | | pgmonitor-grafana-extras-pg-postgres-exporter | Crunchy dashboards for metrics provided by postgres_exporter (see version 5 upgrade for deprecation notice) | | pgmonitor-grafana-extras-pg-sql-exporter | Crunchy dashboards for metrics provided by the sql_exporter | @@ -63,7 +63,7 @@ If you install the below available packages, you can continue reading at the [Se | pgmonitor-grafana-extras-pgbouncer-fdw | Crunchy dashboards for PgBouncer metrics collected via the pgbouncer_fdw | | pgmonitor-grafana-extras-prometheus | Crunchy dashboards for proividing direct Prometheus visualization (alerting) | -#### Without Packages +### Non-Package Install {#non-package-install} Create the following directories on your grafana server if they don't exist: @@ -94,7 +94,7 @@ Please note that due to the change from postgres_exporter to sql_exporter, and i ## Setup {#setup} -### Setup on Linux {#setup-on-linux} +### Setup on RHEL {#setup-on-linux} #### Configuration Database diff --git a/hugo/content/prometheus/_index.md b/hugo/content/prometheus/_index.md index 8114b336..4892c036 100644 --- a/hugo/content/prometheus/_index.md +++ b/hugo/content/prometheus/_index.md @@ -7,16 +7,15 @@ weight: 2 Prometheus can be set up on any Linux-based system, but pgMonitor currently only supports running it on RHEL/CentOS 7 or later. - [Installation](#installation) - - [RHEL / CentOS](#rhel-centos) + - [Package Install](#package-install) + - [Non-Package Install](#non-package-install) - [Upgrading](#upgrading) - [Setup](#setup) - - [RHEL / CentOS](#setup-on-rhel-centos) + - [RHEL](#setup-on-rhel) ## Installation {#installation} -### RHEL / CentOS {#rhel-centos} - -#### With RPM Packages +### Package Install {#package-install} There are RPM packages available to [Crunchy Data](https://www.crunchydata.com) customers through the [Crunchy Customer Portal](https://access.crunchydata.com/). To access the pgMonitor packages, please follow the same instructions for setting up access to the Crunchy Postgres packages. @@ -31,20 +30,20 @@ After installing via these RPMs, you can continue reading at the [Setup](#setup) | pgmonitor-alertmanager-extras | Custom Crunchy configurations for Alertmanager | | pgmonitor-prometheus-extras | Custom Crunchy configurations for Prometheus | -#### Without Crunchy Data Packages +### Non-Package Install {#non-package-install} For installations without using packages provided by Crunchy Data, we recommend using the repository maintained at https://github.com/lest/prometheus-rpm. Instructions for setup and installation are contained there. Note this only sets up the base service. The additional files and steps for pgMonitor still need to be set up as instructed below. Or you can also download [Prometheus](https://prometheus.io/) and [Alertmanager](https://prometheus.io/docs/alerting/alertmanager/) from the original site at [https://prometheus.io/download](https://prometheus.io/download). Note that no base service setup is provided here, just the binaries. -##### Minimum Versions +#### Minimum Versions pgMonitor has been tested with the following versions at a minimum. Later versions should generally work. If they do not, please open an issue on our Github. * Prometheus 2.49.1 * Alertmanager 0.26.0 -##### User and Configuration Directory Installation +#### User and Configuration Directory Installation You will need to create a system user named {{< shell >}}ccp_monitoring{{< /shell >}} which you can do with the following command: @@ -52,11 +51,11 @@ You will need to create a system user named {{< shell >}}ccp_monitoring{{< /shel sudo useradd -m -d /var/lib/ccp_monitoring ccp_monitoring ``` -##### Configuration File Installation +#### Configuration File Installation The files contained in this repository are assumed to be installed in the following locations with the following names: -###### Prometheus +##### Prometheus The Prometheus data directory should be {{< shell >}}/var/lib/ccp_monitoring/prometheus{{< /shell >}} and owned by the {{< shell >}}ccp_monitoring{{< /shell >}} user. You can set it up with: @@ -76,7 +75,7 @@ The following pgmonitor configuration files should be placed according to the fo | prometheus/common/auto.d/\*.yml.example | /etc/prometheus/auto.d/*.yml.example | | prometheus/common/alert-rules.d/crunchy-alert-rules\*.yml.example | /etc/prometheus/alert-rules.d/crunchy-alert-rules-\*.yml.example | -###### Alertmanager +##### Alertmanager The Alertmanager data directory should be `/var/lib/ccp_monitoring/alertmanager` and owned by the `ccp_monitoring` user. You can set it up with: @@ -93,7 +92,7 @@ The following pgMonitor configuration files should be placed according to the fo | alertmanager/common/crunchy-alertmanager.yml | /etc/prometheus/crunchy-alertmanager.yml | -### Upgrading {#upgrading} +## Upgrading {#upgrading} * If you are upgrading to version 5.0 and transitioning to using the new sql_exporter, please see the documentation in [Upgrading to pgMonitor v5.0.0](/changelog/v5_upgrade/) * See the [CHANGELOG ](/changelog) for full details on both major & minor version upgrades. @@ -101,7 +100,7 @@ The following pgMonitor configuration files should be placed according to the fo ## Setup {#setup} -### Setup on RHEL/CentOS {#setup-on-rhel-centos} +### Setup on RHEL {#setup-on-rhel} #### Service Configuration diff --git a/node_exporter/linux/ccp_io_queue.sh b/node_exporter/linux/ccp_io_queue.sh index 6ac4952f..f258a5c8 100755 --- a/node_exporter/linux/ccp_io_queue.sh +++ b/node_exporter/linux/ccp_io_queue.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash ### # -# Copyright © 2017-2024 Crunchy Data Solutions, Inc. All Rights Reserved. +# Copyright © 2017-2025 Crunchy Data Solutions, Inc. All Rights Reserved. # ### diff --git a/node_exporter/linux/crunchy-node-exporter-service-rhel.conf b/node_exporter/linux/crunchy-node-exporter-service-rhel.conf index 10112bb3..01f9a802 100644 --- a/node_exporter/linux/crunchy-node-exporter-service-rhel.conf +++ b/node_exporter/linux/crunchy-node-exporter-service-rhel.conf @@ -1,6 +1,6 @@ ### # -# Copyright © 2017-2024 Crunchy Data Solutions, Inc. All Rights Reserved. +# Copyright © 2017-2025 Crunchy Data Solutions, Inc. All Rights Reserved. # ### diff --git a/node_exporter/linux/sysconfig.node_exporter b/node_exporter/linux/sysconfig.node_exporter index b3e0f7f5..da7de309 100644 --- a/node_exporter/linux/sysconfig.node_exporter +++ b/node_exporter/linux/sysconfig.node_exporter @@ -1,6 +1,6 @@ ### # -# Copyright © 2017-2024 Crunchy Data Solutions, Inc. All Rights Reserved. +# Copyright © 2017-2025 Crunchy Data Solutions, Inc. All Rights Reserved. # ### diff --git a/postgres_exporter/common/pg11/queries_general.yml b/postgres_exporter/common/pg11/queries_general.yml index ec2458c2..e2b97ebf 100644 --- a/postgres_exporter/common/pg11/queries_general.yml +++ b/postgres_exporter/common/pg11/queries_general.yml @@ -2,7 +2,7 @@ # # Begin File: PG11 queries_general.yml # -# Copyright © 2017-2024 Crunchy Data Solutions, Inc. All Rights Reserved. +# Copyright © 2017-2025 Crunchy Data Solutions, Inc. All Rights Reserved. # ### diff --git a/postgres_exporter/common/pg11/queries_pg_stat_statements.yml b/postgres_exporter/common/pg11/queries_pg_stat_statements.yml index dca7328b..411dd445 100644 --- a/postgres_exporter/common/pg11/queries_pg_stat_statements.yml +++ b/postgres_exporter/common/pg11/queries_pg_stat_statements.yml @@ -2,7 +2,7 @@ # # Begin File: PG11 queries_pg_stat_statements.yml # -# Copyright © 2017-2024 Crunchy Data Solutions, Inc. All Rights Reserved. +# Copyright © 2017-2025 Crunchy Data Solutions, Inc. All Rights Reserved. # ### diff --git a/postgres_exporter/common/pg11/setup.sql b/postgres_exporter/common/pg11/setup.sql index 8f593bde..a1ffe357 100644 --- a/postgres_exporter/common/pg11/setup.sql +++ b/postgres_exporter/common/pg11/setup.sql @@ -1,6 +1,6 @@ -- PG11 pgMonitor Setup -- --- Copyright © 2017-2024 Crunchy Data Solutions, Inc. All Rights Reserved. +-- Copyright © 2017-2025 Crunchy Data Solutions, Inc. All Rights Reserved. -- DO $$ diff --git a/postgres_exporter/common/pg12/queries_general.yml b/postgres_exporter/common/pg12/queries_general.yml index fb2a9d4c..ca7c3c1e 100644 --- a/postgres_exporter/common/pg12/queries_general.yml +++ b/postgres_exporter/common/pg12/queries_general.yml @@ -2,7 +2,7 @@ # # Begin File: PG12 queries_general.yml # -# Copyright © 2017-2024 Crunchy Data Solutions, Inc. All Rights Reserved. +# Copyright © 2017-2025 Crunchy Data Solutions, Inc. All Rights Reserved. # ### diff --git a/postgres_exporter/common/pg12/queries_pg_stat_statements.yml b/postgres_exporter/common/pg12/queries_pg_stat_statements.yml index 224a9d57..56f3a9a7 100644 --- a/postgres_exporter/common/pg12/queries_pg_stat_statements.yml +++ b/postgres_exporter/common/pg12/queries_pg_stat_statements.yml @@ -2,7 +2,7 @@ # # Begin File: PG12 queries_pg_stat_statements.yml # -# Copyright © 2017-2024 Crunchy Data Solutions, Inc. All Rights Reserved. +# Copyright © 2017-2025 Crunchy Data Solutions, Inc. All Rights Reserved. # ### diff --git a/postgres_exporter/common/pg12/queries_pg_stat_statements_reset_info.yml b/postgres_exporter/common/pg12/queries_pg_stat_statements_reset_info.yml index ba78f5e4..e5331dd3 100644 --- a/postgres_exporter/common/pg12/queries_pg_stat_statements_reset_info.yml +++ b/postgres_exporter/common/pg12/queries_pg_stat_statements_reset_info.yml @@ -2,7 +2,7 @@ # # Begin File: pg_stat_statements_reset_info.yml # -# Copyright © 2017-2024 Crunchy Data Solutions, Inc. All Rights Reserved. +# Copyright © 2017-2025 Crunchy Data Solutions, Inc. All Rights Reserved. # ### ccp_pg_stat_statements_reset: diff --git a/postgres_exporter/common/pg12/setup.sql b/postgres_exporter/common/pg12/setup.sql index 325d0937..c218a355 100644 --- a/postgres_exporter/common/pg12/setup.sql +++ b/postgres_exporter/common/pg12/setup.sql @@ -1,6 +1,6 @@ -- PG12 pgMonitor Setup -- --- Copyright © 2017-2024 Crunchy Data Solutions, Inc. All Rights Reserved. +-- Copyright © 2017-2025 Crunchy Data Solutions, Inc. All Rights Reserved. -- DO $$ diff --git a/postgres_exporter/common/pg13/queries_general.yml b/postgres_exporter/common/pg13/queries_general.yml index 5874da6e..41bd3f33 100644 --- a/postgres_exporter/common/pg13/queries_general.yml +++ b/postgres_exporter/common/pg13/queries_general.yml @@ -2,7 +2,7 @@ # # Begin File: PG13 queries_general.yml # -# Copyright © 2017-2024 Crunchy Data Solutions, Inc. All Rights Reserved. +# Copyright © 2017-2025 Crunchy Data Solutions, Inc. All Rights Reserved. # ### diff --git a/postgres_exporter/common/pg13/queries_pg_stat_statements.yml b/postgres_exporter/common/pg13/queries_pg_stat_statements.yml index c5158858..0f80f838 100644 --- a/postgres_exporter/common/pg13/queries_pg_stat_statements.yml +++ b/postgres_exporter/common/pg13/queries_pg_stat_statements.yml @@ -2,7 +2,7 @@ # # Begin File: PG13 queries_pg_stat_statements.yml # -# Copyright © 2017-2024 Crunchy Data Solutions, Inc. All Rights Reserved. +# Copyright © 2017-2025 Crunchy Data Solutions, Inc. All Rights Reserved. # ### diff --git a/postgres_exporter/common/pg13/queries_pg_stat_statements_reset_info.yml b/postgres_exporter/common/pg13/queries_pg_stat_statements_reset_info.yml index ba78f5e4..e5331dd3 100644 --- a/postgres_exporter/common/pg13/queries_pg_stat_statements_reset_info.yml +++ b/postgres_exporter/common/pg13/queries_pg_stat_statements_reset_info.yml @@ -2,7 +2,7 @@ # # Begin File: pg_stat_statements_reset_info.yml # -# Copyright © 2017-2024 Crunchy Data Solutions, Inc. All Rights Reserved. +# Copyright © 2017-2025 Crunchy Data Solutions, Inc. All Rights Reserved. # ### ccp_pg_stat_statements_reset: diff --git a/postgres_exporter/common/pg13/setup.sql b/postgres_exporter/common/pg13/setup.sql index 3f267f88..382f1c35 100644 --- a/postgres_exporter/common/pg13/setup.sql +++ b/postgres_exporter/common/pg13/setup.sql @@ -1,6 +1,6 @@ -- PG13 pgMonitor Setup -- --- Copyright © 2017-2024 Crunchy Data Solutions, Inc. All Rights Reserved. +-- Copyright © 2017-2025 Crunchy Data Solutions, Inc. All Rights Reserved. -- DO $$ diff --git a/postgres_exporter/common/pg14/queries_general.yml b/postgres_exporter/common/pg14/queries_general.yml index dae4c865..95c9bd3d 100644 --- a/postgres_exporter/common/pg14/queries_general.yml +++ b/postgres_exporter/common/pg14/queries_general.yml @@ -2,7 +2,7 @@ # # Begin File: PG14 queries_general.yml # -# Copyright © 2017-2024 Crunchy Data Solutions, Inc. All Rights Reserved. +# Copyright © 2017-2025 Crunchy Data Solutions, Inc. All Rights Reserved. # ### diff --git a/postgres_exporter/common/pg14/queries_pg_stat_statements.yml b/postgres_exporter/common/pg14/queries_pg_stat_statements.yml index 83ebebd6..5113feea 100644 --- a/postgres_exporter/common/pg14/queries_pg_stat_statements.yml +++ b/postgres_exporter/common/pg14/queries_pg_stat_statements.yml @@ -2,7 +2,7 @@ # # Begin File: PG14 queries_pg_stat_statements.yml # -# Copyright © 2017-2024 Crunchy Data Solutions, Inc. All Rights Reserved. +# Copyright © 2017-2025 Crunchy Data Solutions, Inc. All Rights Reserved. # ### diff --git a/postgres_exporter/common/pg14/queries_pg_stat_statements_reset_info.yml b/postgres_exporter/common/pg14/queries_pg_stat_statements_reset_info.yml index ba78f5e4..e5331dd3 100644 --- a/postgres_exporter/common/pg14/queries_pg_stat_statements_reset_info.yml +++ b/postgres_exporter/common/pg14/queries_pg_stat_statements_reset_info.yml @@ -2,7 +2,7 @@ # # Begin File: pg_stat_statements_reset_info.yml # -# Copyright © 2017-2024 Crunchy Data Solutions, Inc. All Rights Reserved. +# Copyright © 2017-2025 Crunchy Data Solutions, Inc. All Rights Reserved. # ### ccp_pg_stat_statements_reset: diff --git a/postgres_exporter/common/pg14/setup.sql b/postgres_exporter/common/pg14/setup.sql index 313c0e0d..a9ce3a95 100644 --- a/postgres_exporter/common/pg14/setup.sql +++ b/postgres_exporter/common/pg14/setup.sql @@ -1,6 +1,6 @@ -- PG14 pgMonitor Setup -- --- Copyright © 2017-2024 Crunchy Data Solutions, Inc. All Rights Reserved. +-- Copyright © 2017-2025 Crunchy Data Solutions, Inc. All Rights Reserved. -- DO $$ diff --git a/postgres_exporter/common/pg15/queries_general.yml b/postgres_exporter/common/pg15/queries_general.yml index 353f88c0..3b2f755d 100644 --- a/postgres_exporter/common/pg15/queries_general.yml +++ b/postgres_exporter/common/pg15/queries_general.yml @@ -2,7 +2,7 @@ # # Begin File: PG15 queries_general.yml # -# Copyright © 2017-2024 Crunchy Data Solutions, Inc. All Rights Reserved. +# Copyright © 2017-2025 Crunchy Data Solutions, Inc. All Rights Reserved. # ### diff --git a/postgres_exporter/common/pg15/queries_pg_stat_statements.yml b/postgres_exporter/common/pg15/queries_pg_stat_statements.yml index 6fec20c8..a44261f8 100644 --- a/postgres_exporter/common/pg15/queries_pg_stat_statements.yml +++ b/postgres_exporter/common/pg15/queries_pg_stat_statements.yml @@ -2,7 +2,7 @@ # # Begin File: PG15 queries_pg_stat_statements.yml # -# Copyright © 2017-2024 Crunchy Data Solutions, Inc. All Rights Reserved. +# Copyright © 2017-2025 Crunchy Data Solutions, Inc. All Rights Reserved. # ### diff --git a/postgres_exporter/common/pg15/queries_pg_stat_statements_reset_info.yml b/postgres_exporter/common/pg15/queries_pg_stat_statements_reset_info.yml index ba78f5e4..e5331dd3 100644 --- a/postgres_exporter/common/pg15/queries_pg_stat_statements_reset_info.yml +++ b/postgres_exporter/common/pg15/queries_pg_stat_statements_reset_info.yml @@ -2,7 +2,7 @@ # # Begin File: pg_stat_statements_reset_info.yml # -# Copyright © 2017-2024 Crunchy Data Solutions, Inc. All Rights Reserved. +# Copyright © 2017-2025 Crunchy Data Solutions, Inc. All Rights Reserved. # ### ccp_pg_stat_statements_reset: diff --git a/postgres_exporter/common/pg15/setup.sql b/postgres_exporter/common/pg15/setup.sql index 2c98b294..fa435ad3 100644 --- a/postgres_exporter/common/pg15/setup.sql +++ b/postgres_exporter/common/pg15/setup.sql @@ -1,6 +1,6 @@ -- PG15 pgMonitor Setup -- --- Copyright © 2017-2024 Crunchy Data Solutions, Inc. All Rights Reserved. +-- Copyright © 2017-2025 Crunchy Data Solutions, Inc. All Rights Reserved. -- DO $$ diff --git a/postgres_exporter/common/pg16/queries_general.yml b/postgres_exporter/common/pg16/queries_general.yml index 5dbe64bb..19bd1d4d 100644 --- a/postgres_exporter/common/pg16/queries_general.yml +++ b/postgres_exporter/common/pg16/queries_general.yml @@ -2,7 +2,7 @@ # # Begin File: PG16 queries_general.yml # -# Copyright © 2017-2024 Crunchy Data Solutions, Inc. All Rights Reserved. +# Copyright © 2017-2025 Crunchy Data Solutions, Inc. All Rights Reserved. # ### diff --git a/postgres_exporter/common/pg16/queries_pg_stat_statements.yml b/postgres_exporter/common/pg16/queries_pg_stat_statements.yml index 68d33b7f..bb0e1d84 100644 --- a/postgres_exporter/common/pg16/queries_pg_stat_statements.yml +++ b/postgres_exporter/common/pg16/queries_pg_stat_statements.yml @@ -2,7 +2,7 @@ # # Begin File: PG16 queries_pg_stat_statements.yml # -# Copyright © 2017-2024 Crunchy Data Solutions, Inc. All Rights Reserved. +# Copyright © 2017-2025 Crunchy Data Solutions, Inc. All Rights Reserved. # ### diff --git a/postgres_exporter/common/pg16/queries_pg_stat_statements_reset_info.yml b/postgres_exporter/common/pg16/queries_pg_stat_statements_reset_info.yml index ba78f5e4..e5331dd3 100644 --- a/postgres_exporter/common/pg16/queries_pg_stat_statements_reset_info.yml +++ b/postgres_exporter/common/pg16/queries_pg_stat_statements_reset_info.yml @@ -2,7 +2,7 @@ # # Begin File: pg_stat_statements_reset_info.yml # -# Copyright © 2017-2024 Crunchy Data Solutions, Inc. All Rights Reserved. +# Copyright © 2017-2025 Crunchy Data Solutions, Inc. All Rights Reserved. # ### ccp_pg_stat_statements_reset: diff --git a/postgres_exporter/common/pg16/setup.sql b/postgres_exporter/common/pg16/setup.sql index 2307a744..0faab9d1 100644 --- a/postgres_exporter/common/pg16/setup.sql +++ b/postgres_exporter/common/pg16/setup.sql @@ -1,6 +1,6 @@ -- PG16 pgMonitor Setup -- --- Copyright © 2017-2024 Crunchy Data Solutions, Inc. All Rights Reserved. +-- Copyright © 2017-2025 Crunchy Data Solutions, Inc. All Rights Reserved. -- DO $$ diff --git a/postgres_exporter/common/pg17/queries_general.yml b/postgres_exporter/common/pg17/queries_general.yml index 0565eb1c..f684305d 100644 --- a/postgres_exporter/common/pg17/queries_general.yml +++ b/postgres_exporter/common/pg17/queries_general.yml @@ -2,7 +2,7 @@ # # Begin File: PG17 queries_general.yml # -# Copyright © 2017-2024 Crunchy Data Solutions, Inc. All Rights Reserved. +# Copyright © 2017-2025 Crunchy Data Solutions, Inc. All Rights Reserved. # ### diff --git a/postgres_exporter/common/pg17/queries_pg_stat_statements.yml b/postgres_exporter/common/pg17/queries_pg_stat_statements.yml index 9f1a827e..076f09f5 100644 --- a/postgres_exporter/common/pg17/queries_pg_stat_statements.yml +++ b/postgres_exporter/common/pg17/queries_pg_stat_statements.yml @@ -2,7 +2,7 @@ # # Begin File: PG17 queries_pg_stat_statements.yml # -# Copyright © 2017-2024 Crunchy Data Solutions, Inc. All Rights Reserved. +# Copyright © 2017-2025 Crunchy Data Solutions, Inc. All Rights Reserved. # ### diff --git a/postgres_exporter/common/pg17/queries_pg_stat_statements_reset_info.yml b/postgres_exporter/common/pg17/queries_pg_stat_statements_reset_info.yml index ba78f5e4..e5331dd3 100644 --- a/postgres_exporter/common/pg17/queries_pg_stat_statements_reset_info.yml +++ b/postgres_exporter/common/pg17/queries_pg_stat_statements_reset_info.yml @@ -2,7 +2,7 @@ # # Begin File: pg_stat_statements_reset_info.yml # -# Copyright © 2017-2024 Crunchy Data Solutions, Inc. All Rights Reserved. +# Copyright © 2017-2025 Crunchy Data Solutions, Inc. All Rights Reserved. # ### ccp_pg_stat_statements_reset: diff --git a/postgres_exporter/common/pg17/setup.sql b/postgres_exporter/common/pg17/setup.sql index 2527539b..4c9752c1 100644 --- a/postgres_exporter/common/pg17/setup.sql +++ b/postgres_exporter/common/pg17/setup.sql @@ -1,6 +1,6 @@ -- PG17 pgMonitor Setup -- --- Copyright © 2017-2024 Crunchy Data Solutions, Inc. All Rights Reserved. +-- Copyright © 2017-2025 Crunchy Data Solutions, Inc. All Rights Reserved. -- DO $$ diff --git a/postgres_exporter/common/queries_bloat.yml b/postgres_exporter/common/queries_bloat.yml index da53a1d8..9cafa648 100644 --- a/postgres_exporter/common/queries_bloat.yml +++ b/postgres_exporter/common/queries_bloat.yml @@ -1,6 +1,6 @@ ### # -# Copyright © 2017-2024 Crunchy Data Solutions, Inc. All Rights Reserved. +# Copyright © 2017-2025 Crunchy Data Solutions, Inc. All Rights Reserved. # # Begin File: queries_bloat.yml # diff --git a/postgres_exporter/common/queries_global.yml b/postgres_exporter/common/queries_global.yml index 11c084c3..a393049f 100644 --- a/postgres_exporter/common/queries_global.yml +++ b/postgres_exporter/common/queries_global.yml @@ -1,6 +1,6 @@ ### # -# Copyright © 2017-2024 Crunchy Data Solutions, Inc. All Rights Reserved. +# Copyright © 2017-2025 Crunchy Data Solutions, Inc. All Rights Reserved. # # Begin File: queries_global.yml # diff --git a/postgres_exporter/common/queries_global_dbsize.yml b/postgres_exporter/common/queries_global_dbsize.yml index 014db1ed..49f6c767 100644 --- a/postgres_exporter/common/queries_global_dbsize.yml +++ b/postgres_exporter/common/queries_global_dbsize.yml @@ -1,6 +1,6 @@ ### # -# Copyright © 2017-2024 Crunchy Data Solutions, Inc. All Rights Reserved. +# Copyright © 2017-2025 Crunchy Data Solutions, Inc. All Rights Reserved. # # Begin File: queries_global_dbsize.yml # diff --git a/postgres_exporter/common/queries_global_matview.yml b/postgres_exporter/common/queries_global_matview.yml index e4773ca2..a6ed17f7 100644 --- a/postgres_exporter/common/queries_global_matview.yml +++ b/postgres_exporter/common/queries_global_matview.yml @@ -1,6 +1,6 @@ ### # -# Copyright © 2017-2024 Crunchy Data Solutions, Inc. All Rights Reserved. +# Copyright © 2017-2025 Crunchy Data Solutions, Inc. All Rights Reserved. # # Begin File: queries_global_matview.yml # diff --git a/postgres_exporter/common/queries_per_db.yml b/postgres_exporter/common/queries_per_db.yml index 1b5985d0..0b436fed 100644 --- a/postgres_exporter/common/queries_per_db.yml +++ b/postgres_exporter/common/queries_per_db.yml @@ -1,6 +1,6 @@ ### # -# Copyright © 2017-2024 Crunchy Data Solutions, Inc. All Rights Reserved. +# Copyright © 2017-2025 Crunchy Data Solutions, Inc. All Rights Reserved. # # Begin File: queries_per_db.yml # diff --git a/postgres_exporter/common/queries_per_db_matview.yml b/postgres_exporter/common/queries_per_db_matview.yml index 3d46a3ca..f63cdc3a 100644 --- a/postgres_exporter/common/queries_per_db_matview.yml +++ b/postgres_exporter/common/queries_per_db_matview.yml @@ -1,6 +1,6 @@ ### # -# Copyright © 2017-2024 Crunchy Data Solutions, Inc. All Rights Reserved. +# Copyright © 2017-2025 Crunchy Data Solutions, Inc. All Rights Reserved. # # Begin File: queries_per_db_matview.yml # diff --git a/postgres_exporter/common/queries_pgbouncer.yml b/postgres_exporter/common/queries_pgbouncer.yml index f22787c4..26387b92 100644 --- a/postgres_exporter/common/queries_pgbouncer.yml +++ b/postgres_exporter/common/queries_pgbouncer.yml @@ -1,6 +1,6 @@ ### # -# Copyright © 2017-2024 Crunchy Data Solutions, Inc. All Rights Reserved. +# Copyright © 2017-2025 Crunchy Data Solutions, Inc. All Rights Reserved. # # Begin File: queries_pgbouncer.yml # diff --git a/postgres_exporter/linux/crontab.txt b/postgres_exporter/linux/crontab.txt index b72cd385..78397ede 100644 --- a/postgres_exporter/linux/crontab.txt +++ b/postgres_exporter/linux/crontab.txt @@ -1,6 +1,6 @@ ### # -# Copyright © 2017-2024 Crunchy Data Solutions, Inc. All Rights Reserved. +# Copyright © 2017-2025 Crunchy Data Solutions, Inc. All Rights Reserved. # ### # The below script must be run as a user with the pg_read_all_data role or a superuser. You may have to adjust your pg_hba.conf to allow this and/or use a .pgpass file diff --git a/postgres_exporter/linux/crunchy-postgres-exporter@.service b/postgres_exporter/linux/crunchy-postgres-exporter@.service index 33f98f8e..1c269187 100644 --- a/postgres_exporter/linux/crunchy-postgres-exporter@.service +++ b/postgres_exporter/linux/crunchy-postgres-exporter@.service @@ -1,6 +1,6 @@ ### # -# Copyright © 2017-2024 Crunchy Data Solutions, Inc. All Rights Reserved. +# Copyright © 2017-2025 Crunchy Data Solutions, Inc. All Rights Reserved. # ### # Template systemd service file to allow multiple postgres exporters to run with diff --git a/postgres_exporter/linux/pg11/sysconfig.postgres_exporter_pg11 b/postgres_exporter/linux/pg11/sysconfig.postgres_exporter_pg11 index eba9e6ae..75a2d16f 100644 --- a/postgres_exporter/linux/pg11/sysconfig.postgres_exporter_pg11 +++ b/postgres_exporter/linux/pg11/sysconfig.postgres_exporter_pg11 @@ -1,6 +1,6 @@ ### # -# Copyright © 2017-2024 Crunchy Data Solutions, Inc. All Rights Reserved. +# Copyright © 2017-2025 Crunchy Data Solutions, Inc. All Rights Reserved. # ### diff --git a/postgres_exporter/linux/pg11/sysconfig.postgres_exporter_pg11_per_db b/postgres_exporter/linux/pg11/sysconfig.postgres_exporter_pg11_per_db index 9af7fc57..aac236b7 100644 --- a/postgres_exporter/linux/pg11/sysconfig.postgres_exporter_pg11_per_db +++ b/postgres_exporter/linux/pg11/sysconfig.postgres_exporter_pg11_per_db @@ -1,6 +1,6 @@ ### # -# Copyright © 2017-2024 Crunchy Data Solutions, Inc. All Rights Reserved. +# Copyright © 2017-2025 Crunchy Data Solutions, Inc. All Rights Reserved. # ### diff --git a/postgres_exporter/linux/pg12/sysconfig.postgres_exporter_pg12 b/postgres_exporter/linux/pg12/sysconfig.postgres_exporter_pg12 index 07d68bb7..cab83760 100644 --- a/postgres_exporter/linux/pg12/sysconfig.postgres_exporter_pg12 +++ b/postgres_exporter/linux/pg12/sysconfig.postgres_exporter_pg12 @@ -1,6 +1,6 @@ ### # -# Copyright © 2017-2024 Crunchy Data Solutions, Inc. All Rights Reserved. +# Copyright © 2017-2025 Crunchy Data Solutions, Inc. All Rights Reserved. # ### diff --git a/postgres_exporter/linux/pg12/sysconfig.postgres_exporter_pg12_per_db b/postgres_exporter/linux/pg12/sysconfig.postgres_exporter_pg12_per_db index 619193db..cc73e33d 100644 --- a/postgres_exporter/linux/pg12/sysconfig.postgres_exporter_pg12_per_db +++ b/postgres_exporter/linux/pg12/sysconfig.postgres_exporter_pg12_per_db @@ -1,6 +1,6 @@ ### # -# Copyright © 2017-2024 Crunchy Data Solutions, Inc. All Rights Reserved. +# Copyright © 2017-2025 Crunchy Data Solutions, Inc. All Rights Reserved. # ### diff --git a/postgres_exporter/linux/pg13/sysconfig.postgres_exporter_pg13 b/postgres_exporter/linux/pg13/sysconfig.postgres_exporter_pg13 index fe1e0675..18310e56 100644 --- a/postgres_exporter/linux/pg13/sysconfig.postgres_exporter_pg13 +++ b/postgres_exporter/linux/pg13/sysconfig.postgres_exporter_pg13 @@ -1,6 +1,6 @@ ### # -# Copyright © 2017-2024 Crunchy Data Solutions, Inc. All Rights Reserved. +# Copyright © 2017-2025 Crunchy Data Solutions, Inc. All Rights Reserved. # ### diff --git a/postgres_exporter/linux/pg13/sysconfig.postgres_exporter_pg13_per_db b/postgres_exporter/linux/pg13/sysconfig.postgres_exporter_pg13_per_db index e8dcccfb..0ae45a26 100644 --- a/postgres_exporter/linux/pg13/sysconfig.postgres_exporter_pg13_per_db +++ b/postgres_exporter/linux/pg13/sysconfig.postgres_exporter_pg13_per_db @@ -1,6 +1,6 @@ ### # -# Copyright © 2017-2024 Crunchy Data Solutions, Inc. All Rights Reserved. +# Copyright © 2017-2025 Crunchy Data Solutions, Inc. All Rights Reserved. # ### diff --git a/postgres_exporter/linux/pg14/sysconfig.postgres_exporter_pg14 b/postgres_exporter/linux/pg14/sysconfig.postgres_exporter_pg14 index fd65aa7b..6608c116 100644 --- a/postgres_exporter/linux/pg14/sysconfig.postgres_exporter_pg14 +++ b/postgres_exporter/linux/pg14/sysconfig.postgres_exporter_pg14 @@ -1,6 +1,6 @@ ### # -# Copyright © 2017-2024 Crunchy Data Solutions, Inc. All Rights Reserved. +# Copyright © 2017-2025 Crunchy Data Solutions, Inc. All Rights Reserved. # ### diff --git a/postgres_exporter/linux/pg14/sysconfig.postgres_exporter_pg14_per_db b/postgres_exporter/linux/pg14/sysconfig.postgres_exporter_pg14_per_db index 88a71f0f..fb59f2f2 100644 --- a/postgres_exporter/linux/pg14/sysconfig.postgres_exporter_pg14_per_db +++ b/postgres_exporter/linux/pg14/sysconfig.postgres_exporter_pg14_per_db @@ -1,6 +1,6 @@ ### # -# Copyright © 2017-2024 Crunchy Data Solutions, Inc. All Rights Reserved. +# Copyright © 2017-2025 Crunchy Data Solutions, Inc. All Rights Reserved. # ### diff --git a/postgres_exporter/linux/pg15/sysconfig.postgres_exporter_pg15 b/postgres_exporter/linux/pg15/sysconfig.postgres_exporter_pg15 index f2264829..7347a773 100644 --- a/postgres_exporter/linux/pg15/sysconfig.postgres_exporter_pg15 +++ b/postgres_exporter/linux/pg15/sysconfig.postgres_exporter_pg15 @@ -1,6 +1,6 @@ ### # -# Copyright © 2017-2024 Crunchy Data Solutions, Inc. All Rights Reserved. +# Copyright © 2017-2025 Crunchy Data Solutions, Inc. All Rights Reserved. # ### diff --git a/postgres_exporter/linux/pg15/sysconfig.postgres_exporter_pg15_per_db b/postgres_exporter/linux/pg15/sysconfig.postgres_exporter_pg15_per_db index a1deee43..64469b89 100644 --- a/postgres_exporter/linux/pg15/sysconfig.postgres_exporter_pg15_per_db +++ b/postgres_exporter/linux/pg15/sysconfig.postgres_exporter_pg15_per_db @@ -1,6 +1,6 @@ ### # -# Copyright © 2017-2024 Crunchy Data Solutions, Inc. All Rights Reserved. +# Copyright © 2017-2025 Crunchy Data Solutions, Inc. All Rights Reserved. # ### diff --git a/postgres_exporter/linux/pg16/sysconfig.postgres_exporter_pg16 b/postgres_exporter/linux/pg16/sysconfig.postgres_exporter_pg16 index faa08691..589b0f05 100644 --- a/postgres_exporter/linux/pg16/sysconfig.postgres_exporter_pg16 +++ b/postgres_exporter/linux/pg16/sysconfig.postgres_exporter_pg16 @@ -1,6 +1,6 @@ ### # -# Copyright © 2017-2024 Crunchy Data Solutions, Inc. All Rights Reserved. +# Copyright © 2017-2025 Crunchy Data Solutions, Inc. All Rights Reserved. # ### diff --git a/postgres_exporter/linux/pg16/sysconfig.postgres_exporter_pg16_per_db b/postgres_exporter/linux/pg16/sysconfig.postgres_exporter_pg16_per_db index 87e9f468..91fe5207 100644 --- a/postgres_exporter/linux/pg16/sysconfig.postgres_exporter_pg16_per_db +++ b/postgres_exporter/linux/pg16/sysconfig.postgres_exporter_pg16_per_db @@ -1,6 +1,6 @@ ### # -# Copyright © 2017-2024 Crunchy Data Solutions, Inc. All Rights Reserved. +# Copyright © 2017-2025 Crunchy Data Solutions, Inc. All Rights Reserved. # ### diff --git a/postgres_exporter/linux/pg17/sysconfig.postgres_exporter_pg17 b/postgres_exporter/linux/pg17/sysconfig.postgres_exporter_pg17 index 95c8157a..959f9b79 100644 --- a/postgres_exporter/linux/pg17/sysconfig.postgres_exporter_pg17 +++ b/postgres_exporter/linux/pg17/sysconfig.postgres_exporter_pg17 @@ -1,6 +1,6 @@ ### # -# Copyright © 2017-2024 Crunchy Data Solutions, Inc. All Rights Reserved. +# Copyright © 2017-2025 Crunchy Data Solutions, Inc. All Rights Reserved. # ### diff --git a/postgres_exporter/linux/pg17/sysconfig.postgres_exporter_pg17_per_db b/postgres_exporter/linux/pg17/sysconfig.postgres_exporter_pg17_per_db index 1af2864b..599336fd 100644 --- a/postgres_exporter/linux/pg17/sysconfig.postgres_exporter_pg17_per_db +++ b/postgres_exporter/linux/pg17/sysconfig.postgres_exporter_pg17_per_db @@ -1,6 +1,6 @@ ### # -# Copyright © 2017-2024 Crunchy Data Solutions, Inc. All Rights Reserved. +# Copyright © 2017-2025 Crunchy Data Solutions, Inc. All Rights Reserved. # ### diff --git a/postgres_exporter/linux/pgbackrest-info.sh b/postgres_exporter/linux/pgbackrest-info.sh index 2538583e..f08167d3 100755 --- a/postgres_exporter/linux/pgbackrest-info.sh +++ b/postgres_exporter/linux/pgbackrest-info.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash ### # -# Copyright © 2017-2024 Crunchy Data Solutions, Inc. All Rights Reserved. +# Copyright © 2017-2025 Crunchy Data Solutions, Inc. All Rights Reserved. # ### diff --git a/postgres_exporter/linux/pgmonitor.conf b/postgres_exporter/linux/pgmonitor.conf index f8fcc07d..d75e817e 100644 --- a/postgres_exporter/linux/pgmonitor.conf +++ b/postgres_exporter/linux/pgmonitor.conf @@ -1,6 +1,6 @@ ### # -# Copyright © 2017-2024 Crunchy Data Solutions, Inc. All Rights Reserved. +# Copyright © 2017-2025 Crunchy Data Solutions, Inc. All Rights Reserved. # ### diff --git a/postgres_exporter/linux/queries_backrest.yml b/postgres_exporter/linux/queries_backrest.yml index 5c997ba3..6077d94a 100644 --- a/postgres_exporter/linux/queries_backrest.yml +++ b/postgres_exporter/linux/queries_backrest.yml @@ -1,6 +1,6 @@ ### # -# Copyright © 2017-2024 Crunchy Data Solutions, Inc. All Rights Reserved. +# Copyright © 2017-2025 Crunchy Data Solutions, Inc. All Rights Reserved. # # Begin File: queries_backrest.yml # diff --git a/prometheus/common/alert-rules.d/crunchy-alert-rules-blackbox.yml.example b/prometheus/common/alert-rules.d/crunchy-alert-rules-blackbox.yml.example index 663570f7..257c8a46 100644 --- a/prometheus/common/alert-rules.d/crunchy-alert-rules-blackbox.yml.example +++ b/prometheus/common/alert-rules.d/crunchy-alert-rules-blackbox.yml.example @@ -1,6 +1,6 @@ ### # -# Copyright © 2017-2024 Crunchy Data Solutions, Inc. All Rights Reserved. +# Copyright © 2017-2025 Crunchy Data Solutions, Inc. All Rights Reserved. # ### diff --git a/prometheus/common/alert-rules.d/crunchy-alert-rules-etcd.yml.example b/prometheus/common/alert-rules.d/crunchy-alert-rules-etcd.yml.example index 1655f589..0d25336e 100644 --- a/prometheus/common/alert-rules.d/crunchy-alert-rules-etcd.yml.example +++ b/prometheus/common/alert-rules.d/crunchy-alert-rules-etcd.yml.example @@ -1,6 +1,6 @@ ### # -# Copyright © 2017-2024 Crunchy Data Solutions, Inc. All Rights Reserved. +# Copyright © 2017-2025 Crunchy Data Solutions, Inc. All Rights Reserved. # ### diff --git a/prometheus/common/alert-rules.d/crunchy-alert-rules-patroni.yml.example b/prometheus/common/alert-rules.d/crunchy-alert-rules-patroni.yml.example index 77bb0768..58bb7fdf 100644 --- a/prometheus/common/alert-rules.d/crunchy-alert-rules-patroni.yml.example +++ b/prometheus/common/alert-rules.d/crunchy-alert-rules-patroni.yml.example @@ -1,6 +1,6 @@ ### # -# Copyright © 2017-2024 Crunchy Data Solutions, Inc. All Rights Reserved. +# Copyright © 2017-2025 Crunchy Data Solutions, Inc. All Rights Reserved. # ### diff --git a/prometheus/common/alert-rules.d/crunchy-alert-rules-pg.yml.example b/prometheus/common/alert-rules.d/crunchy-alert-rules-pg.yml.example index 5e098c79..782a64fe 100644 --- a/prometheus/common/alert-rules.d/crunchy-alert-rules-pg.yml.example +++ b/prometheus/common/alert-rules.d/crunchy-alert-rules-pg.yml.example @@ -1,6 +1,6 @@ ### # -# Copyright © 2017-2024 Crunchy Data Solutions, Inc. All Rights Reserved. +# Copyright © 2017-2025 Crunchy Data Solutions, Inc. All Rights Reserved. # ### diff --git a/prometheus/common/auto.d/crunchy_dev.yml.example b/prometheus/common/auto.d/crunchy_dev.yml.example index 06dcf5d8..fad321cb 100644 --- a/prometheus/common/auto.d/crunchy_dev.yml.example +++ b/prometheus/common/auto.d/crunchy_dev.yml.example @@ -1,6 +1,6 @@ ### # -# Copyright © 2017-2024 Crunchy Data Solutions, Inc. All Rights Reserved. +# Copyright © 2017-2025 Crunchy Data Solutions, Inc. All Rights Reserved. # ### diff --git a/prometheus/common/auto.d/crunchy_haproxy.yml.example b/prometheus/common/auto.d/crunchy_haproxy.yml.example index ad116a60..f5343967 100644 --- a/prometheus/common/auto.d/crunchy_haproxy.yml.example +++ b/prometheus/common/auto.d/crunchy_haproxy.yml.example @@ -1,6 +1,6 @@ ### # -# Copyright © 2017-2024 Crunchy Data Solutions, Inc. All Rights Reserved. +# Copyright © 2017-2025 Crunchy Data Solutions, Inc. All Rights Reserved. # ### diff --git a/prometheus/common/auto.d/crunchy_prod.yml.example b/prometheus/common/auto.d/crunchy_prod.yml.example index f27cb777..f0639d02 100644 --- a/prometheus/common/auto.d/crunchy_prod.yml.example +++ b/prometheus/common/auto.d/crunchy_prod.yml.example @@ -1,6 +1,6 @@ ### # -# Copyright © 2017-2024 Crunchy Data Solutions, Inc. All Rights Reserved. +# Copyright © 2017-2025 Crunchy Data Solutions, Inc. All Rights Reserved. # ### diff --git a/prometheus/containers/alert-rules.d/crunchy-alert-rules-pg.yml.containers.example b/prometheus/containers/alert-rules.d/crunchy-alert-rules-pg.yml.containers.example index 078197ac..0ccd9e3d 100644 --- a/prometheus/containers/alert-rules.d/crunchy-alert-rules-pg.yml.containers.example +++ b/prometheus/containers/alert-rules.d/crunchy-alert-rules-pg.yml.containers.example @@ -1,6 +1,6 @@ ### # -# Copyright © 2017-2024 Crunchy Data Solutions, Inc. All Rights Reserved. +# Copyright © 2017-2025 Crunchy Data Solutions, Inc. All Rights Reserved. # ### diff --git a/prometheus/containers/crunchy-prometheus.yml.containers b/prometheus/containers/crunchy-prometheus.yml.containers index 345b6af4..89a627bb 100644 --- a/prometheus/containers/crunchy-prometheus.yml.containers +++ b/prometheus/containers/crunchy-prometheus.yml.containers @@ -1,6 +1,6 @@ ### # -# Copyright © 2017-2024 Crunchy Data Solutions, Inc. All Rights Reserved. +# Copyright © 2017-2025 Crunchy Data Solutions, Inc. All Rights Reserved. # ### --- diff --git a/prometheus/linux/alert-rules.d/crunchy-alert-rules-node.yml.example b/prometheus/linux/alert-rules.d/crunchy-alert-rules-node.yml.example index 7f2faa7d..ddbc630f 100644 --- a/prometheus/linux/alert-rules.d/crunchy-alert-rules-node.yml.example +++ b/prometheus/linux/alert-rules.d/crunchy-alert-rules-node.yml.example @@ -1,6 +1,6 @@ ### # -# Copyright © 2017-2024 Crunchy Data Solutions, Inc. All Rights Reserved. +# Copyright © 2017-2025 Crunchy Data Solutions, Inc. All Rights Reserved. # ### diff --git a/prometheus/linux/auto.d/ProductionOS.yml.example b/prometheus/linux/auto.d/ProductionOS.yml.example index 38a5fb91..bac27c87 100644 --- a/prometheus/linux/auto.d/ProductionOS.yml.example +++ b/prometheus/linux/auto.d/ProductionOS.yml.example @@ -1,6 +1,6 @@ ### # -# Copyright © 2017-2024 Crunchy Data Solutions, Inc. All Rights Reserved. +# Copyright © 2017-2025 Crunchy Data Solutions, Inc. All Rights Reserved. # ### diff --git a/prometheus/linux/auto.d/ReplicaOS.yml.example b/prometheus/linux/auto.d/ReplicaOS.yml.example index 3cdc8f55..edd6d2e5 100644 --- a/prometheus/linux/auto.d/ReplicaOS.yml.example +++ b/prometheus/linux/auto.d/ReplicaOS.yml.example @@ -1,6 +1,6 @@ ### # -# Copyright © 2017-2024 Crunchy Data Solutions, Inc. All Rights Reserved. +# Copyright © 2017-2025 Crunchy Data Solutions, Inc. All Rights Reserved. # ### diff --git a/prometheus/linux/crunchy-prometheus-service-rhel.conf b/prometheus/linux/crunchy-prometheus-service-rhel.conf index ab802966..070e70a8 100644 --- a/prometheus/linux/crunchy-prometheus-service-rhel.conf +++ b/prometheus/linux/crunchy-prometheus-service-rhel.conf @@ -1,6 +1,6 @@ ### # -# Copyright © 2017-2024 Crunchy Data Solutions, Inc. All Rights Reserved. +# Copyright © 2017-2025 Crunchy Data Solutions, Inc. All Rights Reserved. # ### diff --git a/prometheus/linux/crunchy-prometheus.yml b/prometheus/linux/crunchy-prometheus.yml index 5df82792..69a52bd4 100644 --- a/prometheus/linux/crunchy-prometheus.yml +++ b/prometheus/linux/crunchy-prometheus.yml @@ -1,6 +1,6 @@ ### # -# Copyright © 2017-2024 Crunchy Data Solutions, Inc. All Rights Reserved. +# Copyright © 2017-2025 Crunchy Data Solutions, Inc. All Rights Reserved. # ### diff --git a/prometheus/linux/sysconfig.prometheus b/prometheus/linux/sysconfig.prometheus index 11eddb65..d7398f39 100644 --- a/prometheus/linux/sysconfig.prometheus +++ b/prometheus/linux/sysconfig.prometheus @@ -1,6 +1,6 @@ ### # -# Copyright © 2017-2024 Crunchy Data Solutions, Inc. All Rights Reserved. +# Copyright © 2017-2025 Crunchy Data Solutions, Inc. All Rights Reserved. # ### diff --git a/sql_exporter/common/setup_db.sql b/sql_exporter/common/setup_db.sql index 1aa20bd8..a923687a 100644 --- a/sql_exporter/common/setup_db.sql +++ b/sql_exporter/common/setup_db.sql @@ -1,6 +1,6 @@ -- pgMonitor Setup -- --- Copyright © 2017-2023 Crunchy Data Solutions, Inc. All Rights Reserved. +-- Copyright © 2017-2025 Crunchy Data Solutions, Inc. All Rights Reserved. -- DO $$ diff --git a/sql_exporter/linux/crontab.txt b/sql_exporter/linux/crontab.txt index 41dfbedc..c37cfef4 100644 --- a/sql_exporter/linux/crontab.txt +++ b/sql_exporter/linux/crontab.txt @@ -1,6 +1,6 @@ ### # -# Copyright © 2017-2024 Crunchy Data Solutions, Inc. All Rights Reserved. +# Copyright © 2017-2025 Crunchy Data Solutions, Inc. All Rights Reserved. # ### # The below script must be run as a user with the pg_read_all_data role or a superuser. You may have to adjust your pg_hba.conf to allow this and/or use a .pgpass file diff --git a/sql_exporter/linux/crunchy-sql-exporter@.service b/sql_exporter/linux/crunchy-sql-exporter@.service index 919f3072..a4e6ea27 100644 --- a/sql_exporter/linux/crunchy-sql-exporter@.service +++ b/sql_exporter/linux/crunchy-sql-exporter@.service @@ -1,6 +1,6 @@ ### # -# Copyright © 2017-2023 Crunchy Data Solutions, Inc. All Rights Reserved. +# Copyright © 2017-2025 Crunchy Data Solutions, Inc. All Rights Reserved. # ### diff --git a/sql_exporter/linux/sql_exporter.sysconfig b/sql_exporter/linux/sql_exporter.sysconfig index 05794f19..1ccebc69 100644 --- a/sql_exporter/linux/sql_exporter.sysconfig +++ b/sql_exporter/linux/sql_exporter.sysconfig @@ -1,6 +1,6 @@ ### # -# Copyright © 2017-2023 Crunchy Data Solutions, Inc. All Rights Reserved. +# Copyright © 2017-2025 Crunchy Data Solutions, Inc. All Rights Reserved. # ###