Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseStream ¶
ParseStream parses DataDog POST request for /api/v1/series from reader and calls callback for the parsed request.
callback shouldn't hold series after returning.
Types ¶
type Point ¶
type Point [2]float64
Point represents a point from DataDog POST request to /api/v1/series
type Request ¶
type Request struct {
Series []Series `json:"series"`
}
Request represents DataDog POST request to /api/v1/series
See https://docs.datadoghq.com/api/latest/metrics/#submit-metrics
Click to show internal directories.
Click to hide internal directories.