Skip to content

Autodiscovery v0.8.0 #351

@dennybaa

Description

@dennybaa

Hello,
I'm facing that auto discovery does not work properly.

As I understand with autodiscovery off I anyway get metrics for all of the database, so my catch is that if a new database is created then no postgres exporter pod restart need.

  1. Could you please clarify what is auto discovery for?

I have tried setting --disable-default-metrics --disable-settings-metrics --auto-discover-databases and the database to "", all this doesn't make the exporter work I still get errors (less though, but still) #314

903 error(s) occurred:

  • collected metric "pg_postmaster_start_time_seconds" { label:<name:"server" value:"postgres-stage-postgresql:5432" > gauge:<value:1.576833383e+09 > } was collected before with the same name and label values
  • collected metric "pg_database_size" { label:<name:"datname" value:"postgres" > label:<name:"server" value:"postgres-stage-postgresql:5432" > gauge:<value:7.852703e+06 > } was collected before with the same name and label values
  • collected metric "pg_database_size" { label:<name:"datname" value:"identityservice" > label:<name:"server" value:"postgres-stage-postgresql:5432" > gauge:<value:8.532639e+06 > } was collected before with the same name and label values

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions