package
0.0.0-20230628214157-3bfe64699e82
Repository: https://github.com/gravitational/gravity.git
Documentation: pkg.go.dev
# Functions
GetNamespace uses the provided Kubernetes client to determine namespace where monitoring resources reside.
NewInClusterPrometheus returns in-cluster Prometheus client.
NewPrometheus returns a new Prometheus-backed metrics collector.
# Structs
Point represents a single data point in a time series.
Prometheus retrieves cluster metrics by querying in-cluster Prometheus.
# Interfaces
Metrics defines an interface for cluster metrics.
# Type aliases
Series represents a time series, collection of data points.