Skip to content

GOGC is ignored when config file is empty or when only unrelated config is set #16334

@machine424

Description

@machine424

When the config file is empty, and GOGC is set (to a value different than 75), Prometheus always uses the default GOGC value 75.

Same applies when only config unrelated to runtime: is set (runtime: block not defined)

tests to reproduce; see #15238 and uncomment the two empty config file with GOGC env var set and unrelated config and GOGC env var set cases.

see #16029 which fixed another case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions