public interface SlowQueryListener
| Modifier and Type | Method and Description |
|---|---|
java.util.List<SlowQueryInfo> |
getSlowQueries()
Return a list of all captured slow queries.
|
<T> void |
noticeTracer(Tracer tracer,
com.newrelic.api.agent.SlowQueryDatastoreParameters<T> datastoreParameters)
Evaluates whether or not the provided tracer is above the slow query threshold.
|
<T> void noticeTracer(Tracer tracer, com.newrelic.api.agent.SlowQueryDatastoreParameters<T> datastoreParameters)
tracer - the tracer to use when checking durations and storing query informationdatastoreParameters - contains the slow query parameters (if present) for recording slow queriesjava.util.List<SlowQueryInfo> getSlowQueries()