Sends metrics to a Dell SRM service
An example workflow of sending metrics to the SRM service:
The input is an array of objects.
id: dump-metrics
functions:
- id: store
image: vorteil/srm:v2
description: "Sends metrics to a Dell SRM service"
states:
- id: write-metrics
type: action
action:
function: store
input:
- srm-lb-address: "192.168.1.30"
srm-lb-port: "2000"
group: "group"
timestamp: 1625900409
variable: "rcc-latency-collector.au2004lpablah3.nsx.elapsed"
value: 100.01
name: "Availability"
source: "rcc-latency-collector"
device: "au2004lpablah3"
devtype: "host"
function: "nsx"
saas: "CIaaS"
part: "nsx"
unit: "ms"
parttype: "RESTAPI"
If the action is successful, no output will be returned.
In the case that an error is encountered, it will present in the following format:
{
"errorCode": "com.srm.%s.error",
"errorMsg": "Something went wrong"
}
Content type
Image
Digest
Size
2.3 MB
Last updated
about 5 years ago
docker pull vorteil/srm