metrics

package
v0.18.0 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

SPDX-FileCopyrightText: 2021 SAP SE or an SAP affiliate company and Gardener contributors

SPDX-License-Identifier: Apache-2.0

Index

Constants

This section is empty.

Variables

View Source
var (
	FilterListDownloads = prometheus.NewCounterVec(
		prometheus.CounterOpts{
			Name: "shoot_networking_filter_list_downloads",
			Help: "Total number of download requests executed",
		},
		[]string{"success"},
	)

	FilterListSize = prometheus.NewGaugeVec(
		prometheus.GaugeOpts{
			Name: "shoot_networking_filter_list_size",
			Help: "Number of entries in filter list",
		},
		[]string{"list"},
	)
)

Functions

func ReportDownload

func ReportDownload(success bool)

ReportDownload reports a filter list download.

func ReportFilterListSize

func ReportFilterListSize(name string, size int)

ReportFilterListSize reports the size of a filter list.

Types

This section is empty.

Jump to

Keyboard shortcuts

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