So I’m using the example from the spark documentation which has worked really well for me
- the only question I have is if I could use this json format on 3 different event names such as acceleration_y, acceleration_x , acceleration_z without creating 3 different webhooks/json files as I have them right now.
Beause if i remember correctly, we’re limited to 4 webhooks ?
{
"eventName": "acceleration_y",
"url": "https://metrics-api.librato.com/v1/metrics",
"requestType": "POST",
"auth": {
"username": "--",
"password": "--"
},
"json": {
"gauges": [
{
"name": "{{SPARK_EVENT_NAME}}",
"value": "{{SPARK_EVENT_VALUE}}",
"source": "{{SPARK_CORE_ID}}"
}
]
},
"mydevices": true
}