{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kube-state-metrics/issues/367","repository_url":"https://api.github.com/repos/kubernetes/kube-state-metrics","labels_url":"https://api.github.com/repos/kubernetes/kube-state-metrics/issues/367/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kube-state-metrics/issues/367/comments","events_url":"https://api.github.com/repos/kubernetes/kube-state-metrics/issues/367/events","html_url":"https://github.com/kubernetes/kube-state-metrics/issues/367","id":297204894,"node_id":"MDU6SXNzdWUyOTcyMDQ4OTQ=","number":367,"title":"kube_job_status_failed metric not fluctuating","user":{"login":"noah-mercado","id":36485832,"node_id":"MDQ6VXNlcjM2NDg1ODMy","avatar_url":"https://avatars0.githubusercontent.com/u/36485832?v=4","gravatar_id":"","url":"https://api.github.com/users/noah-mercado","html_url":"https://github.com/noah-mercado","followers_url":"https://api.github.com/users/noah-mercado/followers","following_url":"https://api.github.com/users/noah-mercado/following{/other_user}","gists_url":"https://api.github.com/users/noah-mercado/gists{/gist_id}","starred_url":"https://api.github.com/users/noah-mercado/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noah-mercado/subscriptions","organizations_url":"https://api.github.com/users/noah-mercado/orgs","repos_url":"https://api.github.com/users/noah-mercado/repos","events_url":"https://api.github.com/users/noah-mercado/events{/privacy}","received_events_url":"https://api.github.com/users/noah-mercado/received_events","type":"User","site_admin":false},"labels":[{"id":778118415,"node_id":"MDU6TGFiZWw3NzgxMTg0MTU=","url":"https://api.github.com/repos/kubernetes/kube-state-metrics/labels/lifecycle/stale","name":"lifecycle/stale","color":"795548","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-02-14T18:49:34Z","updated_at":"2018-07-05T04:52:45Z","closed_at":null,"author_association":"NONE","body":"The documentation for kube_job_status_failed claims that this metric is a gauge and therefore should fluctuate. When using this metric and summing by the job name to get the number of times each job has failed, the numbers are consistent and there is no fluctuation for weeks on end which is hard to believe.\r\n\r\nHere's the query I'm using in grafana to display the each job that has failed:\r\n\r\nsum(kube_job_status_failed) by (exported_job) > 0\r\n\r\nIs this an issue with the documentation? Or am I calculating the metric wrong?  Thanks!"},"comment":{"url":"https://api.github.com/repos/kubernetes/kube-state-metrics/issues/comments/402605827","html_url":"https://github.com/kubernetes/kube-state-metrics/issues/367#issuecomment-402605827","issue_url":"https://api.github.com/repos/kubernetes/kube-state-metrics/issues/367","id":402605827,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMjYwNTgyNw==","user":{"login":"fejta-bot","id":30488982,"node_id":"MDQ6VXNlcjMwNDg4OTgy","avatar_url":"https://avatars1.githubusercontent.com/u/30488982?v=4","gravatar_id":"","url":"https://api.github.com/users/fejta-bot","html_url":"https://github.com/fejta-bot","followers_url":"https://api.github.com/users/fejta-bot/followers","following_url":"https://api.github.com/users/fejta-bot/following{/other_user}","gists_url":"https://api.github.com/users/fejta-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/fejta-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fejta-bot/subscriptions","organizations_url":"https://api.github.com/users/fejta-bot/orgs","repos_url":"https://api.github.com/users/fejta-bot/repos","events_url":"https://api.github.com/users/fejta-bot/events{/privacy}","received_events_url":"https://api.github.com/users/fejta-bot/received_events","type":"User","site_admin":false},"created_at":"2018-07-05T04:52:45Z","updated_at":"2018-07-05T04:52:45Z","author_association":"NONE","body":"Stale issues rot after 30d of inactivity.\nMark the issue as fresh with `/remove-lifecycle rotten`.\nRotten issues close after an additional 30d of inactivity.\n\nIf this issue is safe to close now please do so with `/close`.\n\nSend feedback to sig-testing, kubernetes/test-infra and/or [fejta](https://github.com/fejta).\n/lifecycle rotten\n/remove-lifecycle stale"}}
{"actor":{"display_login":"fejta-bot"}}