GO 1
This page describes the Optimization Pack for the component type Go 1.
Metrics
Metric | Unit | Description |
---|---|---|
cpu_used | CPUs | The total amount of CPUs used |
cpu_util | percents | The average CPU utilization % across all the CPUs (i.e., how much time on average the CPUs are busy doing work) |
go_heap_size | bytes | The largest size reached by the Go heap memory |
go_heap_used | bytes | The amount of heap memory used |
go_heap_util | bytes | The amount of heap memory used |
go_memory_used | bytes | The total amount of memory used by Go |
go_gc_time | percent | The % of wall clock time the Go spent doing stop the world garbage collection activities |
go_gc_duration | seconds | The average duration of a stop the world Go garbage collection |
go_gc_count | collections/s | The total number of stop the world Go garbage collections that have occurred per second |
go_threads_current | threads | The total number of active Go threads |
go_goroutines_current | goroutines | The total number of active Goroutines |
Parameters
Parameter | Type | Unit | Default | Domain | Restart | Description |
---|---|---|---|---|---|---|
go_gcTargetPercentage | integer |
|
| yes | Sets the GOGC variable which controls the aggressiveness of the garbage collector | |
go_maxProcs | integer | theads |
|
| yes | Limits the number of operating system threads that can execute user-level code simultaneously |
go_memLimit | integer | megabtes | 100 |
| yes | Sets a soft memory limit for the runtime. Available since Go 1.19 |
Last updated