-
Notifications
You must be signed in to change notification settings - Fork 48
/
model_time_display_options.go
22 lines (20 loc) · 1.93 KB
/
model_time_display_options.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
* Charts API
*
* An API for creating, retrieving, updating, and deleting charts
*
* API version: 2.0.1
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/
package chart
// Object that contains time-related properties for a chart.<br> **Note** These properties are only available if `options.type` is `TimeSeriesChart`.
type TimeDisplayOptions struct {
// The timestamp of the last time to display in the chart, in Unix time UTC<br> **Note** This option is only available if `options.type` is `TimeSeriesChart` and `options.time.type` is `absolute`.
End *int64 `json:"end,omitempty"`
// The number of milliseconds to display in the chart. From this value, SignalFx calculates a rolling range with the current time at the right edge of the chart. Use 0 to use the default behavior, which is -15m except for the following metrics -- * **AWS** -- See the metrics listed in the help topic [Monitor Amazon Web Services](https://docs.signalfx.com/en/latest/integrations/aws-info.htm) * **GCP** -- See the metrics listed in the help topic [Monitor Google Cloud Platform (GCP)](https://docs.signalfx.com/en/latest/integrations/google-cloud-platform.html) * **Microsoft Azure** -- See the metrics listed in the help topic [Monitor Microsoft Azure](https://docs.signalfx.com/en/latest/integrations/azure-info.html) <br> **Note** This option is only available if `options.type` is `TimeSeriesChart` and `options.time.type` is `relative`.
Range *int64 `json:"range,omitempty"`
// The timestamp of the first time to display in the chart, in Unix time UTC<br> **Note** This option is only available if `options.type` is `TimeSeriesChart` and `options.time.type` is `absolute`.
Start *int64 `json:"start,omitempty"`
// Determines whether to use an explicit time range or to show a range of the last *n* milliseconds.<br> **Note** This option is only available if `options.type` is `TimeSeriesChart`.
Type string `json:"type,omitempty"`
}