1 // Package metrics is responsible for reading and writing metric definitions. 2 // 3 // At the moment, metric definitions support two storages: 4 // - PostgreSQL database 5 // - YAML file 6 // 7 // # Content 8 // 9 // - `postgres*.go` files cover the functionality for the PostgreSQL database. 10 // - `yaml*.go` files cover the functionality for the YAML file. 11 // - `metrics.yaml` holds all default metrics and presets. 12 // - `default.go` provides access to default metrics. 13 package metrics 14