| 123456789101112131415161718192021222324252627282930313233 |
- package stackdriver
- import "time"
- type StackDriverResponse struct {
- TimeSeries []struct {
- Metric struct {
- Labels struct {
- InstanceName string `json:"instance_name"`
- } `json:"labels"`
- Type string `json:"type"`
- } `json:"metric"`
- Resource struct {
- Type string `json:"type"`
- Labels struct {
- InstanceID string `json:"instance_id"`
- Zone string `json:"zone"`
- ProjectID string `json:"project_id"`
- } `json:"labels"`
- } `json:"resource"`
- MetricKind string `json:"metricKind"`
- ValueType string `json:"valueType"`
- Points []struct {
- Interval struct {
- StartTime time.Time `json:"startTime"`
- EndTime time.Time `json:"endTime"`
- } `json:"interval"`
- Value struct {
- DoubleValue float64 `json:"doubleValue"`
- } `json:"value"`
- } `json:"points"`
- } `json:"timeSeries"`
- }
|