Open
Description
Hi
Like other reporters, it will be nice to add the labels support for each metrics types. It allows drilldown and aggregation over dimensions. Traditionnally hostname/instanceId/port are some common labels.
For exemple :
{
"name": "usa-gov-heartbearts",
"@timestamp": "2013-07-20T09:29:58.000+0000",
"count": 18
"tags":
{
"hostname": "server1",
"service_id": "myapplication_id",
"port": 8087,
"other_label": 1.0
}
}
And the API
ElasticSearchReporter reporter= ElasticSearchReporter .forRegistry(metrics). .withTags(ImmutableMap.of("other", "tags")).prefix(prefix).build()
Metadata
Metadata
Assignees
Labels
No labels