Documentation ¶
Overview ¶
Package metrics handles the processing of all metrics. This file handles metrics for ipamd
Package metrics provide common data structure and routines for converting/aggregating prometheus metrics to cloudwatch metrics
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var InterestingCNIMetrics = map[string]metricsConvert{ "awscni_assigned_ip_addresses": { // contains filtered or unexported fields }, "awscni_total_ip_addresses": { // contains filtered or unexported fields }, "awscni_total_ipv4_prefixes": { // contains filtered or unexported fields }, "awscni_assigned_ip_per_cidr": { // contains filtered or unexported fields }, "awscni_eni_allocated": { // contains filtered or unexported fields }, "awscni_eni_max": { // contains filtered or unexported fields }, "awscni_ip_max": { // contains filtered or unexported fields }, "awscni_aws_api_latency_ms": { // contains filtered or unexported fields }, "awscni_aws_api_error_count": { // contains filtered or unexported fields }, "awscni_aws_utils_error_count": { // contains filtered or unexported fields }, "awscni_ipamd_error_count": { // contains filtered or unexported fields }, "awscni_force_removed_enis": { // contains filtered or unexported fields }, "awscni_force_removed_ips": { // contains filtered or unexported fields }, "awscni_ipamd_action_inprogress": { // contains filtered or unexported fields }, "awscni_reconcile_count": { // contains filtered or unexported fields }, "awscni_add_ip_req_count": { // contains filtered or unexported fields }, "awscni_del_ip_req_count": { // contains filtered or unexported fields }, "awscni_pod_eni_error_count": { // contains filtered or unexported fields }, "awscni_ec2api_req_count": { // contains filtered or unexported fields }, "awscni_ec2api_error_count": { // contains filtered or unexported fields }, }
InterestingCNIMetrics defines metrics parsing definition for kube-state-metrics
Functions ¶
Types ¶
type CNIMetricsTarget ¶
type CNIMetricsTarget struct {
// contains filtered or unexported fields
}
CNIMetricsTarget defines data structure for kube-state-metric target
func CNIMetricsNew ¶
func CNIMetricsNew(k8sClient kubernetes.Interface, cw publisher.Publisher, submitCW bool, submitPrometheus bool, l logger.Logger, watcher *defaultPodWatcher) *CNIMetricsTarget
CNIMetricsNew creates a new metricsTarget
Click to show internal directories.
Click to hide internal directories.