---
# System prepended metadata

title: 99dev metrics

---

# 99dev metrics

Using [cloudwatch insights](https://ap-southeast-2.console.aws.amazon.com/cloudwatch/home?region=ap-southeast-2#logsV2:logs-insights$3FqueryDetail$3D$257E$2528end$257E0$257Estart$257E-1209600$257EtimeType$257E$2527RELATIVE$257Eunit$257E$2527seconds$257EeditorString$257E$2527fields*20name*2c*20service*20*7c*0afilter*20name*20like*20*2299data*22*20*7c*0astats*20avg*28duration*29*20by*20service*2c*20arch*20*7c*0a*23*20stats*20count*28*2a*29*20by*20service*2c*20arch*20*7c*0asort*20by*20service*0a*0a$257EisLiveTail$257Efalse$257EqueryId$257E$25271a29bbe3-b3f0-4371-b9d8-f971dad38c57$257Esource$257E$2528$257E$2527*2faws*2flambda*2fdev-events-my-stack-ApiLambdaPOSTevents097F9F00-qQfFCluQS90c$2529$2529)

Timeframe: Past 2 weeks

## Average duration for 99data steps

Query:
```
fields name, service |
filter name like "99data" |
stats avg(duration) by service, arch |
sort by service
```

**CloudWatch Logs Insights**  
region: ap-southeast-2  
log-group-names: /aws/lambda/dev-events-my-stack-ApiLambdaPOSTevents097F9F00-qQfFCluQS90c  
start-time: -1209600s  
end-time: 0s  
query-string:
```
fields name, service |
filter name like "99data" |
stats avg(duration) by service, arch |
# stats count(*) by service, arch |
sort by service


```
--------------------------------------------
|     service     |  arch  | avg(duration) |
|-----------------|--------|---------------|
|                 | arm64  | 64.8016       |
|                 | x86_64 | 207.7118      |
| abacus          | arm64  | 1.3636        |
| abacus          | x86_64 | 6.6389        |
| accounts        | x86_64 | 29.5955       |
| accounts        | arm64  | 3.2308        |
| blog            | x86_64 | 31.9275       |
| blog            | arm64  | 1.8889        |
| contests        | x86_64 | 93.5479       |
| contests        | arm64  | 27.2222       |
| create          | arm64  | 5.7895        |
| create          | x86_64 | 12.5789       |
| handover        | x86_64 | 49.3188       |
| handover        | arm64  | 8.4444        |
| ledger          | x86_64 | 26            |
| messages        | x86_64 | 7.6429        |
| messages        | arm64  | 2.1667        |
| notifications   | x86_64 | 6.2286        |
| notifications   | arm64  | 1.8889        |
| opensearch      | arm64  | 1             |
| opportunities   | arm64  | 5.7143        |
| opportunities   | x86_64 | 8.2069        |
| payments        | x86_64 | 6.9155        |
| payments        | arm64  | 15            |
| payouts         | x86_64 | 5.3623        |
| payouts         | arm64  | 1.8889        |
| print           | x86_64 | 5.0145        |
| print           | arm64  | 1.5556        |
| product-catalog | arm64  | 5.3793        |
| product-catalog | x86_64 | 3.8272        |
| projects        | x86_64 | 231.4306      |
| projects        | arm64  | 281.7778      |
| promotions      | x86_64 | 6.5           |
| promotions      | arm64  | 1.125         |
| start           | x86_64 | 110.8889      |
| start           | arm64  | 1             |
| workbench       | x86_64 | 75.4054       |
| workbench       | arm64  | 252.8889      |
--------------------------------------------



## Total number of 99data invocations

query 
```
filter name like "99data" |
stats count(*) by name |
sort by name
```

**CloudWatch Logs Insights**  
region: ap-southeast-2  
log-group-names: /aws/lambda/dev-events-my-stack-ApiLambdaPOSTevents097F9F00-qQfFCluQS90c  
start-time: -1209600s  
end-time: 0s  
query-string:
```
filter name like "99data.init_service" |
# stats avg(duration) by service, arch |
stats count(*) by service |
sort by service


```
------------------------------------
|         name          | count(*) |
|-----------------------|----------|
| 99data.fetch_and_load | 206      |
| 99data.init           | 208      |
| 99data.init_service   | 1323     |
------------------------------------

## 99data invocations by service

**CloudWatch Logs Insights**  
region: ap-southeast-2  
log-group-names: /aws/lambda/dev-events-my-stack-ApiLambdaPOSTevents097F9F00-qQfFCluQS90c  
start-time: -1209600s  
end-time: 0s  
query-string:
```
filter name like "99data.init_service" |
# stats avg(duration) by service, arch |
stats count(*) by service |
sort by service


```
------------------------------
|     service     | count(*) |
|-----------------|----------|
| abacus          | 83       |
| accounts        | 102      |
| blog            | 78       |
| contests        | 82       |
| create          | 95       |
| handover        | 78       |
| ledger          | 1        |
| messages        | 82       |
| notifications   | 79       |
| opensearch      | 1        |
| opportunities   | 43       |
| payments        | 81       |
| payouts         | 78       |
| print           | 78       |
| product-catalog | 110      |
| projects        | 82       |
| promotions      | 77       |
| start           | 10       |
| workbench       | 84       |
------------------------------