Skip to content
This repository has been archived by the owner on Oct 20, 2023. It is now read-only.

Add support for time window query parameter #52

Merged
merged 2 commits into from
Mar 4, 2020

Conversation

adleong
Copy link
Contributor

@adleong adleong commented Mar 3, 2020

We add support for the t parameter which controls the time window over which the metrics query is calculated. The t parameter may be any valid golang duration such as 30s or 1m15s and is rounded down to the nearest second before being passed to Prometheus.

Signed-off-by: Alex Leong [email protected]

@adleong adleong requested a review from grampelberg March 3, 2020 00:18
Signed-off-by: Alex Leong <[email protected]>
Copy link
Member

@Pothulapati Pothulapati left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! :)
This should also fix #46

@grampelberg grampelberg merged commit dbd75ef into servicemeshinterface:master Mar 4, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants