payload: {"action":"created","issue":{"url":"https://api.github.com/repos/cloudalchemy/ansible-prometheus/issues/45","repository_url":"https://api.github.com/repos/cloudalchemy/ansible-prometheus","labels_url":"https://api.github.com/repos/cloudalchemy/ansible-prometheus/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/cloudalchemy/ansible-prometheus/issues/45/comments","events_url":"https://api.github.com/repos/cloudalchemy/ansible-prometheus/issues/45/events","html_url":"https://github.com/cloudalchemy/ansible-prometheus/issues/45","id":285104882,"node_id":"MDU6SXNzdWUyODUxMDQ4ODI=","number":45,"title":"Convert scrape_configs to simple attribute tree","user":{"login":"SuperQ","id":1320667,"node_id":"MDQ6VXNlcjEzMjA2Njc=","avatar_url":"https://avatars1.githubusercontent.com/u/1320667?v=4","gravatar_id":"","url":"https://api.github.com/users/SuperQ","html_url":"https://github.com/SuperQ","followers_url":"https://api.github.com/users/SuperQ/followers","following_url":"https://api.github.com/users/SuperQ/following{/other_user}","gists_url":"https://api.github.com/users/SuperQ/gists{/gist_id}","starred_url":"https://api.github.com/users/SuperQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SuperQ/subscriptions","organizations_url":"https://api.github.com/users/SuperQ/orgs","repos_url":"https://api.github.com/users/SuperQ/repos","events_url":"https://api.github.com/users/SuperQ/events{/privacy}","received_events_url":"https://api.github.com/users/SuperQ/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-12-29T14:49:11Z","updated_at":"2019-03-24T22:45:40Z","closed_at":"2018-01-03T11:56:05Z","author_association":"COLLABORATOR","body":"Rather than having a lot of custom templating, the `scrape_configs` section should be a simple tree of attributes that are sent to the config with `to_nice_yaml`\r\n\r\nIn `defaults/main.yml`:\r\n```yaml\r\nprometheus_scrape_configs:\r\n  - job_name: prometheus\r\n   ...\r\n```\r\n\r\nThen in `templates/prometheus.yml.j2`:\r\n```yaml\r\nscrape_configs:\r\n{{ prometheus_scrape_configs | to_nice_yaml }}\r\n```"},"comment":{"url":"https://api.github.com/repos/cloudalchemy/ansible-prometheus/issues/comments/476008889","html_url":"https://github.com/cloudalchemy/ansible-prometheus/issues/45#issuecomment-476008889","issue_url":"https://api.github.com/repos/cloudalchemy/ansible-prometheus/issues/45","id":476008889,"node_id":"MDEyOklzc3VlQ29tbWVudDQ3NjAwODg4OQ==","user":{"login":"lock[bot]","id":33595554,"node_id":"MDM6Qm90MzM1OTU1NTQ=","avatar_url":"https://avatars1.githubusercontent.com/in/6672?v=4","gravatar_id":"","url":"https://api.github.com/users/lock%5Bbot%5D","html_url":"https://github.com/apps/lock","followers_url":"https://api.github.com/users/lock%5Bbot%5D/followers","following_url":"https://api.github.com/users/lock%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/lock%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/lock%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lock%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/lock%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/lock%5Bbot%5D/repos","events_url":"https://api.github.com/users/lock%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/lock%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2019-03-24T22:45:40Z","updated_at":"2019-03-24T22:45:40Z","author_association":"NONE","body":"This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs."}}
other: {"actor":{"display_login":"lock"}}