Skip to content
This repository was archived by the owner on Jun 11, 2026. It is now read-only.
This repository was archived by the owner on Jun 11, 2026. It is now read-only.

Possible typecheck failures when parsing agent prometheus configmap #306

Description

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 (@rashmichandrashekar)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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