Matt Bolt 34fb89b283 Normalized pod metric objects to make collapsing later more straight-forward. Added a unit test for KubeLabelsToLabels utility. Added kube_namespace_labels emission. Separated the pod annotation emission from the default ksm emission 5 år sedan
..
error.go 98cdb2a7b4 complete the code doc 5 år sedan
error_test.go bd4e8a2d03 Update package to the same value, added error tests for the prom package 5 år sedan
ids.go 4bffe5119a Add better identification methods for determining which type of prometheus.Client you're using. 5 år sedan
metrics.go be0b1aa7c4 Created a util/json.go which delegates calls to jsoniter or encoding/json libraries 5 år sedan
metrics_test.go 34fb89b283 Normalized pod metric objects to make collapsing later more straight-forward. Added a unit test for KubeLabelsToLabels utility. Added kube_namespace_labels emission. Separated the pod annotation emission from the default ksm emission 5 år sedan
prom.go 1728a1b784 Add a query parameter decorator to allow specific query parameters to be added to prometheus/thanos queries. 5 år sedan
query.go 5fbd619f5a fix comerror merge 5 år sedan
result.go c5898ed816 Better documentation from Michael's suggestions 5 år sedan
validate.go 87687565e9 Pass back warnings from prometheus where appropriate. Move ErrorCollector to prom package, updates to propagate and handle error collection errors appropriately. Add annotations collectors for prometheus metrics. Update all of the kubernetes based metric collectors to use the ClusterCache 5 år sedan
warning.go f2e3d710db Prometheus Parsing and CostModel Cleanup 6 år sedan