postgresql-prometheus-adapter icon indicating copy to clipboard operation
postgresql-prometheus-adapter copied to clipboard

Remote storage adapter enabling Prometheus to use PostgreSQL as a long-term store for time-series metrics.

Results 7 postgresql-prometheus-adapter issues
Sort by recently updated
recently updated
newest added

Remove quote in fallback variables, that resulted the `web_listen_address` fail to bind. Golang version: `go1.17.3 darwin/amd64`

- Replace pgx single connection with pgx pool connection to handle concurrent request from Prometheus

- Lock metric ID map when writing to database as there could be other thread that write to the `c.valueRows` when trying to write to database resulted some valueRows were...

- Adding a docker-compose.yml - Which has a prometheus, a postgresql, and a node-exporter - Adding a prometheus.yml that scrapes the node-exporter that is defined in the docker-compose.

- changing the dockerfile initial image to golang:alpine - Change the workdir to /source and moved the files into /source - Moved the collective starting parameters into /source directory

Allow the building of the application as a static binary

We are seeing `panic: assignment to entry in nil map` when running `./postgresql-prometheus-adapter` for the first time. The offending line appears to be this: ``` vMetricIDMap[sMetric] = nextId ``` Are...