Skip to content

Possible typecheck failures when parsing agent prometheus configmap #306

@charlesakalugwu

Description

@charlesakalugwu

There is an issue with how the log analytics agent image ciprod:ciprod07092019 parses the prometheus data collection configmap container-azm-ms-agentconfig.

Fields which are defined as array of strings cause the parsing to fail if specified as an empty array e.g. fieldpass = [].

****************Start Prometheus Config Processing********************
config::configmap container-azm-ms-agentconfig for settings mounted, parsing values for prometheus config map
config::Successfully parsed mounted prometheus config map
config::Typecheck failed for prometheus config settings for replicaset, using defaults
****************End Prometheus Config Processing********************

The workaround is to comment out those fields - exclude_namespaces, fieldpass, fielddrop, urls and kubernetes_services - if there are no concrete values to specify for them.

/kind bug
/cc @rashmichandrashekar

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