Skip to content

Commit bb0557c

Browse files
authored
Simpler NRQL query
1 parent acb3399 commit bb0557c

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

README.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,9 @@ After deployment of the instrumentation jars, you should be able to see the invo
4343
Instrumentation of methods with high invocation rates can lead to CPU overhead especially if its average response time is very small (i.e. less than a few milliseconds). Therefore it is possible to configure the agent to ignore certain suspend methods, dispatched tasks and continuation resumeWiths. This configuation is done in the newrelic.yml file.
4444

4545
### Finding Possible Methods to Ignore
46-
Run each of the following three NRQL queries where appName is the name of the application using Kotlin Coroutines.
46+
Run the following NRQL query where appName is the name of the application using Kotlin Coroutines.
4747

48-
SELECT rate(count(newrelic.timeslice.value), 1 MINUTE) FROM Metric WHERE metricTimesliceName Like 'Custom/DispatchedTask/%' AND appName='appName”' SINCE 24 HOURS AGO FACET metricTimesliceName
49-
50-
SELECT rate(count(newrelic.timeslice.value), 1 MINUTE) FROM Metric WHERE metricTimesliceName Like 'Custom/WrappedSuspend/%' AND appName='appName”' SINCE 24 HOURS AGO FACET metricTimesliceName
51-
52-
SELECT rate(count(newrelic.timeslice.value), 1 MINUTE) FROM Metric WHERE metricTimesliceName Like 'Custom/ContinuationWrapper%' AND appName='appName”' SINCE 24 HOURS AGO FACET metricTimesliceName
48+
SELECT rate(count(newrelic.timeslice.value), 1 MINUTE) FROM Metric WHERE (metricTimesliceName Like 'Custom/DispatchedTask/%' or metricTimesliceName Like 'Custom/WrappedSuspend/%' or metricTimesliceName Like 'Custom/ContinuationWrapper%') AND appName='appName' SINCE 24 HOURS AGO FACET metricTimesliceName
5349

5450
The following is a screenshot of DispatchedTasks
5551

0 commit comments

Comments
 (0)