|
AppDynamics APM API v2.0 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface IMetricAndEventReporter
This interface provides an API for java applications to publish metrics to appdynamics controller
| Method Summary | |
|---|---|
void |
publishErrorEvent(java.lang.String summaryMessage,
java.util.Map<java.lang.String,java.lang.String> details,
boolean critical)
method to publish an error event |
void |
publishInfoEvent(java.lang.String summaryMessage,
java.util.Map<java.lang.String,java.lang.String> details)
method to publish an info event |
void |
reportAverageMetric(java.lang.String metricName,
long metricValue)
method to report a metric value to be averaged over a minute against the given name |
void |
reportObservedMetric(java.lang.String metricName,
long metricValue)
method to report a metric value not aggregated, but shown as the current value against the given name setting this value twice in a minute will result in the second value taken and the first value dropped |
void |
reportSumMetric(java.lang.String metricName,
long metricValue)
method to report a metric value to be summed up over a minute against the given name |
| Method Detail |
|---|
void reportAverageMetric(java.lang.String metricName,
long metricValue)
metricName - the name of the metricmetricValue - the long value of the metric
void reportSumMetric(java.lang.String metricName,
long metricValue)
metricName - the name of the metricmetricValue - the long value of the metric
void reportObservedMetric(java.lang.String metricName,
long metricValue)
metricName - the name of the metricmetricValue - the long value of the metric
void publishErrorEvent(java.lang.String summaryMessage,
java.util.Map<java.lang.String,java.lang.String> details,
boolean critical)
summaryMessage - the summary messagedetails - optional name value pair details for the errorcritical - if the error is critical, the default level is warning
void publishInfoEvent(java.lang.String summaryMessage,
java.util.Map<java.lang.String,java.lang.String> details)
summaryMessage - the summary messagedetails - optional name value pair details for the error
|
AppDynamics APM API v2.0 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||