vault

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2023 License: Apache-2.0 Imports: 1 Imported by: 7

Documentation

Overview

Package vault provides helper functions to improve the go-metrics to stackdriver metric conversions specific to HashiCorp Vault.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bucketer

func Bucketer(key []string) []float64

Bucketer specifies the bucket boundaries that should be used for the given metric key.

func Extractor

func Extractor(key []string, kind string) ([]string, []metrics.Label, error)

Extractor extracts known patterns from the key into metrics.Label for better metric grouping and to help avoid the limit of 500 custom metric descriptors per project (https://cloud.google.com/monitoring/quotas).

Types

This section is empty.

Jump to

Keyboard shortcuts

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