Skip to content

Gogc is being set to 0 when installed with empty prometheus.yml file resulting high cpu usage #16029

@jagadeeshveerla55

Description

@jagadeeshveerla55

What did you do?

Installed prometheus with empty prometheus.yml file and observed gogc being set to 0

What did you expect to see?

As per prometheus documentation, gogc value will be set to 75 by default

By configuring explicitly gogc runtime to 75, usage of cpu is less after reloading the config

What did you see instead? Under which circumstances?

Gogc value is being set to 0 , instead it should set to 75 by default

System information

No response

Prometheus version

Prometheus configuration file

Alertmanager version


Alertmanager configuration file

Logs


Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions