graphite

package
v0.0.1-test Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2022 License: AGPL-3.0 Imports: 24 Imported by: 133

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

This section is empty.

Types

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 legacydata.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]interface{} `json:"tags"`
}

Jump to

Keyboard shortcuts

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