aggregation

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package aggregation holds an enum of different aggregation types for Counters.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Aggregation

type Aggregation int

Aggregation is an enum of the different aggregation types for counter metrics.

const (
	// Count keeps a count the number of times something occurs.
	Count Aggregation = iota
	// LastValueInGCPMaxValueInLocal when used by OpenCensus implementation uses the
	// view.LastValue aggregation, sending the last recorded value whenever the
	// metric is exported to GCP. Local implementation will return the max value
	// recorded by the metric.
	LastValueInGCPMaxValueInLocal Aggregation = iota
)

Jump to

Keyboard shortcuts

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