metrics

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SyncProxyDuration = kmetrics.NewHistogram(
		&kmetrics.HistogramOpts{
			Namespace:      metricNamespaceAntrea,
			Subsystem:      metricSubsystemProxy,
			ConstLabels:    map[string]string{"ip_family": "v4"},
			StabilityLevel: kmetrics.ALPHA,
			Name:           "sync_proxy_rules_duration_seconds",
			Help:           "SyncProxyRules duration of AntreaProxy in seconds",
		},
	)
	ServicesInstalledTotal = kmetrics.NewGauge(
		&kmetrics.GaugeOpts{
			Namespace:      metricNamespaceAntrea,
			Subsystem:      metricSubsystemProxy,
			ConstLabels:    map[string]string{"ip_family": "v4"},
			StabilityLevel: kmetrics.ALPHA,
			Name:           "total_services_installed",
			Help:           "The number of Services installed by AntreaProxy",
		},
	)
	EndpointsInstalledTotal = kmetrics.NewGauge(
		&kmetrics.GaugeOpts{
			Namespace:      metricNamespaceAntrea,
			Subsystem:      metricSubsystemProxy,
			ConstLabels:    map[string]string{"ip_family": "v4"},
			StabilityLevel: kmetrics.ALPHA,
			Name:           "total_endpoints_installed",
			Help:           "The number of Endpoints installed by AntreaProxy",
		},
	)
	ServicesUpdatesTotal = kmetrics.NewCounter(
		&kmetrics.CounterOpts{
			Namespace:      metricNamespaceAntrea,
			Subsystem:      metricSubsystemProxy,
			ConstLabels:    map[string]string{"ip_family": "v4"},
			StabilityLevel: kmetrics.ALPHA,
			Name:           "total_services_updates",
			Help:           "The cumulative number of Service updates received by AntreaProxy",
		},
	)
	EndpointsUpdatesTotal = kmetrics.NewCounter(
		&kmetrics.CounterOpts{
			Namespace:      metricNamespaceAntrea,
			Subsystem:      metricSubsystemProxy,
			ConstLabels:    map[string]string{"ip_family": "v4"},
			StabilityLevel: kmetrics.ALPHA,
			Name:           "total_endpoints_updates",
			Help:           "The cumulative number of Endpoint updates received by AntreaProxy",
		},
	)

	SyncProxyDurationV6 = kmetrics.NewHistogram(
		&kmetrics.HistogramOpts{
			Namespace:      metricNamespaceAntrea,
			Subsystem:      metricSubsystemProxy,
			ConstLabels:    map[string]string{"ip_family": "v6"},
			StabilityLevel: kmetrics.ALPHA,
			Name:           "sync_proxy_rules_duration_seconds",
			Help:           "SyncProxyRules duration of AntreaProxy in seconds",
		},
	)
	ServicesInstalledTotalV6 = kmetrics.NewGauge(
		&kmetrics.GaugeOpts{
			Namespace:      metricNamespaceAntrea,
			Subsystem:      metricSubsystemProxy,
			ConstLabels:    map[string]string{"ip_family": "v6"},
			StabilityLevel: kmetrics.ALPHA,
			Name:           "total_services_installed",
			Help:           "The number of Services installed by AntreaProxy",
		},
	)
	EndpointsInstalledTotalV6 = kmetrics.NewGauge(
		&kmetrics.GaugeOpts{
			Namespace:      metricNamespaceAntrea,
			Subsystem:      metricSubsystemProxy,
			ConstLabels:    map[string]string{"ip_family": "v6"},
			StabilityLevel: kmetrics.ALPHA,
			Name:           "total_endpoints_installed",
			Help:           "The number of Endpoints installed by AntreaProxy",
		},
	)
	ServicesUpdatesTotalV6 = kmetrics.NewCounter(
		&kmetrics.CounterOpts{
			Namespace:      metricNamespaceAntrea,
			Subsystem:      metricSubsystemProxy,
			ConstLabels:    map[string]string{"ip_family": "v6"},
			StabilityLevel: kmetrics.ALPHA,
			Name:           "total_services_updates",
			Help:           "The cumulative number of Service updates received by AntreaProxy",
		},
	)
	EndpointsUpdatesTotalV6 = kmetrics.NewCounter(
		&kmetrics.CounterOpts{
			Namespace:      metricNamespaceAntrea,
			Subsystem:      metricSubsystemProxy,
			ConstLabels:    map[string]string{"ip_family": "v6"},
			StabilityLevel: kmetrics.ALPHA,
			Name:           "total_endpoints_updates",
			Help:           "The cumulative number of Endpoint updates received by AntreaProxy",
		},
	)
)

Functions

func Register

func Register()

Types

This section is empty.

Jump to

Keyboard shortcuts

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