{"action":"closed","issue":{"url":"https://api.github.com/repos/justwatchcom/elasticsearch_exporter/issues/204","repository_url":"https://api.github.com/repos/justwatchcom/elasticsearch_exporter","labels_url":"https://api.github.com/repos/justwatchcom/elasticsearch_exporter/issues/204/labels{/name}","comments_url":"https://api.github.com/repos/justwatchcom/elasticsearch_exporter/issues/204/comments","events_url":"https://api.github.com/repos/justwatchcom/elasticsearch_exporter/issues/204/events","html_url":"https://github.com/justwatchcom/elasticsearch_exporter/issues/204","id":389136030,"node_id":"MDU6SXNzdWUzODkxMzYwMzA=","number":204,"title":"how to add discovery for prometheus","user":{"login":"adoo123","id":32384019,"node_id":"MDQ6VXNlcjMyMzg0MDE5","avatar_url":"https://avatars0.githubusercontent.com/u/32384019?v=4","gravatar_id":"","url":"https://api.github.com/users/adoo123","html_url":"https://github.com/adoo123","followers_url":"https://api.github.com/users/adoo123/followers","following_url":"https://api.github.com/users/adoo123/following{/other_user}","gists_url":"https://api.github.com/users/adoo123/gists{/gist_id}","starred_url":"https://api.github.com/users/adoo123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adoo123/subscriptions","organizations_url":"https://api.github.com/users/adoo123/orgs","repos_url":"https://api.github.com/users/adoo123/repos","events_url":"https://api.github.com/users/adoo123/events{/privacy}","received_events_url":"https://api.github.com/users/adoo123/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-12-10T04:38:21Z","updated_at":"2018-12-10T11:04:22Z","closed_at":"2018-12-10T11:04:22Z","author_association":"NONE","body":"Could you write a discovery config for prometheus in /example/prometheus,like:\r\n    - job_name: 'kubernetes-cadvisor'\r\n      kubernetes_sd_configs:\r\n      - role: node\r\n      scheme: https\r\n      tls_config:\r\n        ca_file: /var/run/secrets/kubernetes.io/serviceaccount/ca.crt\r\n      bearer_token_file: /var/run/secrets/kubernetes.io/serviceaccount/token\r\n      relabel_configs:\r\n      - action: labelmap\r\n        regex: __meta_kubernetes_node_label_(.+)\r\n      - target_label: __address__\r\n        replacement: kubernetes.default.svc:443\r\n      - source_labels: [__meta_kubernetes_node_name]\r\n        regex: (.+)\r\n        target_label: __metrics_path__\r\n        replacement: /api/v1/nodes/${1}/proxy/metrics/cadvisor"}}
{"actor":{"display_login":"adoo123"}}