Hi , 

I have installed postgres_exporter on a standalone host ( Prometheus + 
Postgres_Exporter +Postgresql DB) , it collect the metrics from postgresql 
db and publish the same metrics over postgreslq_exporter exposed end point 
but unable to see the same metrics data over prometheus dashboard while 
node_exporter is working fine with prometheus .

Debug logs : DEBU[0383] collect query: [custom_query.lr]              source
="postgres_exporter.go:1527"

curl -sv http://x.x.x.x:9187/metrics

pg_exporter_scrapes_total 3

# HELP pg_locks_count Number of locks

# TYPE pg_locks_count gauge

pg_locks_count{datname="postgres",mode="accessexclusivelock",server="localhost:5432"}
 
0

pg_locks_count{datname="postgres",mode="accesssharelock",server="localhost:5432"}
 
1

pg_locks_count{datname="postgres",mode="exclusivelock",server="localhost:5432"} 
0


Any inputs are greatly appreciated . 

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/17dd19dd-dd4d-499d-b0e0-6865883c0511%40googlegroups.com.

Reply via email to