Documentation ¶
Index ¶
Constants ¶
View Source
const ( TargetFullModelField = "targetFull" TargetModelField = "target" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataTimePoint ¶
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 ¶
func (s *Service) QueryData(ctx context.Context, req *backend.QueryDataRequest) (*backend.QueryDataResponse, error)
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"` }
Click to show internal directories.
Click to hide internal directories.