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

trying to understand pricing #119

Open
rounders opened this issue May 23, 2016 · 2 comments
Open

trying to understand pricing #119

rounders opened this issue May 23, 2016 · 2 comments

Comments

@rounders
Copy link

I recently installed the librato-rails gem and am successfully receiving stats about my rails app in my Librato account. My app runs on 3 servers so I would expect, based on the gem's README, that this would generate 3 streams. However, after collecting stats for a day or so I saw my estimated monthly charge go up by quite a bit more than expected. Upon digging further I saw Librato was detecting 18.6 sources for 'rails.view.render_partial.time' and 15 or more sources for some of the other metrics too.
I emailed Librato support to inquire and was told that each partial is a source and that I would be charged for each source count for that metric.

I think we need some clarity around this issue. A typical rails app can have a lot of partials and so if each one results in a source that gets charged separately then this could result in a large increase in ones monthly bill.

@nextmat
Copy link
Contributor

nextmat commented May 25, 2016

Agreed. Especially with certain app designs this can cause an explosion in sources.

As of v1.3.0 you can enable/disable specific instrumentation sets. So if you haven't already you might want to drop -rails_render into your config.

I've been thinking we should probably roll a new major ver with render stats disabled by default. Anyone else have thoughts on this issue? This instrumentation is useful for a lot of users so I don't think it should be disabled without a version bump & some README context if we decide to do that.

@rounders
Copy link
Author

I did remove rails_render from my config and that worked great. For me the only issue here is ensuring that the issue with rails_render is made clear on the README.md. The 'Cross-Process Aggregation' section gives the impression that one will get charged for 1 stream per host. So some mention that this is not the case with rails_render would fix that.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants