This repository was archived by the owner on Feb 29, 2020. It is now read-only.

Description
Since version 0.22 Mesos is support task labels. (https://mesosphere.com/blog/2015/03/27/mesos-0-22-0-released/)
...
{
"executor_id": "default",
"framework_id": "20150312-120017-16777343-5050-39028-0000",
"id": "3",
"labels": [
{
"key": "environment",
"value": "prod"
},
{
"key": "bananas",
"value": "apples"
}
],
"name": "Task 3",
"slave_id": "20150312-115625-16777343-5050-38751-S0",
"state": "TASK_FINISHED",
...
},
Labels are also available in /monitor/statistics.json. We should attach those labels to our the scraped tasks metrics.