Skip to content

Commit 92ee6e1

Browse files
committed
Response time metrics
added table and example
1 parent 4a82a51 commit 92ee6e1

File tree

1 file changed

+39
-7
lines changed

1 file changed

+39
-7
lines changed

source/includes/_activity.md

Lines changed: 39 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -312,8 +312,12 @@ volume | count of classifications | number
312312

313313
<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>
314314

315+
316+
315317
**Response Time**
316318

319+
Returns the daily average response time for all objects handled by your team. Here we're looking at the same data that powers the SLA Performance line chat in Activity. Note that if your query range is 3 days or less, the intervals will be reduced to hourly.
320+
317321
```text
318322
curl -H "Content-Type: application/json" -H "Auth-Api-Token: 12345678-1234-1234-1234-123456789" https://api.lexer.io/v1/activity/reports -d '
319323
{
@@ -327,15 +331,43 @@ curl -H "Content-Type: application/json" -H "Auth-Api-Token: 12345678-1234-1234-
327331

328332
**Type:** response_volume
329333

334+
```json
335+
{
336+
"avg_response_time": [
337+
338+
{
339+
"value": 317691.388907962,
340+
"date_range": {
341+
"date_from": "2018-06-05 00:00"
342+
}
343+
},
344+
{
345+
"value": 31159.3797606667,
346+
"date_range": {
347+
"date_from": "2018-06-06 00:00"
348+
}
349+
},
350+
{
351+
"value": 69850.8753626667,
352+
"date_range": {
353+
"date_from": "2018-06-07 00:00"
354+
}
355+
},
356+
{
357+
"value": 10661.255474,
358+
"date_range": {
359+
"date_from": "2018-06-08 00:00"
360+
}
361+
}
362+
]
363+
}
364+
```
365+
330366
Property | Description | Type |
331367
---------|-------------|------|
332-
field | description | type
333-
field | description | type
334-
field | description | type
335-
field | description | type
336-
field | description | type
337-
field | description | type
338-
field | description | type
368+
value | average response time in minutes | number
369+
date_range | date interval | string
370+
339371

340372

341373

0 commit comments

Comments
 (0)