-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add default Go runtime metrics for /gc/gogc:percent, /gc/gomemlimit:b…
…ytes, /sched/gomaxprocs:threads (#1559) * Add go_gomaxprocs, go_gogc_percent and go_gomemlimit to the default Go runtime metrics Signed-off-by: Arianna Vespri <[email protected]> * Move newly added metrics out of base metrics and into goCollector Signed-off-by: Arianna Vespri <[email protected]> * Rethink struct for newly added metrics, adapt and add tests Signed-off-by: Arianna Vespri <[email protected]> * Simplify new metrics reading Signed-off-by: Arianna Vespri <[email protected]> * Correct loop, add debugging lines Signed-off-by: Arianna Vespri <[email protected]> * Make goRuntimeEnvVarsMetrics function Go version dependent Signed-off-by: Arianna Vespri <[email protected]> * Fix go mod Signed-off-by: Arianna Vespri <[email protected]> * Remove debuggin line Signed-off-by: Arianna Vespri <[email protected]> * Move default runtime metrics into the runtime metrics flow, change tests accordingly Signed-off-by: Arianna Vespri <[email protected]> * Go version expected default runtime metrics map for tests Signed-off-by: Arianna Vespri <[email protected]> * 1.21 update. Signed-off-by: bwplotka <[email protected]> * Addressed comments on Arianna's PR. Signed-off-by: bwplotka <[email protected]> * Use default GoCollector func in test Signed-off-by: Arianna Vespri <[email protected]> --------- Signed-off-by: Arianna Vespri <[email protected]> Signed-off-by: bwplotka <[email protected]> Co-authored-by: bwplotka <[email protected]>
- Loading branch information
Showing
13 changed files
with
389 additions
and
227 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.