package
2.15.0+incompatible
Repository: https://github.com/newrelic/nri-postgresql.git
Documentation: pkg.go.dev
# Functions
CollectCustomConfig collects metrics defined by a custom config.
GetDatabaseName returns the database name for the object.
GetIndexName returns the index name.
GetSchemaName returns a schema name.
GetTableName returns the table name.
PopulateCustomMetrics collects metrics from a custom query.
PopulateCustomMetricsFromFile collects metrics defined by a custom config file.
PopulateDatabaseLockMetrics populates the lock metrics for a database.
PopulateDatabaseMetrics populates the metrics for a database.
PopulateIndexMetrics populates the metrics for an index.
PopulateInstanceMetrics populates the metrics for an instance.
PopulateMetrics collects metrics for each type.
PopulatePgBouncerMetrics populates pgbouncer metrics.
PopulateTableMetrics populates the metrics for a table.
# Structs
QueryDefinition holds the query and the unmarshall model.
# Interfaces
DatabaseModeler is an interface to represent somethign which has a database field.
IndexModeler represents something with a table field.
SchemaModeler is an interface to represent something which has a schema field.
TableModeler is an interface to represent something which has a table field.