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

Latest commit

 

History

History
32 lines (22 loc) · 1.57 KB

README.md

File metadata and controls

32 lines (22 loc) · 1.57 KB

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.