Raymond Camden's Blog Rss

Starfish ColdFusion Profiler Updater

8

Posted in ColdFusion | Posted on 01-13-2006 | 8,018 views

It's been a while, but this morning I updated my Starfish ColdFusion Profiler project. I still consider it very beta. (Hey, Google does it, why can't I?) I finally added something that I should have had in the beginning - basic Application support. So when you view templates, CFCs, and queries now, you can filter by applications. This also applies to the PDF/Excel export. I also made the PDF a bit prettier. (A bit - they still a bit like a mix between un-masked Darth Vader and a tater-tot.)

There is also a new tab now just for application data - but it's a basic summary now (how many templates run, average times, etc.) In theory though it should give you a good idea about which applications are behaving badly.

As always - if you have comments, questions, problems, just let me know.

Comments

[Add Comment] [Subscribe to Comments]

This is awesome Ray. Works a treat (on OS X)

Many thanks for your contributions!
great idea.
I read starfish.doc.
I read the doc too, Ray! Me like docs, yum! :-)

Will Starfish work on a multi-instance CF installation or just a standard/single installation? CF is pretty flawed in multi-instance mode since it lacks monitoring from PerfMon. Thanks.
Hi Ray,
I tried to install this on the standalone cf mx 7.
I put the profiler.cfm in the debug folder, and then enables it with debugging, and then follwed the docs and put the rest of the files in the CFIDE/admin/profiler, but then it does not seem to work for me.

It keeps telling me to select the profiler, and enable debugging, and then vist some cfml templetes, I even tried to re start the cf server.

Any thoughts??
Thanks,
John
First off - you did hit some CFM pages, right? THe debugger works by collecting information from CFM pages you run on your site. So if you had, http://localhost/someapp, you would run files in someapp and THEN come back to Starfish and see what it collected. Also note that debugging must be both turned on in the cf admin, and your code must not disable debugging using the showdebugoutput=false option.
I just installed this on my MX 7 Developer Edition server, and I am gettting the error:

Attribute validation error for tag CFFORMITEM.
The value of the attribute TYPE, which is currently "script", must be one of the values: HRULE,HTML,TEXT,VRULE,SPACER.

The error occurred in C:\Inetpub\wwwroot\CFIDE\administrator\profiler\index.cfm: line 190
Called from C:\Inetpub\wwwroot\CFIDE\administrator\profiler\index.cfm: line 188
Called from C:\Inetpub\wwwroot\CFIDE\administrator\profiler\index.cfm: line 1

188 : <cfform name="noname" format="flash" timeout="600">
189 :    
190 :    <cfformitem type="script">
191 :    function loadGraph() {
192 :       if(templates.selectedIndex == undefined) return;
You need to ensure you have the very latest CF 7, which is 7.0.2. (Technically 7.0.1 is ok, but I'd just get up to 7.0.2.)

[Add Comment] [Subscribe to Comments]