Skip to content
This repository was archived by the owner on Dec 13, 2023. It is now read-only.

Commit 146c613

Browse files
authored
DOC-464 | Add metrics for delays in sending cluster-internal requests (#1355)
* Add metrics for delays in sending cluster-internal requests * Add ArangoSearch primary doc count metric
1 parent 4d2abc3 commit 146c613

File tree

6 files changed

+100
-0
lines changed

6 files changed

+100
-0
lines changed

3.10/release-notes-api-changes310.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -694,6 +694,20 @@ been added:
694694
|:------|:------------|
695695
| `arangodb_replication_clients` | Number of currently connected/active replication clients. |
696696

697+
---
698+
699+
The following metrics for diagnosing delays in cluster-internal network requests
700+
have been added:
701+
702+
<small>Introduced in: v3.9.11, v3.10.6</small>
703+
704+
| Label | Description |
705+
|:------|:------------|
706+
| `arangodb_network_dequeue_duration` | Internal request duration for the dequeue in seconds. |
707+
| `arangodb_network_response_duration` | Internal request duration from fully sent till response received in seconds. |
708+
| `arangodb_network_send_duration` | Internal request send duration in seconds. |
709+
| `arangodb_network_unfinished_sends_total` | Number of internal requests for which sending has not finished. |
710+
697711
#### Pregel API
698712

699713
When loading the graph data into memory, a `"loading"` state is now returned by

3.10/release-notes-new-features310.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1445,6 +1445,20 @@ can be used for each individual edge index, and separately for the `_from` and
14451445
values but the full-length edge IDs. The compressed values are also used
14461446
in-memory only and are not persisted on disk.
14471447

1448+
### Sending delay metrics for internal requests
1449+
1450+
The following metrics for diagnosing delays in cluster-internal network requests
1451+
have been added:
1452+
1453+
<small>Introduced in: v3.9.11, v3.10.6</small>
1454+
1455+
| Label | Description |
1456+
|:------|:------------|
1457+
| `arangodb_network_dequeue_duration` | Internal request duration for the dequeue in seconds. |
1458+
| `arangodb_network_response_duration` | Internal request duration from fully sent till response received in seconds. |
1459+
| `arangodb_network_send_duration` | Internal request send duration in seconds. |
1460+
| `arangodb_network_unfinished_sends_total` | Number of internal requests for which sending has not finished. |
1461+
14481462
## Client tools
14491463

14501464
### arangobench

3.11/release-notes-api-changes311.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -401,6 +401,14 @@ following two new statistics in the `stats` attribute of the response now:
401401

402402
#### Metrics API
403403

404+
The following ArangoSearch metric has been added in version 3.11:
405+
406+
| Label | Description |
407+
|:------|:------------|
408+
| `arangodb_search_num_primary_docs` | Number of primary documents for current snapshot. |
409+
410+
---
411+
404412
<small>Introduced in: v3.8.9, v3.9.6, v3.10.2</small>
405413

406414
The metrics endpoints include the following new traffic accounting metrics:
@@ -443,6 +451,20 @@ been added:
443451
|:------|:------------|
444452
| `arangodb_replication_clients` | Number of currently connected/active replication clients. |
445453

454+
---
455+
456+
The following metrics for diagnosing delays in cluster-internal network requests
457+
have been added:
458+
459+
<small>Introduced in: v3.9.11, v3.10.6</small>
460+
461+
| Label | Description |
462+
|:------|:------------|
463+
| `arangodb_network_dequeue_duration` | Internal request duration for the dequeue in seconds. |
464+
| `arangodb_network_response_duration` | Internal request duration from fully sent till response received in seconds. |
465+
| `arangodb_network_send_duration` | Internal request send duration in seconds. |
466+
| `arangodb_network_unfinished_sends_total` | Number of internal requests for which sending has not finished. |
467+
446468
#### Log level API
447469

448470
<small>Introduced in: v3.10.2</small>

3.11/release-notes-new-features311.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -887,6 +887,14 @@ See [Pregel HTTP API](http/pregel.html) for details.
887887
You can still use the old interfaces (the `pregel.status()` method as well as
888888
the `GET /_api/control_pregel` and `GET /_api/control_pregel/{id}` endpoints).
889889

890+
### ArangoSearch metric
891+
892+
The following ArangoSearch metric has been added in version 3.11:
893+
894+
| Label | Description |
895+
|:------|:------------|
896+
| `arangodb_search_num_primary_docs` | Number of primary documents for current snapshot. |
897+
890898
### Traffic accounting metrics
891899

892900
<small>Introduced in: v3.8.9, v3.9.6, v3.10.2</small>
@@ -966,6 +974,20 @@ can be used for each individual edge index, and separately for the `_from` and
966974
values but the full-length edge IDs. The compressed values are also used
967975
in-memory only and are not persisted on disk.
968976

977+
### Sending delay metrics for internal requests
978+
979+
The following metrics for diagnosing delays in cluster-internal network requests
980+
have been added:
981+
982+
<small>Introduced in: v3.9.11, v3.10.6</small>
983+
984+
| Label | Description |
985+
|:------|:------------|
986+
| `arangodb_network_dequeue_duration` | Internal request duration for the dequeue in seconds. |
987+
| `arangodb_network_response_duration` | Internal request duration from fully sent till response received in seconds. |
988+
| `arangodb_network_send_duration` | Internal request send duration in seconds. |
989+
| `arangodb_network_unfinished_sends_total` | Number of internal requests for which sending has not finished. |
990+
969991
## Internal changes
970992

971993
### Upgraded bundled library versions

3.9/release-notes-api-changes39.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -360,6 +360,20 @@ The following metrics for write-ahead log (WAL) file tracking have been added:
360360
| `rocksdb_wal_released_tick_replication` | Lower bound sequence number from which WAL files need to be kept because of replication. |
361361
| `arangodb_flush_subscriptions` | Number of currently active flush subscriptions. |
362362

363+
---
364+
365+
The following metrics for diagnosing delays in cluster-internal network requests
366+
have been added:
367+
368+
<small>Introduced in: v3.9.11</small>
369+
370+
| Label | Description |
371+
|:------|:------------|
372+
| `arangodb_network_dequeue_duration` | Internal request duration for the dequeue in seconds. |
373+
| `arangodb_network_response_duration` | Internal request duration from fully sent till response received in seconds. |
374+
| `arangodb_network_send_duration` | Internal request send duration in seconds. |
375+
| `arangodb_network_unfinished_sends_total` | Number of internal requests for which sending has not finished. |
376+
363377
### Endpoints moved
364378

365379
#### Cluster API redirects

3.9/release-notes-new-features39.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1085,6 +1085,20 @@ The following metrics for write-ahead log (WAL) file tracking have been added:
10851085
| `rocksdb_wal_released_tick_replication` | Lower bound sequence number from which WAL files need to be kept because of replication. |
10861086
| `arangodb_flush_subscriptions` | Number of currently active flush subscriptions. |
10871087

1088+
### Sending delay metrics for internal requests
1089+
1090+
The following metrics for diagnosing delays in cluster-internal network requests
1091+
have been added:
1092+
1093+
<small>Introduced in: v3.9.11</small>
1094+
1095+
| Label | Description |
1096+
|:------|:------------|
1097+
| `arangodb_network_dequeue_duration` | Internal request duration for the dequeue in seconds. |
1098+
| `arangodb_network_response_duration` | Internal request duration from fully sent till response received in seconds. |
1099+
| `arangodb_network_send_duration` | Internal request send duration in seconds. |
1100+
| `arangodb_network_unfinished_sends_total` | Number of internal requests for which sending has not finished. |
1101+
10881102
Client tools
10891103
------------
10901104

0 commit comments

Comments
 (0)