Versions in this module Expand all Collapse all v1 v1.0.20 Dec 19, 2019 v1.0.19 Nov 11, 2019 v1.0.18 Sep 14, 2019 v1.0.17 Aug 13, 2019 Changes in this version + type AddMetricDataItem struct + CollectTime int + Metric MetricInfo + Ttl int + Type string + Unit string + Value float64 + func (opts AddMetricDataItem) ToMap() (map[string]interface{}, error) + type AddMetricDataOpts []AddMetricDataItem + func (opts AddMetricDataOpts) ToAddMetricDataMap() ([]map[string]interface{}, error) + type AddMetricDataOptsBuilder interface + ToAddMetricDataMap func() ([]map[string]interface{}, error) + type AddMetricDataResult struct + func AddMetricData(client *gophercloud.ServiceClient, opts AddMetricDataOptsBuilder) (r AddMetricDataResult) + type BatchQueryOpts struct + Filter string + From int64 + Metrics []Metric + Period string + To int64 + func (opts BatchQueryOpts) ToBatchQueryOptsMap() (map[string]interface{}, error) + type BatchQueryOptsBuilder interface + ToBatchQueryOptsMap func() (map[string]interface{}, error) + type Datapoint struct + Average float64 + Timestamp int + Unit string + type EventData struct + Datapoints []EventDataInfo + type EventDataInfo struct + Timestamp int + Type string + Value string + type GetEventDataOpts struct + Dim0 string + Dim1 string + Dim2 string + From string + Namespace string + To string + Type string + type GetEventDataResult struct + func GetEventData(client *gophercloud.ServiceClient, opts GetEventDataOpts) (r GetEventDataResult) + func (r GetEventDataResult) Extract() (*EventData, error) + type GetOpts struct + Dim0 string + Dim1 string + Dim2 string + Filter string + From string + MetricName string + Namespace string + Period string + To string + type GetResult struct + func Get(client *gophercloud.ServiceClient, opts GetOpts) (r GetResult) + func (r GetResult) Extract() (*Metricdata, error) + type Metric struct + Dimensions []map[string]string + MetricName string + Namespace string + type MetricData struct + Datapoints []map[string]interface{} + Dimensions []map[string]interface{} + MetricName string + Namespace string + Unit string + type MetricDatasResult struct + func BatchQuery(client *gophercloud.ServiceClient, opts BatchQueryOptsBuilder) (r MetricDatasResult) + func (r MetricDatasResult) ExtractMetricDatas() ([]MetricData, error) + type MetricInfo struct + Dimensions []MetricsDimension + MetricName string + Namespace string + type Metricdata struct + Datapoints []Datapoint + MetricName string + type MetricsDimension struct + Name string + Value string