Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible typecheck failures when parsing agent prometheus configmap #306

Open
charlesakalugwu opened this issue Sep 9, 2019 · 1 comment

Comments

@charlesakalugwu
Copy link

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
Copy link
Contributor

Tracking it here. Will fix it with the next release : https://msazure.visualstudio.com/InfrastructureInsights/_workitems/edit/5309591

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants