{"action":"opened","issue":{"url":"https://api.github.com/repos/prebid/prebid-server/issues/372","repository_url":"https://api.github.com/repos/prebid/prebid-server","labels_url":"https://api.github.com/repos/prebid/prebid-server/issues/372/labels{/name}","comments_url":"https://api.github.com/repos/prebid/prebid-server/issues/372/comments","events_url":"https://api.github.com/repos/prebid/prebid-server/issues/372/events","html_url":"https://github.com/prebid/prebid-server/issues/372","id":301201157,"number":372,"title":"Metrics resets when restarting the server","user":{"login":"sergiosrax","id":33044447,"avatar_url":"https://avatars2.githubusercontent.com/u/33044447?v=4","gravatar_id":"","url":"https://api.github.com/users/sergiosrax","html_url":"https://github.com/sergiosrax","followers_url":"https://api.github.com/users/sergiosrax/followers","following_url":"https://api.github.com/users/sergiosrax/following{/other_user}","gists_url":"https://api.github.com/users/sergiosrax/gists{/gist_id}","starred_url":"https://api.github.com/users/sergiosrax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sergiosrax/subscriptions","organizations_url":"https://api.github.com/users/sergiosrax/orgs","repos_url":"https://api.github.com/users/sergiosrax/repos","events_url":"https://api.github.com/users/sergiosrax/events{/privacy}","received_events_url":"https://api.github.com/users/sergiosrax/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-28T22:04:45Z","updated_at":"2018-02-28T22:04:45Z","closed_at":null,"author_association":"NONE","body":"I'm having an issue that all metrics going to influxdb goes back to 0 when turning off and on the server.\r\n\r\n![image](https://user-images.githubusercontent.com/33044447/36815576-0529c0b6-1c90-11e8-96e4-c6e9e7b8416b.png)\r\n\r\ndate,requests\r\n2/27/2018 4:55:00 PM,1\r\n2/27/2018 5:00:00 PM,1\r\n2/27/2018 5:05:00 PM,1\r\n2/27/2018 5:10:00 PM,3\r\n2/27/2018 5:15:00 PM,4 <- I pushed some changes that rebuild the application and so restarted the app\r\n2/27/2018 5:20:00 PM,1\r\n2/27/2018 5:25:00 PM,1\r\n\r\nWhat I'm expecting is either when doing GetOrRegisterMeter it starts with the already saved data for the registry or at least restart each time the data is sent to influx.\r\n\r\nDoes anyone has a suggestion on this?"}}
{"actor":{"display_login":"sergiosrax"}}