{"action":"created","issue":{"url":"https://api.github.com/repos/grafana/loki/issues/170","repository_url":"https://api.github.com/repos/grafana/loki","labels_url":"https://api.github.com/repos/grafana/loki/issues/170/labels{/name}","comments_url":"https://api.github.com/repos/grafana/loki/issues/170/comments","events_url":"https://api.github.com/repos/grafana/loki/issues/170/events","html_url":"https://github.com/grafana/loki/issues/170","id":392536407,"node_id":"MDU6SXNzdWUzOTI1MzY0MDc=","number":170,"title":"watcher.Add: no such file or directory","user":{"login":"eskornev","id":21334013,"node_id":"MDQ6VXNlcjIxMzM0MDEz","avatar_url":"https://avatars2.githubusercontent.com/u/21334013?v=4","gravatar_id":"","url":"https://api.github.com/users/eskornev","html_url":"https://github.com/eskornev","followers_url":"https://api.github.com/users/eskornev/followers","following_url":"https://api.github.com/users/eskornev/following{/other_user}","gists_url":"https://api.github.com/users/eskornev/gists{/gist_id}","starred_url":"https://api.github.com/users/eskornev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eskornev/subscriptions","organizations_url":"https://api.github.com/users/eskornev/orgs","repos_url":"https://api.github.com/users/eskornev/repos","events_url":"https://api.github.com/users/eskornev/events{/privacy}","received_events_url":"https://api.github.com/users/eskornev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-12-19T10:32:29Z","updated_at":"2018-12-19T17:52:54Z","closed_at":null,"author_association":"NONE","body":"Hello, I'm starting promtail from this template:\r\nhttps://github.com/moov-io/infra/blob/master/lib/infra/20-promtail.yml\r\n\r\nand getting errors for every pod like:\r\nlevel=error ts=2018-12-19T10:12:57.022052858Z caller=targetmanager.go:145 msg=\"Failed to create target\" key=\"{instance=\\\"weave-net-wcjhh\\\", job=\\\"kube-system/weave-net\\\", namespace=\\\"kube-system\\\"}\" error=\"watcher.Add: no such file or directory\"\r\n\r\nfile /var/log/positions.yaml in promtail container consists of empty json:\r\npositions: {}\r\n\r\nhow can i fix it?"},"comment":{"url":"https://api.github.com/repos/grafana/loki/issues/comments/448686208","html_url":"https://github.com/grafana/loki/issues/170#issuecomment-448686208","issue_url":"https://api.github.com/repos/grafana/loki/issues/170","id":448686208,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0ODY4NjIwOA==","user":{"login":"adamdecaf","id":120951,"node_id":"MDQ6VXNlcjEyMDk1MQ==","avatar_url":"https://avatars3.githubusercontent.com/u/120951?v=4","gravatar_id":"","url":"https://api.github.com/users/adamdecaf","html_url":"https://github.com/adamdecaf","followers_url":"https://api.github.com/users/adamdecaf/followers","following_url":"https://api.github.com/users/adamdecaf/following{/other_user}","gists_url":"https://api.github.com/users/adamdecaf/gists{/gist_id}","starred_url":"https://api.github.com/users/adamdecaf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamdecaf/subscriptions","organizations_url":"https://api.github.com/users/adamdecaf/orgs","repos_url":"https://api.github.com/users/adamdecaf/repos","events_url":"https://api.github.com/users/adamdecaf/events{/privacy}","received_events_url":"https://api.github.com/users/adamdecaf/received_events","type":"User","site_admin":false},"created_at":"2018-12-19T17:52:54Z","updated_at":"2018-12-19T17:52:54Z","author_association":"NONE","body":"Oh, does there need to be an `os.Stat` check before this block?\r\n\r\nhttps://github.com/grafana/loki/blob/9b67d6cb7a6ffacbd2f504598b5107319f071d1c/pkg/promtail/target.go#L56-L59"}}
{"actor":{"display_login":"adamdecaf"}}