//
pkg.gl
Category
github.com/crunchydata/postgresql-prometheus-adapter
pkg
postgresql
package
0.0.0-20220513172435-cf1b1e8c3f42
Repository:
https://github.com/crunchydata/postgresql-prometheus-adapter.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
16
Dependents
1
Files
573 SLOC
#
Functions
NewClient
NewClient creates a new PostgreSQL client.
Pop
Pop - Pop first element from list.
Push
Push - Push element at then end of list.
#
Variables
QueueMutex
QueueMutex is used thread safe operations on promSamples list object.
#
Structs
Client
Client - struct to hold critical values.
Config
Config for the database.
PGParser
PGParser - Threaded parser.
PGWriter
PGWriter - Threaded writer.