command
Version:
v0.0.0-...-e8b88a3
Opens a new window with list of versions in this module.
Published: Jun 22, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
GetMetricData/GetMetricDatav2.go
This example displays the metric data points for the provided input in the given time-frame.
go run CreateCustomMetricv2.go -mN METRIC-NAME -n NAMESPACE -dn DIMENSION-NAME -dv DIMENSION-VALUE -id ID -dM DIFFINMINUTES -s STAT -p PERIOD
- NAMESPACE is the namespace for the metric.
- METRIC-NAME is the name of the metric.
- DIMENSION-NAME is the name of the dimension.
- DIMENSION-VALUE is the value of the dimension.
- ID is a short name used to tie the object to the results in the response
- DIFFINMINUTES is the difference in minutes for which the metrics are requested
- STAT is the Statistic to return i.e. SUM, COUNT, AVERAGE etc
- PERIOD is the granularity, in seconds, of the returned data points
The unit test accepts similar values in config.json
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.