Transaction summaries — jsn

Group transaction counts and response times by transaction type.

What can JSN do for this ServiceNow workflow? Group transaction counts and response times by transaction type. JSN gives you a direct terminal workflow instead of requiring the ServiceNow web interface for every inspection or change.
CommandWhat it does
jsn transactions --query 'sys_created_on>=javascript:gs.daysAgoStart(1)'Summarize count, average, minimum, and maximum response time
jsn transactions --query
jsn transactions \
    --query 'sys_created_on>=javascript:gs.daysAgoStart(1)' \
    --json

Transactions by type: 8 type(s)

CLASS       TYPE           COUNT  AVG       MIN       MAX
----------  -------------  -----  --------  --------  --------
api         batch_rest        21  60 ms     20 ms     308 ms
ui          form            1018  114.38 ms  6 ms      6133 ms
api         rest            2554  62.42 ms   8 ms     7383 ms
job         scheduler        602  24548.24 ms 36 ms     234718 ms

Get started

Install, point it at your instance, then run this feature.

npm install -g @jacebenson/jsn
jsn setup
jsn transactions --query 'sys_created_on>=javascript:gs.daysAgoStart(1)'
Full setup guide & skill docs →

← All features