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

collect metrics in logs #89

Closed
xuwenyihust opened this issue Aug 1, 2017 · 3 comments
Closed

collect metrics in logs #89

xuwenyihust opened this issue Aug 1, 2017 · 3 comments

Comments

@xuwenyihust
Copy link

Is it possible to collect the metrics into some csv or json format logs?
Would be great to record these metrics by some intervals to get a better sense of cluster health.
Trying to build it myself.

@lindong28
Copy link
Contributor

@xuwenyihust I think it is doable. We currently don't a use-case for this. You can probably implement your own Service to do it similar to DefaultMetricsReporterService or GraphiteMetricsReporterService.

@xuwenyihust
Copy link
Author

@lindong28 I'm temporally redirecting the collected metrics from STDOUT to a log file, and then parse them using scripts.
Looking for some cleaner ways to do this.

Ideally it can be somehow separated from the existing logging so that the reporting intervals and other configs can be modified without affecting the existing real-time reporter.

Thank you

@lindong28
Copy link
Contributor

@xuwenyihust Sorry, we don't have plan to implement this because we don't have use-case for this at LinkedIn and there doesn't seem to be many users that are interested in this in open source. You are welcome to implement your own Service that does it in a clean way. I think it is doable by design.

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

2 participants