Go Metrics

Go Metrics screenshot 1

Revision >= 2 ζ˜―ι€‚ι…cicdη‰ˆηš„ι’ζΏ

fork from https://grafana.com/grafana/dashboards/10826
add job label filter

  • go_gc_duration_seconds: A summary of the pause duration of garbage collection cycles.
    取θ‡ͺruntime/debug.ReadGCStats()
  • go_goroutines: Number of goroutines that currently exist.
    取θ‡ͺruntime.NumGoroutine()
  • go_memstats_alloc_bytes: Number of bytes allocated and still in use.
    取θ‡ͺruntime.ReadMemStats() .Alloc
  • go_memstats_alloc_bytes_total: Total number of bytes allocated, even if freed.
    取θ‡ͺruntime.ReadMemStats() .TotalAlloc
  • go_memstats_buck_hash_sys_bytes: Number of bytes used by the profiling bucket hash table.
    取θ‡ͺruntime.ReadMemStats() .BuckHashSys
  • go_memstats_frees_total: Total number of frees.
    取θ‡ͺruntime.ReadMemStats() .Frees
  • go_memstats_gc_cpu_fraction: The fraction of this program’s available CPU time used by the GC since the program started.
    取θ‡ͺruntime.ReadMemStats() .GCCPUFraction
  • go_memstats_gc_sys_bytes: Number of bytes used for garbage collection system metadata.
    取θ‡ͺruntime.ReadMemStats() .GCSys
  • go_memstats_heap_alloc_bytes: Number of heap bytes allocated and still in use.
    取θ‡ͺruntime.ReadMemStats() .HeapAlloc
  • go_memstats_heap_idle_bytes: Number of heap bytes waiting to be used.
    取θ‡ͺruntime.ReadMemStats() .HeapIdle
  • go_memstats_heap_inuse_bytes: Number of heap bytes that are in use.
    取θ‡ͺruntime.ReadMemStats() .HeapInuse
  • go_memstats_heap_objects: Number of allocated objects.
    取θ‡ͺruntime.ReadMemStats() .HeapObjects
  • go_memstats_heap_released_bytes: Number of heap bytes released to OS.
    取θ‡ͺruntime.ReadMemStats() .HeapReleased
  • go_memstats_heap_sys_bytes: Number of heap bytes obtained from system.
    取θ‡ͺruntime.ReadMemStats() .HeapSys
  • go_memstats_last_gc_time_seconds: Number of seconds since 1970 of last garbage collection.
    取θ‡ͺruntime.ReadMemStats() .LastGC
  • go_memstats_lookups_total: Total number of pointer lookups.
    取θ‡ͺruntime.ReadMemStats() .Lookups
  • go_memstats_mallocs_total: Total number of mallocs.
    取θ‡ͺruntime.ReadMemStats() .Mallocs
  • go_memstats_mcache_inuse_bytes: Number of bytes in use by mcache structures.
    取θ‡ͺruntime.ReadMemStats() .MCacheInuse
  • go_memstats_mcache_sys_bytes: Number of bytes used for mcache structures obtained from system.
    取θ‡ͺruntime.ReadMemStats() .MCacheSys
  • go_memstats_mspan_inuse_bytes: Number of bytes in use by mspan structures.
    取θ‡ͺruntime.ReadMemStats() .MSpanInuse
  • go_memstats_mspan_sys_bytes: Number of bytes used for mspan structures obtained from system.
    取θ‡ͺruntime.ReadMemStats() .MSpanSys
  • go_memstats_next_gc_bytes: Number of heap bytes when next garbage collection will take place.
    取θ‡ͺruntime.ReadMemStats() .NextGC
  • go_memstats_other_sys_bytes: Number of bytes used for other system allocations.
    取θ‡ͺruntime.ReadMemStats() .OtherSys
  • go_memstats_stack_inuse_bytes: Number of bytes in use by the stack allocator.
    取θ‡ͺruntime.ReadMemStats() .StackInuse
  • go_memstats_stack_sys_bytes: Number of bytes obtained from system for stack allocator.
    取θ‡ͺruntime.ReadMemStats() .StackSys
  • go_memstats_sys_bytes: Number of bytes obtained from system.
    取θ‡ͺruntime.ReadMemStats() .Sys
  • go_threads: Number of OS threads created.
    取θ‡ͺruntime.ThreadCreateProfile(nil)
  • goruntime_process_cpu_seconds_total: Total user and system CPU time spent in seconds.
    取θ‡ͺprocfs#ProcStat.CPUTime()
  • goruntime_process_max_fds: Maximum number of open file descriptors.
    取θ‡ͺprocfs#ProcLimits .OpenFiles
  • goruntime_process_open_fds: Number of open file descriptors.
    取θ‡ͺprocfs#Proc.FileDescriptorsLen()
  • goruntime_process_resident_memory_bytes: Resident memory size in bytes.
    取θ‡ͺprocfs#ProcStat.ResidentMemory()
  • goruntime_process_start_time_seconds: Start time of the process since unix epoch in seconds.
    取θ‡ͺprocfs#ProcStat.StartTime()
  • goruntime_process_virtual_memory_bytes: Virtual memory size in bytes.
    取θ‡ͺprocfs#ProcStat.VirtualMemory()
  • goruntime_process_virtual_memory_max_bytes: Maximum amount of virtual memory available in bytes.
    取θ‡ͺprocfs#ProcLimits .AddressSpace
Revisions
RevisionDescriptionCreated

Get this dashboard

Import the dashboard template

or

Download JSON

Datasource
Dependencies