Coldfusion Server Monitor - Aliasing
What is Server Monitor Aliasing?
Aliasing is a feature in Coldfusion Server Monitoring to monitor CF applications based on frameworks(like MachII, Model Glue, Fusebox etc.)
All these framework applications have a controller (eg. index.cfm) and all requests go through that template, and based on certain action parameters(eg. event=xyz) it then executes different templates.
Previously if you monitor such applications, reports will be generated only for index.cfm, making it difficult to debug or analyze performance of these apps.
Aliasing helps to monitor such applications and get statistics(like request, memory statistics etc.) based on value of action parameters.
Thus, index.cfm?event=abc and index.cfm?event=xyz will have separate reports generated for them.
Also this can be used to monitor individual templates based on different request parameters.
Steps to setup Aliasing?
- Open Server monitor and click settings icon.
- Click Aliasing tab in settings dialog.
- Click on add button and fill required fields (as shown below)
Template Path = C:\ColdFusionScorpio\wwwroot\cart\index.cfm
Alias = homepage
Action Parameter = event ( or whatever is action parameter for framework you use, also it can be comma separated list of any parameters accepted by cfm page).
- Click OK and you are done.
Now you can view reports for this added alias in statistics tab.
There will be new entry for every unique value of action parameter. something like -
homepage?event=val1
homepage?event=val2 and so on.
Once you have these reports it becomes much more easy to tune performance of your application.
Tags: aliasing, Coldfusion, servermonitor
July 28th, 2008 at 2:24 pm
Hi Sandeep. Welcome to the blogsphere! I look forward to your future posts.
July 28th, 2008 at 2:54 pm
This is actually pretty cool - We don’t use an out of the box framework, but we do have self-submissions and pass switch values on certain pages to determine a users progress. Tracking what a user is actually doing on such pages has been a pain up until now. Thanks for the post.
Cheers,
Davo
July 28th, 2008 at 10:29 pm
Cool! Thanks for that tip!
July 29th, 2008 at 5:03 am
nice and helpful bog…
July 30th, 2008 at 7:10 am
Yes, welcome Sandeep. Any blogging by CF engineers is always a good thing. And tips about the monitor are especially welcome.
That said, to those readers who discovered this aliasing feature here today for the first time, please do check out my 4 part series of articles on the CF 8 Server Monitor at the Adobe Dev Center (starting at http://www.adobe.com/devnet/coldfusion/articles/monitoring_pt1.html). I covered this alias feature in part 4, in a discussion of ways to tweak the monitor (http://www.adobe.com/devnet/coldfusion/articles/monitoring_pt4_05.html).
Don’t get me wrong: I’m not playing one-upsmanship or suggesting that the tip need not have been shared. Not at all. There will always be folks who didn’t read the articles, or who read them some time ago and forgot some little nugget like that one. (Heck, I should probably pull out blog entries from some of those tips I’d shared in the articles, myself.)
I’m really only pointing out the article because there is indeed a lot more to the CF8 Server Monitor than most realize, and the docs are often wanting. The 4 part article series is 45-pages printed with lots of info that many may otherwise miss. Just suggesting that those interested in the monitor really ought to check it out.
Sandeep, again, please don’t misunderstand me here. I don’t in any way mean to discourage you (or anyone else) from sharing such tips. We need many different outlets for the vast amount of useful info that can help make CFers more effective. And I promise I won’t pop up mentioning the articles every time you post a monitor tip.
I really just am trying to help people realize other available resources to get the most from it.
Keep up the good work, and I (and others) really look forward to more monitoring tips, or whatever else you may have to share.
August 6th, 2008 at 7:04 am
Sandeep… Welcome to the Blogging world!!!
June 22nd, 2009 at 12:30 pm
Nice post Sandeep!
I was wondering, is there any way to configure aliases for SES URLs? I mean something like: http://mysite.com/home/ or http://mysite.com/product/123/.
Your comment would be greatly appreciated, there is not much info on this subject.