NRQL of the day - question

Good morning Relics :slight_smile:
So, today I’m looking for an NRQL that will show for a specific service the list of external call and throughput of these calls.
Thank you
Lior

Perhaps, something like:

FROM Metric
SELECT rate(count(apm.service.external.host.duration), 1 minute)
WHERE appName LIKE '%'
FACET external.host
TIMESERIES
LIMIT 6

Where:

  • apm.service.external.host.duration is metric timeslice data, of which external.host is an attribute (docs).
  • rate(count(data), 1 minute) should produce throughput in calls per minute.
  • appName LIKE '%' can be amended to target your specific service.

Might be helpful to change the title of this thread.

You can also use timeslice.

1 Like

Hi @lior.avni, let us know if these suggestions worked out for you.

1 Like

Thank you , that did the trick :slight_smile:
Cheers,
Lio

1 Like