metrics

package
v1.6.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 16, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

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_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
	},
}

InterestingCNIMetrics defines metrics parsing definition for kube-state-metrics

Functions

func Handler

func Handler(t metricsTarget)

Handler grabs metrics from target, aggregates the metrics and convert them into cloudwatch metrics

Types

type CNIMetricsTarget

type CNIMetricsTarget struct {
	// contains filtered or unexported fields
}

CNIMetricsTarget defines data structure for kube-state-metric target

func CNIMetricsNew

func CNIMetricsNew(c clientset.Interface, cw publisher.Publisher, d *k8sapi.Controller, submitCW bool) *CNIMetricsTarget

CNIMetricsNew creates a new metricsTarget

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL