Disable RPM while deploying OR when a admin is logged in ?
While deploying cpu load goes up and all graphs show silly numbers (1kms response time...) so i would like to turn reporting of for the 1 minute of deployment and keep my statistics sane/readable.
Additionally it would be great if i could disable reporting for any administrator surfing our site, since they get special links/views/statistics that distort the statistics. (i only know this after befor_filter :login ran).
BTW: thanks for gold days, really helped me out :)
Additionally it would be great if i could disable reporting for any administrator surfing our site, since they get special links/views/statistics that distort the statistics. (i only know this after befor_filter :login ran).
BTW: thanks for gold days, really helped me out :)
1
person has this question
I have this question, too!
Tell me when someone answers.
The more people who ask this question, the more it gets noticed.
The more people who ask this question, the more it gets noticed.
Create a customer community for your own organization
Plans starting at $19/month
-
Inappropriate?Hi Grosser,
I'm not sure about your first question (i.e., turning rpm off during deployment), but will check and see.
Concerning your second question, you can turn off monitoring for any controller action as described here: http://sites.google.com/a/newrelic.co... Check it out and see if this will meet your needs.
Regards,
Steve -
Inappropriate?I already found this in another response, but i do not want to disable monitoring for any action but only "when a admin views index"
so i would need something like:
newrelic_ignore :if => :user_is_admin
def user_is_admin
#something
end -
Inappropriate?Hi Grosser,
Unfortunately, there is no way to dynamically turn off controller#action tracing. It does seem like a good idea though - we'll add it to our backlog. Thanks for the suggestion.
- Jim
Loading Profile...



EMPLOYEE
EMPLOYEE