kubernetes-sigs / dashboard-metrics-scraper

Container to scrape, store, and retrieve a window of time from the Metrics Server.
Apache License 2.0
87 stars 39 forks source link
k8s-sig-ui

dashboard-metrics-scraper

Small binary to scrape and store a small window of metrics from the Metrics Server in Kubernetes.

IMPORTANT: Metrics scraper codebase was moved to the Kubernetes Dashboard repository. You can find it here.

Command-Line Arguments

Flag Description Default
kubeconfig The path to the kubeconfig used to connect to the Kubernetes API server and the Kubelets (defaults to in-cluster config)
db-file What file to use as a SQLite3 database. /tmp/metrics.db
metric-resolution The resolution at which dashboard-metrics-scraper will poll metrics. 1m
metric-duration The duration after which metrics are purged from the database. 15m
log-level The log level. info
logtostderr Log to standard error. true
namespace The namespace to use for all metric calls. When provided, skip node metrics. defaults to cluster level metrics

Community, discussion, contribution, and support

Learn how to engage with the Kubernetes community on the community page.

You can reach the maintainers of this project at:

Code of conduct

Participation in the Kubernetes community is governed by the Kubernetes Code of Conduct.