How should you visualise metrics with timestamp value in Grafana?

15 views
Skip to first unread message

John Bryan Sazon

unread,
Feb 19, 2020, 5:10:55 AM2/19/20
to Prometheus Users
Hi folks,

Given the following metrics for Go, I want to know in a Graph when a garbage collection happened, and how much CPU and latency it took.

go_memstats_last_gc_time_seconds – contains unix timestamp when last GC finished.

go_memstats_last_gc_cpu_fraction – shows the fraction of this program’s available CPU time used by GC since the program started.

A sample Grafana JSON model will be really appreciated.

Thanks!

Reply all
Reply to author
Forward
0 new messages