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 anos atrás
..
error.go 98cdb2a7b4 complete the code doc 5 anos atrás
error_test.go bd4e8a2d03 Update package to the same value, added error tests for the prom package 5 anos atrás
ids.go 4bffe5119a Add better identification methods for determining which type of prometheus.Client you're using. 5 anos atrás
metrics.go be0b1aa7c4 Created a util/json.go which delegates calls to jsoniter or encoding/json libraries 5 anos atrás
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 anos atrás
prom.go 1728a1b784 Add a query parameter decorator to allow specific query parameters to be added to prometheus/thanos queries. 5 anos atrás
query.go 5fbd619f5a fix comerror merge 5 anos atrás
result.go c5898ed816 Better documentation from Michael's suggestions 5 anos atrás
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 anos atrás
warning.go f2e3d710db Prometheus Parsing and CostModel Cleanup 6 anos atrás