This is a sample ExternalMetricsGrabber named "test_emi". In order to ingest data to it, just execute this
simple curl request:
curl 'http://localhost:12789/emi?ns=test_emi&name=metric1&value=2&type=num' -X POST
and watch as this page update itself. Now you can try and populate the other three metrics. In order to
be able to ingest more than one metric with a single http call, you can also use the JSON ingestion method
with the following:
curl 'http://localhost:12789/emi?ns=test_emi' -X POST -H "Content-Type: application/json" -d '{"num":{"metric1":12},"str":{"metric4":"I did it!"}}'