The requirement is to check whether jmxtrans can write directly to an internal time series DB using api calls which takes json as the POST body
I need to post the jmxtrans output to rest api. Is this possible? Which output writer should I use?
Example json for a metric:
[{
"tags": {
"unit": "count",
"metric": "ActiveControllerCount",
"resource": "kafka_metrics",
"provider": "teamx",
"node": "kafka-prod-1",
"env":"usa"
},
"datapoints": [{
"timestamp": 1530171007,
"value": 8
},
{
"timestamp": 1530170993,
"value": 10
}
]
}]