-
Notifications
You must be signed in to change notification settings - Fork 617
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
Support multiple metrics libraries #147
Comments
just discussed a shim approach which sounds like it will solve the issue. if there is a metric interface in fabio itself then swapping out backends which want/support full raw measurement values will be easier. |
@postwait and @maier I've moved the metrics library implementation behind an interface in the |
I think I missed a spot. The current implementation distinguishes between two different namespaces for metrics: the service metrics and the general fabio metrics (like |
Cool, thanks, I'm working off that branch to do an integration. |
@maier My previous approach was too complex. The whole notion of the Supporting multiple different providers could then be implemented by adding a |
I'll pull down the latest commit and check it out to see what the delta is between what I've got working and the updated method. Ok, I think this will still work. I'll reorganize what I have and kick the tires. |
Merged to master. |
@maier Thanks for your help with this. |
I just pulled down master, rebuilt and tested. It works, I like the addition of the status code histograms. |
I've tried this myself with a free Circonus account and can see it working as well. However, I notice a lag of a couple of seconds during startup which I suspect is the authentication with Circonus. I'll check whether I can hide this somewhere. |
Current the metrics subsystem doesn't support histogram reporting of request latencies. Can we make the metrics reporting interface such that the implementation can be changed out for "gometrics"-style recording that supports histograms?
I'd like to integrate circonus-gometrics, but layered above the go-metrics currently used, all good measurement data is destroyed.
The text was updated successfully, but these errors were encountered: