Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data loss on influx when app is restarted #227

Open
sergiosrax opened this issue Feb 28, 2018 · 0 comments
Open

Data loss on influx when app is restarted #227

sergiosrax opened this issue Feb 28, 2018 · 0 comments

Comments

@sergiosrax
Copy link

sergiosrax commented Feb 28, 2018

I'm having an issue, when I restart the go application the tick meter restart to 0 so when doing a derivative it start to look like this

image

Query for the graph: SELECT DERIVATIVE(max("count"), 5m) AS "requests" FROM "metrics"."autogen"."prebid.requests.meter" WHERE time > now() - 1h GROUP BY time(5m) FILL(0)

Query: SELECT max("count") AS "requests" FROM "metrics"."autogen"."prebid.requests.meter" WHERE time > now() - 1h GROUP BY time(5m) FILL(0)

date,requests
2/27/2018 4:55:00 PM,1
2/27/2018 5:00:00 PM,1
2/27/2018 5:05:00 PM,1
2/27/2018 5:10:00 PM,3
2/27/2018 5:15:00 PM,4
2/27/2018 5:20:00 PM,1
2/27/2018 5:25:00 PM,1

I'm trying to look for a solution like loading already saved data into of the registry into the tick.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant