...

Source file src/github.com/cybertec-postgresql/pgwatch/v3/internal/sources/doc.go

Documentation: github.com/cybertec-postgresql/pgwatch/v3/internal/sources

     1  // Provides functionality to read monitored data from different sources.
     2  //
     3  // Sources defines how to get the information for the monitored databases.
     4  // At the moment, sources definitions support two storages:
     5  // * PostgreSQL database
     6  // * YAML file
     7  //
     8  // * `postgres.go` files cover the functionality for the PostgreSQL database.
     9  // * `yaml.go` files cover the functionality for the YAML file.
    10  // * `resolver.go` implements continuous discovery from patroni and postgres cluster.
    11  // * `types.go` defines the types and interfaces.
    12  // * `sample.sources.yaml` is a sample configuration file.
    13  package sources
    14