Go Metrics
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
Data source config
Collector config:
Upload an updated version of an exported dashboard.json file from Grafana
Revision | Description | Created | |
---|---|---|---|
Download |