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
}