ModelGlue and coldfusoin monitor

Skip to first unread message

Douglas Trojanwoski

Oct 15, 2013, 10:43:07 AM10/15/13
So like most frameworks i use i notice that almost all pages that get monitored fusebox/modelglue its always D:\websites\site1\index.cfm is the only page monitored. Which makes sense since the framework puts the path in a url variable.

My question is with modelglue is there a way that i can truely get server monitor in coldfusion to know that index.cfm? is actually a page?


Chris Blackwell

Oct 15, 2013, 11:02:51 AM10/15/13
to model-glue
On my current project we use fw/1, which is a front-controller framework just like modelglue, with New Relic monitoring.  

in Application.cfc we manually set the uri for the current transaction, like this

var nr = application.NewRelic;
nr.setTransactionName( nullValue(), "/#getFullyQualifiedAction()#");

Sean Corfield has a blog post about it here, we've also integrated error reporting so we get our custom cfml types rather than the java error type which doesn't tell you much

function onError(rc) {
try {
var re = request.exception;
var cause = re.getRootCause();
var params = {
error_id = rc.errorid,
type: re.type ?: '',
message: re.message ?: '',
detail: re.detail ?: '',
NewRelic.noticeError(cause, params); 
catch(any e) {
log("error", "Error creating NewRelic error report. #e.message#");
// other error handling here

Model-Glue Sites:
Home Page:
Bug Tracker:
You received this message because you are subscribed to the Google
Groups "model-glue" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at
You received this message because you are subscribed to the Google Groups "model-glue" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
For more options, visit

Reply all
Reply to author
0 new messages