graphite

package
v11.1.4-modfix Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2024 License: AGPL-3.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TargetFullModelField = "targetFull"
	TargetModelField     = "target"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DataTimePoint

type DataTimePoint [2]null.Float

type DataTimeSeriesPoints

type DataTimeSeriesPoints []DataTimePoint

type Service

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

func ProvideService

func ProvideService(httpClientProvider httpclient.Provider, tracer tracing.Tracer) *Service

func (*Service) QueryData

type TargetResponseDTO

type TargetResponseDTO struct {
	Target     string               `json:"target"`
	DataPoints DataTimeSeriesPoints `json:"datapoints"`
	// Graphite <=1.1.7 may return some tags as numbers requiring extra conversion. See https://github.com/grafana/grafana/issues/37614
	Tags map[string]any `json:"tags"`
}

Jump to

Keyboard shortcuts

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