prometheus

package
v0.0.0-cloud Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2023 License: AGPL-3.0 Imports: 18 Imported by: 135

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertAPIError

func ConvertAPIError(err error) error

func IsAPIError

func IsAPIError(err error) bool

IsAPIError returns whether err is or wraps a Prometheus error.

Types

type Service

type Service struct {
	// contains filtered or unexported fields
}

func ProvideService

func ProvideService(httpClientProvider httpclient.Provider, cfg *setting.Cfg, features featuremgmt.FeatureToggles, tracer tracing.Tracer) *Service

func (*Service) CallResource

func (*Service) QueryData

Directories

Path Synopsis
kinds

Jump to

Keyboard shortcuts

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