Matt Bolt cd5559ef77 Merge pull request #946 from kubecost/bolt/metrics-exporter 4 years ago
..
contextnames.go 5feb0053a2 Add prometheus metrics endpoint 4 years ago
diagnostics.go 4ec2419998 Fix issue with query 4 years ago
error.go e8aa613cb9 complete the code doc 4 years ago
error_test.go bd4e8a2d03 Update package to the same value, added error tests for the prom package 5 years ago
helpers.go 8453fc356b Refactors to reduce boilerplate for startup, add standalone http services "home" for services with 0 dependencies (currently), configmap watcher API, kubecost metrics now include provider metrics. 4 years ago
ids.go 4bffe5119a Add better identification methods for determining which type of prometheus.Client you're using. 5 years ago
metrics.go be0b1aa7c4 Created a util/json.go which delegates calls to jsoniter or encoding/json libraries 5 years ago
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 4 years ago
prom.go 2841672080 Added a string bank utility which can be leveraged in the buffer readstring. Refactor specific utilities into respecitive _util package. 4 years ago
query.go cf2142ebcd Migrated proxy query and query range endpoints from /api to /model. This will allow better visibility on frontend queries made through our product. 4 years ago
query_test.go 0024683dab Prometheus Request Queue Diagnostics 4 years ago
result.go a5b86b8c9f Go FMT 4 years ago
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 years ago
warning.go f2e3d710db Prometheus Parsing and CostModel Cleanup 5 years ago