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. Apr 03, 2025
  2. Jan 13, 2025
  3. Jul 06, 2024
  4. Oct 27, 2023
    • Ben Kochie's avatar
      Release v0.15.0 (#944) · 68c176b8
      Ben Kochie authored
      
      * [ENHANCEMENT] Add 1kB and 2kB units #915
      * [BUGFIX] Add error log when probe collector creation fails #918
      * [BUGFIX] Fix test build failures on 32-bit arch #919
      * [BUGFIX] Adjust collector to use separate connection per scrape #936
      
      Signed-off-by: default avatarSuperQ <superq@gmail.com>
      v0.15.0
      68c176b8
  5. Sep 20, 2023
  6. Sep 08, 2023
  7. Aug 24, 2023
  8. Aug 15, 2023
  9. Jun 27, 2023
  10. 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
  11. 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
  12. Jun 13, 2023
  13. Mar 30, 2023
  14. Mar 28, 2023
  15. 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
  16. Dec 27, 2022
  17. Nov 06, 2022
  18. Aug 10, 2022
  19. Jul 28, 2022
  20. Jun 15, 2022
  21. 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
  22. Jan 18, 2022
  23. Nov 29, 2021
  24. Nov 17, 2021
  25. 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
  26. Aug 24, 2021
  27. Aug 02, 2021
  28. Apr 19, 2021
  29. Mar 11, 2021
  30. Mar 02, 2021
  31. Feb 28, 2021
  32. Feb 23, 2021
  33. Dec 24, 2020
  34. Aug 28, 2020
  35. Apr 09, 2020
  36. Nov 19, 2019