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