allow

package
v2.0.0-beta.0...-3bc1883 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Labels

type Labels map[string][]string

Labels provide a way to allow only specified labels for metrics. Falls back to default labels, if your metric doesn't have defaults then all labels are allowed.

func (Labels) Allowed

func (a Labels) Allowed(metric string, labels, values []string) ([]string, []string)

Allowed returns allowed metric keys and values for the metric.

Jump to

Keyboard shortcuts

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