{"action":"created","issue":{"url":"https://api.github.com/repos/pingcap/tidb-ansible/issues/464","repository_url":"https://api.github.com/repos/pingcap/tidb-ansible","labels_url":"https://api.github.com/repos/pingcap/tidb-ansible/issues/464/labels{/name}","comments_url":"https://api.github.com/repos/pingcap/tidb-ansible/issues/464/comments","events_url":"https://api.github.com/repos/pingcap/tidb-ansible/issues/464/events","html_url":"https://github.com/pingcap/tidb-ansible/issues/464","id":341782537,"node_id":"MDU6SXNzdWUzNDE3ODI1Mzc=","number":464,"title":"syncer monitor","user":{"login":"gaoquan6297","id":26533747,"node_id":"MDQ6VXNlcjI2NTMzNzQ3","avatar_url":"https://avatars2.githubusercontent.com/u/26533747?v=4","gravatar_id":"","url":"https://api.github.com/users/gaoquan6297","html_url":"https://github.com/gaoquan6297","followers_url":"https://api.github.com/users/gaoquan6297/followers","following_url":"https://api.github.com/users/gaoquan6297/following{/other_user}","gists_url":"https://api.github.com/users/gaoquan6297/gists{/gist_id}","starred_url":"https://api.github.com/users/gaoquan6297/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaoquan6297/subscriptions","organizations_url":"https://api.github.com/users/gaoquan6297/orgs","repos_url":"https://api.github.com/users/gaoquan6297/repos","events_url":"https://api.github.com/users/gaoquan6297/events{/privacy}","received_events_url":"https://api.github.com/users/gaoquan6297/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-07-17T06:28:39Z","updated_at":"2018-07-17T07:56:06Z","closed_at":null,"author_association":"NONE","body":"两个问题:\r\n一. 只要添加syncer job，如:\r\n  - job_name: \"syncer_ip_10086\"\r\n    static_configs:\r\n      - targets: ['ip:10086']\r\n\r\n  - job_name: \"syncer_ip_10087\"\r\n    static_configs:\r\n      - targets: ['ip:10087']\r\n就会有告警信息发出：\r\n[FIRING:1] TiDB_monitor_keep_alive\r\nLabels\r\n\r\nalertname: TiDB_monitor_keep_alive\r\ncluster: tidb-cluster-1\r\nenv: tidb-cluster-1\r\nexpr: increase(tidb_monitor_keep_alive_total[10m]) < 100\r\ninstance: ip:10086\r\njob: syncer_ip_10086\r\nlevel: emergency\r\nmonitor: prometheus\r\nAnnotations\r\n\r\ndescription: alert: instance: ip:10086 values: 0\r\nsummary: TiDB monitor_keep_alive error\r\nvalue: 0\r\nSource: http://ip:9090/graph?g0.expr=increase%28tidb_monitor_keep_alive_total%5B10m%5D%29+%3C+100&g0.tab=1\r\n\r\n二. syncer 启用gtid，有关gtid信息不出图，no data，其他监控信息都能正常出。启动syncer任务的时候已经加了--enable-gtid"},"comment":{"url":"https://api.github.com/repos/pingcap/tidb-ansible/issues/comments/405493943","html_url":"https://github.com/pingcap/tidb-ansible/issues/464#issuecomment-405493943","issue_url":"https://api.github.com/repos/pingcap/tidb-ansible/issues/464","id":405493943,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNTQ5Mzk0Mw==","user":{"login":"gaoquan6297","id":26533747,"node_id":"MDQ6VXNlcjI2NTMzNzQ3","avatar_url":"https://avatars2.githubusercontent.com/u/26533747?v=4","gravatar_id":"","url":"https://api.github.com/users/gaoquan6297","html_url":"https://github.com/gaoquan6297","followers_url":"https://api.github.com/users/gaoquan6297/followers","following_url":"https://api.github.com/users/gaoquan6297/following{/other_user}","gists_url":"https://api.github.com/users/gaoquan6297/gists{/gist_id}","starred_url":"https://api.github.com/users/gaoquan6297/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaoquan6297/subscriptions","organizations_url":"https://api.github.com/users/gaoquan6297/orgs","repos_url":"https://api.github.com/users/gaoquan6297/repos","events_url":"https://api.github.com/users/gaoquan6297/events{/privacy}","received_events_url":"https://api.github.com/users/gaoquan6297/received_events","type":"User","site_admin":false},"created_at":"2018-07-17T07:56:06Z","updated_at":"2018-07-17T07:56:06Z","author_association":"NONE","body":"hi,\n     yes ,all tidb instances alive, but this error not tidb ,it was syncer instance. \nwhen config syncer job ,add premeter with this:\n\n\n> 在 2018年7月17日，下午3:52，Louis <notifications@github.com> 写道：\n> \n> Are your tidb instances alive?\n> \n> —\n> You are receiving this because you authored the thread.\n> Reply to this email directly, view it on GitHub <https://github.com/pingcap/tidb-ansible/issues/464#issuecomment-405493081>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AZTfc1QO55vkk2oGanUc7Ov5MccZiAKfks5uHZfKgaJpZM4VSQUP>.\n> \n\n"}}
{"actor":{"display_login":"gaoquan6297"}}