Coldfusion Server Monitor - Aliasing

Author: sandeepp  |  Category: Coldfusion, servermonitoring  |  Comments (7)  |  Add Comment

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.