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. Dec 27, 2022
  2. Nov 06, 2022
  3. Aug 10, 2022
  4. Jul 28, 2022
  5. Jun 15, 2022
  6. 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
  7. Jan 18, 2022
  8. Nov 29, 2021
  9. Nov 17, 2021
  10. 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
  11. Aug 24, 2021
  12. Aug 02, 2021
  13. Apr 19, 2021
  14. Mar 11, 2021
  15. Mar 02, 2021
  16. Feb 28, 2021
  17. Feb 23, 2021
  18. Dec 24, 2020
  19. Aug 28, 2020
  20. Apr 09, 2020
  21. Nov 19, 2019
  22. Oct 31, 2019
  23. Oct 30, 2019
  24. Aug 12, 2019
  25. Jul 12, 2019
  26. Jul 03, 2019
  27. Jun 30, 2019
  28. Jun 15, 2019
  29. Feb 20, 2019
  30. Dec 18, 2018
  31. Nov 11, 2018
  32. Nov 02, 2018