Skip to content
This repository has been archived by the owner on Jul 7, 2023. It is now read-only.

Container to scrape, store, and retrieve a window of time from the Metrics Server.

License

Notifications You must be signed in to change notification settings

kubernetes-sigs/dashboard-metrics-scraper

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.