{"action":"created","issue":{"url":"https://api.github.com/repos/pwillie/prometheus-es-adapter/issues/16","repository_url":"https://api.github.com/repos/pwillie/prometheus-es-adapter","labels_url":"https://api.github.com/repos/pwillie/prometheus-es-adapter/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/pwillie/prometheus-es-adapter/issues/16/comments","events_url":"https://api.github.com/repos/pwillie/prometheus-es-adapter/issues/16/events","html_url":"https://github.com/pwillie/prometheus-es-adapter/issues/16","id":357446371,"node_id":"MDU6SXNzdWUzNTc0NDYzNzE=","number":16,"title":"Adapter failing to start with ES 6.3.1","user":{"login":"raghu999","id":12721392,"node_id":"MDQ6VXNlcjEyNzIxMzky","avatar_url":"https://avatars2.githubusercontent.com/u/12721392?v=4","gravatar_id":"","url":"https://api.github.com/users/raghu999","html_url":"https://github.com/raghu999","followers_url":"https://api.github.com/users/raghu999/followers","following_url":"https://api.github.com/users/raghu999/following{/other_user}","gists_url":"https://api.github.com/users/raghu999/gists{/gist_id}","starred_url":"https://api.github.com/users/raghu999/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raghu999/subscriptions","organizations_url":"https://api.github.com/users/raghu999/orgs","repos_url":"https://api.github.com/users/raghu999/repos","events_url":"https://api.github.com/users/raghu999/events{/privacy}","received_events_url":"https://api.github.com/users/raghu999/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-06T00:04:19Z","updated_at":"2018-10-12T03:45:38Z","closed_at":null,"author_association":"NONE","body":"HI Thanks for this project we are running into issues when we are trying to use the adapter with ES version 6.3.1. Copying below the error for reference. The same adapter works fine with 5.x version without issues. Please help troubleshoot the issue.\r\n\r\nThanks\r\nRaghu challa\r\n\r\n```\r\nI0905 23:56:29.140252 20440 executor.cpp:160] Starting task elkremoteprom_promelkadapter.4e63a15b-b167-11e8-9833-1e0889649410\r\n{\"level\":\"info\",\"ts\":1536191789.2974768,\"caller\":\"prometheus-es-adapter/main.go:51\",\"msg\":\"Starting commit: 5aa131e1bc0e21ed937e0fae91286a6cc99ba36d, version: v4-1-g5aa131e, prerelease: VersionPrerelease=RC\"}\r\n{\"level\":\"fatal\",\"ts\":1536191794.298808,\"caller\":\"elasticsearch/adapter.go:65\",\"msg\":\"Failed to create elastic client\",\"error\":\"health check timeout: no Elasticsearch node available\",\"errorVerbose\":\"no Elasticsearch node available\\ngithub.com/pwillie/prometheus-es-adapter/vendor/gopkg.in/olivere/elastic%2ev5.init\\n\\t/gopath/src/github.com/pwillie/prometheus-es-adapter/vendor/gopkg.in/olivere/elastic.v5/client.go:88\\ngithub.com/pwillie/prometheus-es-adapter/lib/elasticsearch.init\\n\\t<autogenerated>:1\\nmain.init\\n\\t<autogenerated>:1\\nruntime.main\\n\\t/usr/local/go/src/runtime/proc.go:189\\nruntime.goexit\\n\\t/usr/local/go/src/runtime/asm_amd64.s:1333\\nhealth check timeout\\ngithub.com/pwillie/prometheus-es-adapter/vendor/gopkg.in/olivere/elastic%2ev5.(*Client).startupHealthcheck\\n\\t/gopath/src/github.com/pwillie/prometheus-es-adapter/vendor/gopkg.in/olivere/elastic.v5/client.go:1120\\ngithub.com/pwillie/prometheus-es-adapter/vendor/gopkg.in/olivere/elastic%2ev5.NewClient\\n\\t/gopath/src/github.com/pwillie/prometheus-es-adapter/vendor/gopkg.in/olivere/elastic.v5/client.go:244\\ngithub.com/pwillie/prometheus-es-adapter/lib/elasticsearch.NewAdapter\\n\\t/gopath/src/github.com/pwillie/prometheus-es-adapter/lib/elasticsearch/adapter.go:59\\nmain.main\\n\\t/gopath/src/github.com/pwillie/prometheus-es-adapter/main.go:58\\nruntime.main\\n\\t/usr/local/go/src/runtime/proc.go:201\\nruntime.goexit\\n\\t/usr/local/go/src/runtime/asm_amd64.s:1333\",\"stacktrace\":\"github.com/pwillie/prometheus-es-adapter/lib/elasticsearch.NewAdapter\\n\\t/gopath/src/github.com/pwillie/prometheus-es-adapter/lib/elasticsearch/adapter.go:65\\nmain.main\\n\\t/gopath/src/github.com/pwillie/prometheus-es-adapter/main.go:58\\nruntime.main\\n\\t/usr/local/go/src/runtime/proc.go:201\"}\r\nW0905 23:56:29.140252 20438 logging.cpp:91] RAW: Received signal SIGTERM from process 3144 of user 0; exiting\r\n```"},"comment":{"url":"https://api.github.com/repos/pwillie/prometheus-es-adapter/issues/comments/429195093","html_url":"https://github.com/pwillie/prometheus-es-adapter/issues/16#issuecomment-429195093","issue_url":"https://api.github.com/repos/pwillie/prometheus-es-adapter/issues/16","id":429195093,"node_id":"MDEyOklzc3VlQ29tbWVudDQyOTE5NTA5Mw==","user":{"login":"pwillie","id":12402617,"node_id":"MDQ6VXNlcjEyNDAyNjE3","avatar_url":"https://avatars2.githubusercontent.com/u/12402617?v=4","gravatar_id":"","url":"https://api.github.com/users/pwillie","html_url":"https://github.com/pwillie","followers_url":"https://api.github.com/users/pwillie/followers","following_url":"https://api.github.com/users/pwillie/following{/other_user}","gists_url":"https://api.github.com/users/pwillie/gists{/gist_id}","starred_url":"https://api.github.com/users/pwillie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pwillie/subscriptions","organizations_url":"https://api.github.com/users/pwillie/orgs","repos_url":"https://api.github.com/users/pwillie/repos","events_url":"https://api.github.com/users/pwillie/events{/privacy}","received_events_url":"https://api.github.com/users/pwillie/received_events","type":"User","site_admin":false},"created_at":"2018-10-12T03:45:38Z","updated_at":"2018-10-12T03:45:38Z","author_association":"OWNER","body":"This error indicates that the ES_URL is not set correctly and the adapter is unable to connect to the ES cluster."}}
{"actor":{"display_login":"pwillie"}}