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