Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upsum_over_time on range queries. #2394
Comments
kiranalii
changed the title
Hi, I want to use sum_over_time on range queries. But i don't what should be exact format for the query
I want to use sum_over_time on range queries.
Feb 4, 2017
kiranalii
changed the title
I want to use sum_over_time on range queries.
sum_over_time on range queries.
Feb 4, 2017
This comment has been minimized.
This comment has been minimized.
|
This query is working
But i don't know what is difference between [1s] and step size. |
This comment has been minimized.
This comment has been minimized.
|
Disclaimer: I don't think your query makes any sense semantically. Purely syntactically: The |
This comment has been minimized.
This comment has been minimized.
|
Thanks @beorn7, thakns for explaining [1s] and step size difference. Got it thanks |
brian-brazil
closed this
Feb 11, 2017
brian-brazil
added
the
kind/question
label
Feb 11, 2017
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 24, 2019
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
kiranalii commentedFeb 4, 2017
•
edited
Hi,
I want to use sum_over_time on range queries. But it's not working.
I tried these queries
http://localhost:9093/api/v1/query_range?query=sum_over_time(go_gc_duration_seconds&start=2017-02-01T19:03:40.0Z&end=2017-02-02T09:03:04.0Z&step=15s)Error Message:
{ "status": "error", "errorType": "bad_data", "error": "cannot parse \"15s)\" to a valid duration" }http://localhost:9093/api/v1/query_range?query=sum_over_time(go_gc_duration_seconds)&start=2017-02-01T19:03:40.0Z&end=2017-02-02T09:03:04.0Z&step=15s{ "status": "error", "errorType": "bad_data", "error": "parse error at char 39: expected type range vector in call to function \"sum_over_time\", got instant vector" }Help would be appreciated
Thanks