common

package
v0.0.0-...-b8a1a0e Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ResourcePrometheusMetricName           = "prometheus_metric_name"
	ResourcePrometheusLabelName            = "prometheus_label_name"
	ResourcePrometheusLabelValue           = "prometheus_label_value"
	ResourcePrometheusMetricAPPLabelLayout = "prometheus_metric_app_label_layout"
	ResourcePrometheusLabel                = "prometheus_label"
	ResourcePrometheusMetricTarget         = "prometheus_metric_target"
)
View Source
var (
	TargetLabelInstance = "instance"
	TargetLabelJob      = "job"
)

Functions

func AppendErrGroup

func AppendErrGroup(eg *errgroup.Group, f ErrFunc, args ...interface{})

func AppendErrGroupWithContext

func AppendErrGroupWithContext(ctx context.Context, eg *errgroup.Group, f ErrFunc, args ...interface{})

Types

type ErrFunc

type ErrFunc func(...interface{}) error

Jump to

Keyboard shortcuts

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