metrics

package
v1.9.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BaseAttrs []attribute.KeyValue

BaseAttrs contains attributes that should be added in all exported metrics.

Functions

func SetupInstrumentation

func SetupInstrumentation(prometheusAddr string, serviceName string) error

SetupInstrumentation starts a metric endpoint.

Types

This section is empty.

Jump to

Keyboard shortcuts

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