tracker issue : CF-3114297

select a category, or use search below
(searches all categories and all time range)
Title:

Bug 87367:In the JRun Servlet container it was straightforward and useful to turn on metrics tracking through configuring the jrunx

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Dan Wilson / Dan Wilson (Dan Wilson)

Created: 02/09/2012

Components: Web Container (Tomcat)

Versions: 10.0

Failure Type: Unspecified

Found In Build/Fixed In Build: 0000 / 281703

Priority/Frequency: Trivial / Unknown

Locale/System: English / Platforms All

Vote Count: 0

Problem:

In the JRun Servlet container it was straightforward and useful to turn on metrics tracking through configuring the jrunx.logger.loggerService. This output was vital to understanding and repairing/scaling ColdFusion applications since we had access to the internal state of JRun.

I recommend implementing at least the metrics available in JRun and defined in jrunx.metrics.MetricsConstants

  public static final String METRICS_FREE_MEMORY = "freeMemory";
  public static final String METRICS_TOTAL_MEMORY = "totalMemory";
  public static final String METRICS_LISTEN_TH = "listenTh";
  public static final String METRICS_DELAY_TH = "delayTh";
  public static final String METRICS_BUSY_TH = "busyTh";
  public static final String METRICS_IDLE_TH = "idleTh";
  public static final String METRICS_TOTAL_TH = "totalTh";
  public static final String METRICS_DELAY_RQ = "delayRq";
  public static final String METRICS_DROPPED_RQ = "droppedRq";
  public static final String METRICS_DELAY_MS = "delayMs";
  public static final String METRICS_EJB_ACTIVE = "active";
  public static final String METRICS_EJB_PASSIVE = "passive";
  public static final String METRICS_EJB_POOL = "pool";
  public static final String METRICS_EJB_TIMEOUT = "timeouts";
  public static final String METRICS_EJB_METHOD_DURATION = "methodDuration";
  public static final String METRICS_EJB_METHOD_COUNT = "methodCount";
  public static final String METRICS_JDBC_POOL_SIZE = "poolSize";
  public static final String METRICS_JDBC_TIMEOUTS = "timeouts";
  public static final String METRICS_JDBC_ACTIVE_CONNECTIONS = "activeConnections";
  public static final String METRICS_JDBC_QUERY_DURATION = "queryDuration";
  public static final String METRICS_JDBC_QUERY_COUNT = "queryCount";

Ideally, this would be available in the log area of the ColdFusion adminstrator, disabled by default and using a log format with a delimiter like a tab or a semicolon so it can be imported as a structured format like CSV into Excel or other log reading tools.
Method:


Result:

This is a missing functionality from Jrun

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3114297

External Customer Info:
External Company:  
External Customer Name: Dan Wilson
External Customer Email: 2C15278D446120D09920157F
External Test Config: 02/09/2012

Attachments:

Comments: