WARNING: This server is unstable and will be retired in the next days. If you want to keep this forum available, please request immediately a migration on the Nabble Support forum. Forums that don't receive any migration request will be deleted forever.

 « Return to Thread: Statement metric

RE: Statement metric

by Rainer Guessner :: Rate this Message:

| View in Thread

link is http://esper.codehaus.org/esper-4.6.0/doc/reference/en-US/html_single/index.html#api-instrumentation

 

----- Original Message -----

From: Kolluru Sharma

Sent: 07/23/12 03:25 PM

To: user@...

Subject: RE: [esper-user] Statement metric


Tom can you please point me the exact doc.

 

 

 

 

 

Thanks,

 

 

SOm

 

 

 

 

 

From: Thomas Bernhardt [mailto:bernhardttom@...]
Sent: Friday, July 20, 2012 10:18 PM
To: user@...
Subject: Re: [esper-user] Statement metric

 

 

 

 

 

I think the docs have a step-by-step how to enable statement metrics. Its a configuration item.

 

 

Best regards,

 

 

Tom

 

 


From: Kolluru Sharma <Kolluru.Sharma@...>
To: "user@..." <user@...>
Sent: Friday, July 20, 2012 1:08 PM
Subject: [esper-user] Statement metric

 

 

 

 

 

Hello,

 

 

How to get the statement metric s?

 

 

I have tried the following:

 

 

config.setMetricsReportingStmtEnabled(enterStat.getName())

 

 

 

 

 

but I am getting the following error:

 

 

Statement metric reporting can only be enabled or disabled at runtime

 

 

 

 

 

How to get the statement metric?

 

 

 

 

 

I have also done something like this, but I don’t know how to print the statement metrics..

 

 

 

 

 

StmtGroupMetrics stg = new StmtGroupMetrics();

 

 

stg.addIncludeLike(enter);

 

 

stg.addIncludeLike(itemMaxQuery);

 

 

stg.addIncludeLike(itemAvgQuery);

 

 

 

 

 

ConfigurationMetricsReporting metric = new ConfigurationMetricsReporting();

 

 

metric.addStmtGroup("win", stg);

 

 

metric.setEngineInterval(1000);

 

 

metric.setThreading(true);

 

 

 

 

 

Regards,

 

 

Som

 

 

 

 

 


NOTICE TO RECIPIENT: THIS E-MAIL (INCLUDING ANY ATTACHMENTS) IS MEANT FOR ONLY THE INTENDED RECIPIENT OF THE TRANSMISSION, MAY CONTAIN CONFIDENTIAL INFORMATION, AND IS PROTECTED BY LAW. IF YOU RECEIVED THIS E-MAIL IN ERROR, PLEASE IMMEDIATELY NOTIFY THE SENDER OF THE ERROR BY RETURN E-MAIL, DELETE THIS COMMUNICATION AND SHRED ANY ATTACHMENTS. UNAUTHORIZED REVIEW, USE, DISSEMINATION, DISTRIBUTION, COPYING OR TAKING OF ANY ACTION BASED ON THIS COMMUNICATION IS STRICTLY PROHIBITED.

 

 

 

 

 

 

 « Return to Thread: Statement metric