{"action":"created","issue":{"url":"https://api.github.com/repos/prometheus/prometheus/issues/1218","labels_url":"https://api.github.com/repos/prometheus/prometheus/issues/1218/labels{/name}","comments_url":"https://api.github.com/repos/prometheus/prometheus/issues/1218/comments","events_url":"https://api.github.com/repos/prometheus/prometheus/issues/1218/events","html_url":"https://github.com/prometheus/prometheus/issues/1218","id":116797174,"number":1218,"title":"extra_labels are not usable in alert content","user":{"login":"mwitkow","id":9655971,"avatar_url":"https://avatars.githubusercontent.com/u/9655971?v=3","gravatar_id":"","url":"https://api.github.com/users/mwitkow","html_url":"https://github.com/mwitkow","followers_url":"https://api.github.com/users/mwitkow/followers","following_url":"https://api.github.com/users/mwitkow/following{/other_user}","gists_url":"https://api.github.com/users/mwitkow/gists{/gist_id}","starred_url":"https://api.github.com/users/mwitkow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwitkow/subscriptions","organizations_url":"https://api.github.com/users/mwitkow/orgs","repos_url":"https://api.github.com/users/mwitkow/repos","events_url":"https://api.github.com/users/mwitkow/events{/privacy}","received_events_url":"https://api.github.com/users/mwitkow/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-11-13T16:01:31Z","updated_at":"2015-11-17T08:50:46Z","closed_at":null,"body":"With prometheus 0.15 we were using the `labels` to specify which `cluster` the given Prometheus instance is monitoring. The content and title of an alert contained this information to provide useful human-readable output such us \"Service %job failing in %cluster is down\".\r\n\r\nCurrently the `extra_labels` is only added as metadata around an alert, and not used in the evaluation of the body of the alert."},"comment":{"url":"https://api.github.com/repos/prometheus/prometheus/issues/comments/157311189","html_url":"https://github.com/prometheus/prometheus/issues/1218#issuecomment-157311189","issue_url":"https://api.github.com/repos/prometheus/prometheus/issues/1218","id":157311189,"user":{"login":"brian-brazil","id":7115638,"avatar_url":"https://avatars.githubusercontent.com/u/7115638?v=3","gravatar_id":"","url":"https://api.github.com/users/brian-brazil","html_url":"https://github.com/brian-brazil","followers_url":"https://api.github.com/users/brian-brazil/followers","following_url":"https://api.github.com/users/brian-brazil/following{/other_user}","gists_url":"https://api.github.com/users/brian-brazil/gists{/gist_id}","starred_url":"https://api.github.com/users/brian-brazil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brian-brazil/subscriptions","organizations_url":"https://api.github.com/users/brian-brazil/orgs","repos_url":"https://api.github.com/users/brian-brazil/repos","events_url":"https://api.github.com/users/brian-brazil/events{/privacy}","received_events_url":"https://api.github.com/users/brian-brazil/received_events","type":"User","site_admin":false},"created_at":"2015-11-17T08:50:46Z","updated_at":"2015-11-17T08:50:46Z","body":"The PR for the relevant feature in the new alertmanager is  https://github.com/prometheus/alertmanager/pull/147 if you want to try it out."}}