processing

package
v0.0.0-...-bf7e782 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const WildcardMetric = string("*")

Variables

View Source
var ProcessDeviceMetrics = metricProcessorFunc("deviceplane.device.", addNoTags)
View Source
var ProcessProjectMetrics = metricProcessorFunc("deviceplane.", addNoTags)
View Source
var ProcessServiceMetrics = func(applicationName, serviceName string) metricProcessor {
	return metricProcessorFunc("deviceplane.service.",
		func(addTag func(tag, value string)) {
			if applicationName != "" {
				addTag("deviceplane.application", applicationName)
			}
			if serviceName != "" {
				addTag("deviceplane.service", serviceName)
			}
		},
	)
}

Functions

func PrefilterNodePrefix

func PrefilterNodePrefix(rawHostMetrics string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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