type Graph struct {
// Time range of the graph. Start, End time.Time// Content of the graph. Metrics []Metric// List of attributes to group by. GroupBy []string
}
A Graph represents a single graph. It may reference multiple data-sources.
type Metric struct {
// The unique identifier of the metric. Hostname, Identifier string// Attributes describing details of the metric. Attributes map[string]string// contains filtered or unexported fields
}
A Metric represents a single data-source of a graph.