Skip to content

Constant is define to 1h in api #328

Answered by demeringo
damienfernandes asked this question in Q&A
Discussion options

You must be logged in to vote

The rationale behind this hardcoded value was that I initialy only expected to produce metrics for one hour of use (and that it eased the question of units when displaying results in a dashboard ;-)

You are right, this could accept a parameter (like in CLI mode).

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by demeringo
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants