{"action":"created","issue":{"url":"https://api.github.com/repos/dr1s/pihole_exporter.py/issues/3","repository_url":"https://api.github.com/repos/dr1s/pihole_exporter.py","labels_url":"https://api.github.com/repos/dr1s/pihole_exporter.py/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/dr1s/pihole_exporter.py/issues/3/comments","events_url":"https://api.github.com/repos/dr1s/pihole_exporter.py/issues/3/events","html_url":"https://github.com/dr1s/pihole_exporter.py/issues/3","id":348620480,"node_id":"MDU6SXNzdWUzNDg2MjA0ODA=","number":3,"title":"PiHole API has added non conforming field","user":{"login":"mehstg","id":4677843,"node_id":"MDQ6VXNlcjQ2Nzc4NDM=","avatar_url":"https://avatars3.githubusercontent.com/u/4677843?v=4","gravatar_id":"","url":"https://api.github.com/users/mehstg","html_url":"https://github.com/mehstg","followers_url":"https://api.github.com/users/mehstg/followers","following_url":"https://api.github.com/users/mehstg/following{/other_user}","gists_url":"https://api.github.com/users/mehstg/gists{/gist_id}","starred_url":"https://api.github.com/users/mehstg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mehstg/subscriptions","organizations_url":"https://api.github.com/users/mehstg/orgs","repos_url":"https://api.github.com/users/mehstg/repos","events_url":"https://api.github.com/users/mehstg/events{/privacy}","received_events_url":"https://api.github.com/users/mehstg/received_events","type":"User","site_admin":false},"labels":[{"id":801310653,"node_id":"MDU6TGFiZWw4MDEzMTA2NTM=","url":"https://api.github.com/repos/dr1s/pihole_exporter.py/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-08-08T08:13:23Z","updated_at":"2018-08-09T21:39:01Z","closed_at":"2018-08-09T13:22:15Z","author_association":"NONE","body":"PiHole API has added a new field `'gravity_last_updated' `with an output similar to below:\r\n`{\"file_exists\":true,\"absolute\":1533636561,\"relative\":{\"days\":\"0\",\"hours\":\"21\",\"minutes\":\"57\"}`\r\n\r\nAs pihole_exporter just converts the API JSON to metric format, it is putting a line in as below:\r\n`pihole_gravity_last_updated {'absolute': 1533636561, 'relative': {'minutes': '47', 'hours': '21', 'days': '0'}, 'file_exists': True}`\r\n\r\nPrometheus does not know what to do with this and gives a 'no token found error'\r\n"},"comment":{"url":"https://api.github.com/repos/dr1s/pihole_exporter.py/issues/comments/411906178","html_url":"https://github.com/dr1s/pihole_exporter.py/issues/3#issuecomment-411906178","issue_url":"https://api.github.com/repos/dr1s/pihole_exporter.py/issues/3","id":411906178,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMTkwNjE3OA==","user":{"login":"mehstg","id":4677843,"node_id":"MDQ6VXNlcjQ2Nzc4NDM=","avatar_url":"https://avatars3.githubusercontent.com/u/4677843?v=4","gravatar_id":"","url":"https://api.github.com/users/mehstg","html_url":"https://github.com/mehstg","followers_url":"https://api.github.com/users/mehstg/followers","following_url":"https://api.github.com/users/mehstg/following{/other_user}","gists_url":"https://api.github.com/users/mehstg/gists{/gist_id}","starred_url":"https://api.github.com/users/mehstg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mehstg/subscriptions","organizations_url":"https://api.github.com/users/mehstg/orgs","repos_url":"https://api.github.com/users/mehstg/repos","events_url":"https://api.github.com/users/mehstg/events{/privacy}","received_events_url":"https://api.github.com/users/mehstg/received_events","type":"User","site_admin":false},"created_at":"2018-08-09T21:39:01Z","updated_at":"2018-08-09T21:39:01Z","author_association":"NONE","body":"Thanks Daniel. All working ok!\nOn Thu, 9 Aug 2018 at 14:30, Daniel Schmitz <notifications@github.com>\nwrote:\n\n> Closed #3 <https://github.com/dr1s/pihole_exporter.py/issues/3> via\n> 4cae431\n> <https://github.com/dr1s/pihole_exporter.py/commit/4cae431a4cf03a7e7eb40161375bdc4a2a8f649b>\n> .\n>\n> —\n> You are receiving this because you authored the thread.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/dr1s/pihole_exporter.py/issues/3#event-1780181487>,\n> or mute the thread\n> <https://github.com/notifications/unsubscribe-auth/AEdg02wBIUgcSbINvRJQd8BaBWtC7Xpbks5uPDlsgaJpZM4VzeUr>\n> .\n>\n"}}
{"actor":{"display_login":"mehstg"}}