You can send metrics data to HostedMetrics by using the StatsD protocol.
There are many client libraries for using StatsD metrics in any application framework. This makes StatsD quite popular for custom application metrics.Connection Details for Your StatsD Client
You must prefix all your metric names with your api key. The StatsD library you're using most likely has support for this. It should automatically add a period character too to separate the prefix from the metric name.Tags
You can make use of tags by appending comma-separated key/value
pairs to the metric name, like such:
Field names can be specified by appending them with a period character
to the metric name (and before the tags, that is). So, if you send these two lines:
the data will be stored under a measurement named
It will contain the fields
Lastly, the measurements will be tagged with:
For more details on field names, please see the Measurement Naming page.