Documentation ¶
Overview ¶
Package sketches is a copy of part from github.com/DataDog/datadog-agent/pkg/metrics. TODO(mx-psi): import pkg/metrics from datadog-agent directly
Index ¶
Constants ¶
View Source
const (
SketchSeriesEndpoint string = "/api/beta/sketches"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SketchPoint ¶
A SketchPoint represents a quantile sketch at a specific time
type SketchSeries ¶
type SketchSeries struct { Name string `json:"metric"` Tags []string `json:"tags"` Host string `json:"host"` Interval int64 `json:"interval"` Points []SketchPoint `json:"points"` }
A SketchSeries is a timeseries of quantile sketches.
type SketchSeriesList ¶
type SketchSeriesList []SketchSeries
A SketchSeriesList implements marshaler.Marshaler
func (SketchSeriesList) Marshal ¶
func (sl SketchSeriesList) Marshal() ([]byte, error)
Marshal encodes this series list.
Click to show internal directories.
Click to hide internal directories.