[2.7.1] metric keys from metrics.yaml are not validated at deployment time
Bug #1863367 reported by
Dmitrii Shcherbakov
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Triaged
|
Low
|
Unassigned |
Bug Description
A charm is possible to deploy with invalid metrics.yaml:
metrics:
dead=beef=cafe:
type: gauge
description: Some strange metric
As far as I can tell, only basic YAML key validation is done by the YAML parser
https:/
Relevant discussion:
https:/
I have not found any specific documentation on the format of metric keys but there doesn't seem to be a regex for them in the juju/charm package.
description: | updated |
description: | updated |
Changed in juju: | |
status: | New → Triaged |
importance: | Undecided → Medium |
tags: | added: metrics |
To post a comment you must log in.
This bug has not been updated in 2 years, so we're marking it Low importance. If you believe this is incorrect, please update the importance.