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