instrumentation command
This stand-alone package is utilized for dynamically generating/maintaining a list of metrics; this list is determined by the stability class of the metric. We statically analyze all files in the Kubernetes code base to:
- Determine whether the metric falls into a stability class with stability guarantees.
- Determine the metric's metadata, i.e. the name, labels, type of metric.
- Output (based on the above) the metrics which meet our criteria into a yaml file.
Due to the dynamic nature of how metrics can be written, we only support the subset of metrics which can actually be parsed. If a metric cannot be parsed, it must be delegated to the stability class `Internal`, which will exempt the metric from static analysis.
Directories ΒΆ
Path | Synopsis |
---|---|
test/instrumentation/documentation | This stand-alone package is utilized for dynamically generating/maintaining documentation on all parseable metrics in the Kubernetes code base. |
- Version
- v1.26.0-alpha.3
- Published
- Nov 1, 2022
- Platform
- js/wasm
- Imports
- 15 packages
- Last checked
- 13 minutes ago –
Tools for package owners.