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

Don't send all the metrics on GET /api/metrics #1

Open
hariharan-uno opened this issue Aug 26, 2015 · 0 comments
Open

Don't send all the metrics on GET /api/metrics #1

hariharan-uno opened this issue Aug 26, 2015 · 0 comments

Comments

@hariharan-uno
Copy link
Contributor

As the number of metrics increases, it is unfeasible to respond with all the metrics as we are doing now.

https://github.com/codeignition/marksman/blob/master/metrics_handler.go#L19

Change it to respond with only the metrics from the last 5 or 10 seconds. May be add a query string to override the default.

@hariharan-uno hariharan-uno self-assigned this Aug 26, 2015
@hariharan-uno hariharan-uno removed their assignment Nov 26, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant