Skip to content
Snippets Groups Projects
This project is mirrored from https://gitlab.com/gitlab-org/build/omnibus-mirror/postgres_exporter.git. Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer or owner.
Last successful update .
  1. Jun 27, 2023
  2. Jun 21, 2023
    • SuperQ's avatar
      Release v0.13.0 · db08eee9
      SuperQ authored
      BREAKING CHANGES:
      
      Please note, the following features are deprecated and may be removed in a future release:
      - `auto-discover-databases`
      - `extend.query-path`
      - `constantLabels`
      - `exclude-databases`
      - `include-databases`
      
      This exporter is meant to monitor PostgresSQL servers, not the user data/databases. If
      you need a generic SQL report exporter https://github.com/burningalchemist/sql_exporter
      
      
      is recommended.
      
      * [CHANGE] Adjust log level for collector startup #784
      * [CHANGE] Move queries from queries.yaml to collectors #801
      * [CHANGE] Deprecate extend queries feature #811
      * [CHANGE] Deprecate additional database features #815
      * [CHANGE] Convert pg_stat_database to new collector #685
      * [ENHANCEMENT] Supports alternate postgres:// prefix in URLs #787
      * [BUGFIX] Fix pg_setting different help values #771
      * [BUGFIX] Fix column type for pg_replication_slots #777
      * [BUGFIX] Fix pg_stat_database collector #809
      
      Signed-off-by: default avatarSuperQ <superq@gmail.com>
      db08eee9
  3. Jun 19, 2023
    • SuperQ's avatar
      Deprecate additional database features · c71d395b
      SuperQ authored
      
      Now that we have deprecated extended queries we can deprecate related
      database features.
      * Deprecate flags/functions around auto discover databases.
      * Deprecate flags/functions for additional constant labels.
      
      Signed-off-by: default avatarSuperQ <superq@gmail.com>
      c71d395b
  4. Jun 13, 2023
  5. Mar 30, 2023
  6. Mar 28, 2023
  7. Jan 24, 2023
    • SuperQ's avatar
      Update exporter-toolkit · fc264d0a
      SuperQ authored
      
      Update to the latest exporter-toolkit
      * Enables multi-listener and systemd socket activation.
      * Bump Go to 1.19.
      * Remove `PG_EXPORTER_WEB_LISTEN_ADDRESS` env var because this is now a
        repeatable flag.
      
      Signed-off-by: default avatarSuperQ <superq@gmail.com>
      fc264d0a
  8. Dec 27, 2022
  9. Nov 06, 2022
  10. Aug 10, 2022
  11. Jul 28, 2022
  12. Jun 15, 2022
  13. Feb 23, 2022
    • Joe Adams's avatar
      refactor pg_stat_bgwriter metrics into standalone collector · 27d23d02
      Joe Adams authored
      
      This moves the metrics that are queried from pg_stat_bgwriter into a dedicated collector instead of dynamically generating queries and metrics from a map. It renames some metrics including adding the `_total` suffix on all of the counters to match prometheus standards. This implementation uses QueryRowContext to allow for later addition of context for cancellation. From the Postgres documentation, it states that there is one line per WAL sender process, but it is unclear how to differentiate between them in any meaningful way. When querying the table, there is no column to identify the row, only metrics about bgwriter.
      
      Signed-off-by: default avatarJoe Adams <github@joeadams.io>
      27d23d02
  14. Jan 18, 2022
  15. Nov 29, 2021
  16. Nov 17, 2021
  17. Sep 08, 2021
    • Xela's avatar
      Add some SQL in README.md · 20aefc2e
      Xela authored
      
      Getting the error when adding non-root postgres user for exporter:
      ```
      postgres=# CREATE OR REPLACE FUNCTION get_pg_stat_statements() RETURNS SETOF pg_stat_statements AS
      postgres-# $$ SELECT * FROM public.pg_stat_statements; $$
      postgres-# LANGUAGE sql
      postgres-# VOLATILE
      postgres-# SECURITY DEFINER;
      ERROR:  type "pg_stat_statements" does not exist
      ```
      Add following sql command for enable pg_stat_statements:
      ```
      CREATE EXTENSION IF NOT EXISTS pg_stat_statements;
      ```
      
      Signed-off-by: default avatarXela Tirdan <xelatirdan@gmail.com>
      20aefc2e
  18. Aug 24, 2021
  19. Aug 02, 2021
  20. Apr 19, 2021
  21. Mar 11, 2021
  22. Mar 02, 2021
  23. Feb 28, 2021
  24. Feb 23, 2021
  25. Dec 24, 2020
  26. Aug 28, 2020
  27. Apr 09, 2020
  28. Nov 19, 2019
  29. Oct 31, 2019
  30. Oct 30, 2019
  31. Aug 12, 2019
  32. Jul 12, 2019
  33. Jul 03, 2019
  34. Jun 30, 2019