kubernetes-monitoring / kubernetes-mixin

A set of Grafana dashboards and Prometheus alerts for Kubernetes.
Apache License 2.0
2.13k stars 597 forks source link

Add string interpolation linting #190

Open csmarchbanks opened 5 years ago

csmarchbanks commented 5 years ago

Add some way to detect when people try to use string interpolation such as '%s' but do not add % <vars> after the string.

Possible ideas:

  1. Parse generated yaml for places where %(.*)s type strings are left in.
  2. Improve and use the jsonnet linter

See comments in https://github.com/kubernetes-monitoring/kubernetes-mixin/pull/189

github-actions[bot] commented 2 days ago

This issue has not had any activity in the past 30 days, so the stale label has been added to it.

Thank you for your contributions!