Skip to content

Commit c648838

Browse files
authored
Add resource metrics release notes & update API changes with new metrics, reorder what's new (#854)
1 parent 431eea7 commit c648838

File tree

5 files changed

+185
-77
lines changed

5 files changed

+185
-77
lines changed

site/content/arangodb/3.12/release-notes/version-3.12/api-changes-in-3-12.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -627,6 +627,43 @@ DB-Servers in a cluster has been added:
627627

628628
- `arangodb_vocbase_transactions_lost_subordinates_total`
629629

630+
---
631+
632+
<small>Introduced in: v3.12.5</small>
633+
634+
A metric has been added for the time spent on API call recording:
635+
636+
- `arangodb_api_recording_call_time`
637+
638+
---
639+
640+
<small>Introduced in: v3.12.6</small>
641+
642+
A metric has been added for the time spent on AQL query recording, along with
643+
multiple RocksDB metrics:
644+
645+
- `arangodb_aql_recording_call_time`
646+
- `rocksdb_block_cache_charge_per_entry`
647+
- `rocksdb_block_cache_entries`
648+
- `rocksdb_live_blob_file_garbage_size`
649+
- `rocksdb_live_blob_file_size`
650+
- `rocksdb_num_blob_files`
651+
652+
---
653+
654+
<small>Introduced in: v3.12.7</small>
655+
656+
The following new metrics have been added to track the global number of databases,
657+
collections, and shards, as well as the CGroup version and effective CPU cores
658+
and physical memory:
659+
660+
- `arangodb_metadata_number_of_databases`
661+
- `arangodb_metadata_number_of_collections`
662+
- `arangodb_metadata_number_of_shards`
663+
- `arangodb_server_statistics_cpu_cgroup_version`
664+
- `arangodb_server_statistics_effective_cpu_cores`
665+
- `arangodb_server_statistics_effective_physical_memory`
666+
630667
#### Stream Transactions API
631668

632669
<small>Introduced in: v3.12.1</small>

site/content/arangodb/3.12/release-notes/version-3.12/known-issues-in-3-12.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,4 @@ Note that this page does not list all open issues.
5151
| **Date Added:** 2024-07-03 <br> **Component:** arangod <br> **Deployment Mode:** All <br> **Description:** ArangoDB can crash if run on bare metal and the Linux distribution uses a different glibc version, the `libnss-*` libraries are installed, and the `/etc/nsswitch.conf` configuration file contains settings other than for `files` and `dns` in the `hosts:` line, or the `passwd:` and `group:` lines contain something other than `files`. If you use a fixed version, it can still crash under these circumstances if you enable the `--honor-nsswitch` startup option. <br> **Affected Versions:** 3.11.10 (non-hotfix), 3.12.0 <br> **Fixed in Versions:** 3.11.10-1, 3.12.1 <br> **Reference:** [Incompatibility due to switch to glibc](incompatible-changes-in-3-12.md#incompatibilities-due-to-switch-to-glibc) |
5252
| **Date Added:** 2025-01-30 <br> **Component:** arangod <br> **Deployment Mode:** Cluster <br> **Description:** If the invariant is violated that ArangoDB's data is not modified while a server is down, manually as well as automatically triggered operations such as moving shards can make a DB-Server the leader (again) even though it may not have the correct data. ArangoDB does currently not protect against certain cases like bringing a DB-Server back without data (by accident or on purpose), which can lead to this empty state getting replicated across the cluster and thus causing data loss. <br> **Affected Versions:** 3.11.x, 3.12.x <br> **Fixed in Versions:** - <br> **Reference:** N/A |
5353
| **Date Added:** 2025-06-25 <br> **Component:** Web interface <br> **Deployment Mode:** All <br> **Description:** Specifying an `X-Script-Name` HTTP header in requests to the web interface (`/_admin/aardvark`) to add a path prefix is non-functional. The feature was originally added in version 3.0 for basic proxy setups but doesn't adequately handle the requests of certain internal services. <br> **Affected Versions:** 3.11.x, 3.12.x <br> **Fixed in Versions:** - <br> **Reference:** N/A |
54-
| **Date Added:** 2025-12-09 <br> **Component:** arangod <br> **Deployment Mode:** Cluster <br> **Description:** When rapidly changing the `replicationFactor` of a collection, the server may unexpectedly reply a `Precondition Failed` error with code `412`. <br> **Affected Versions:** 3.12.x <br> **Fixed in Versions:** - <br> **Reference:** [BTS-2279](https://arangodb.atlassian.net/browse/BTS-2279) (internal) |
54+
| **Date Added:** 2025-12-09 <br> **Component:** arangod <br> **Deployment Mode:** Cluster <br> **Description:** When rapidly changing the `replicationFactor` of a collection, the server may unexpectedly reply a `Precondition Failed` error with code `412`. <br> **Affected Versions:** 3.12.x <br> **Fixed in Versions:** - <br> **Reference:** [BTS-2279](https://arangodb.atlassian.net/browse/BTS-2279) (internal) |

site/content/arangodb/3.12/release-notes/version-3.12/whats-new-in-3-12.md

Lines changed: 55 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -2376,39 +2376,19 @@ DB-Servers in a cluster has been added:
23762376
|:------|:------------|
23772377
| `arangodb_vocbase_transactions_lost_subordinates_total` | Counts the number of lost subordinate transactions on database servers. |
23782378

2379-
### RocksDB upgrade
2380-
2381-
<small>Introduced in: v3.12.6</small>
2382-
2383-
The RocksDB library has been upgraded from version 7.2.0 to 9.5.0.
2384-
2385-
As a result, you may see performance improvements while using slightly less
2386-
resources especially for mixed workloads.
2379+
### Access tokens
23872380

2388-
The following new RocksDB functionality is exposed in ArangoDB:
2381+
<small>Introduced in: v3.12.5</small>
23892382

2390-
- Different types of block caches, LRU and HyperClockCache (HCC), selectable via
2391-
the new `--rocksdb.block-cache-type` startup option
2392-
- A `--rocksdb.block-cache-estimated-entry-charge` startup option to configure the HCC.
2393-
- RocksDB table format version 6 (not downwards-compatible to older versions of RocksDB).
2394-
- RocksDB blob caching (if blobs are enabled for the documents column family),
2395-
which you can enable via `--rocksdb.enable-blob-cache`.
2396-
- Using blob files only from a certain level onwards (if blobs are enabled for
2397-
the documents column family), which you can enable via
2398-
`--rocksdb.blob-file-starting-level`.
2399-
- Blob cache prepopulation, which you can enable via `--rocksdb.prepopulate-blob-cache`.
2400-
- An option to generate Bloom/Ribbon filters that minimize memory internal
2401-
fragmentation, which you can enable with `--rocksdb.optimize-filters-for-memory`.
2383+
A new authentication feature has been added that lets you use access tokens
2384+
for either creating JWT session tokens or directly authenticate with an
2385+
access token instead of a password.
24022386

2403-
The following RocksDB metrics have been added:
2387+
You can create multiple access tokens for a single user account, set expiration
2388+
dates, and individually revoke tokens.
24042389

2405-
| Label | Description |
2406-
|:------|:------------|
2407-
| `rocksdb_block_cache_charge_per_entry` | Average size of entries in RocksDB block cache.
2408-
| `rocksdb_block_cache_entries` | Number of entries in the RocksDB block cache.
2409-
| `rocksdb_live_blob_file_garbage_size` | Size of garbage in live RocksDB .blob files.
2410-
| `rocksdb_live_blob_file_size` | Size of live RocksDB .blob files.
2411-
| `rocksdb_num_blob_files` | Number of live RocksDB .blob files.
2390+
See the [HTTP API](../../develop/http-api/authentication.md#access-tokens)
2391+
documentation.
24122392

24132393
### API call recording
24142394

@@ -2477,19 +2457,39 @@ impact of this feature:
24772457
See [HTTP interface for server logs](../../develop/http-api/monitoring/logs.md#get-recent-aql-queries)
24782458
for details.
24792459

2480-
### Access tokens
2460+
### RocksDB upgrade
24812461

2482-
<small>Introduced in: v3.12.5</small>
2462+
<small>Introduced in: v3.12.6</small>
24832463

2484-
A new authentication feature has been added that lets you use access tokens
2485-
for either creating JWT session tokens or directly authenticate with an
2486-
access token instead of a password.
2464+
The RocksDB library has been upgraded from version 7.2.0 to 9.5.0.
24872465

2488-
You can create multiple access tokens for a single user account, set expiration
2489-
dates, and individually revoke tokens.
2466+
As a result, you may see performance improvements while using slightly less
2467+
resources especially for mixed workloads.
24902468

2491-
See the [HTTP API](../../develop/http-api/authentication.md#access-tokens)
2492-
documentation.
2469+
The following new RocksDB functionality is exposed in ArangoDB:
2470+
2471+
- Different types of block caches, LRU and HyperClockCache (HCC), selectable via
2472+
the new `--rocksdb.block-cache-type` startup option
2473+
- A `--rocksdb.block-cache-estimated-entry-charge` startup option to configure the HCC.
2474+
- RocksDB table format version 6 (not downwards-compatible to older versions of RocksDB).
2475+
- RocksDB blob caching (if blobs are enabled for the documents column family),
2476+
which you can enable via `--rocksdb.enable-blob-cache`.
2477+
- Using blob files only from a certain level onwards (if blobs are enabled for
2478+
the documents column family), which you can enable via
2479+
`--rocksdb.blob-file-starting-level`.
2480+
- Blob cache prepopulation, which you can enable via `--rocksdb.prepopulate-blob-cache`.
2481+
- An option to generate Bloom/Ribbon filters that minimize memory internal
2482+
fragmentation, which you can enable with `--rocksdb.optimize-filters-for-memory`.
2483+
2484+
The following RocksDB metrics have been added:
2485+
2486+
| Label | Description |
2487+
|:------|:------------|
2488+
| `rocksdb_block_cache_charge_per_entry` | Average size of entries in RocksDB block cache.
2489+
| `rocksdb_block_cache_entries` | Number of entries in the RocksDB block cache.
2490+
| `rocksdb_live_blob_file_garbage_size` | Size of garbage in live RocksDB .blob files.
2491+
| `rocksdb_live_blob_file_size` | Size of live RocksDB .blob files.
2492+
| `rocksdb_num_blob_files` | Number of live RocksDB .blob files.
24932493

24942494
### `@PID@` and `@TEMP_BASE_DIR@` placeholders for startup options
24952495

@@ -2526,6 +2526,23 @@ These metrics are exposed on Coordinators (in cluster mode) and single
25262526
servers, providing visibility into the overall size and scale of the
25272527
deployment.
25282528

2529+
### Resource metrics
2530+
2531+
<small>Introduced in: v3.12.7</small>
2532+
2533+
The following new metrics have been added for the CGroup version and the
2534+
effective CPU cores and physical memory, taking limitations set on the
2535+
_arangod_ process into account:
2536+
2537+
| Label | Description |
2538+
|:------|:------------|
2539+
| `arangodb_server_statistics_cpu_cgroup_version` | CGroup version detected on the system (0=none, 1=v1, 2=v2). |
2540+
| `arangodb_server_statistics_effective_cpu_cores` | Number of effective CPU cores available to the arangod process. |
2541+
| `arangodb_server_statistics_effective_physical_memory` | Effective physical memory available to the arangod process in bytes. |
2542+
2543+
The size of the currently mounted disk is already exposed by the
2544+
`rocksdb_total_disk_space` metric.
2545+
25292546
## Client tools
25302547

25312548
### Protocol aliases for endpoints

site/content/arangodb/4.0/release-notes/version-3.12/api-changes-in-3-12.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -627,6 +627,43 @@ DB-Servers in a cluster has been added:
627627

628628
- `arangodb_vocbase_transactions_lost_subordinates_total`
629629

630+
---
631+
632+
<small>Introduced in: v3.12.5</small>
633+
634+
A metric has been added for the time spent on API call recording:
635+
636+
- `arangodb_api_recording_call_time`
637+
638+
---
639+
640+
<small>Introduced in: v3.12.6</small>
641+
642+
A metric has been added for the time spent on AQL query recording, along with
643+
multiple RocksDB metrics:
644+
645+
- `arangodb_aql_recording_call_time`
646+
- `rocksdb_block_cache_charge_per_entry`
647+
- `rocksdb_block_cache_entries`
648+
- `rocksdb_live_blob_file_garbage_size`
649+
- `rocksdb_live_blob_file_size`
650+
- `rocksdb_num_blob_files`
651+
652+
---
653+
654+
<small>Introduced in: v3.12.7</small>
655+
656+
The following new metrics have been added to track the global number of databases,
657+
collections, and shards, as well as the CGroup version and effective CPU cores
658+
and physical memory:
659+
660+
- `arangodb_metadata_number_of_databases`
661+
- `arangodb_metadata_number_of_collections`
662+
- `arangodb_metadata_number_of_shards`
663+
- `arangodb_server_statistics_cpu_cgroup_version`
664+
- `arangodb_server_statistics_effective_cpu_cores`
665+
- `arangodb_server_statistics_effective_physical_memory`
666+
630667
#### Stream Transactions API
631668

632669
<small>Introduced in: v3.12.1</small>

site/content/arangodb/4.0/release-notes/version-3.12/whats-new-in-3-12.md

Lines changed: 55 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -2376,39 +2376,19 @@ DB-Servers in a cluster has been added:
23762376
|:------|:------------|
23772377
| `arangodb_vocbase_transactions_lost_subordinates_total` | Counts the number of lost subordinate transactions on database servers. |
23782378

2379-
### RocksDB upgrade
2380-
2381-
<small>Introduced in: v3.12.6</small>
2382-
2383-
The RocksDB library has been upgraded from version 7.2.0 to 9.5.0.
2384-
2385-
As a result, you may see performance improvements while using slightly less
2386-
resources especially for mixed workloads.
2379+
### Access tokens
23872380

2388-
The following new RocksDB functionality is exposed in ArangoDB:
2381+
<small>Introduced in: v3.12.5</small>
23892382

2390-
- Different types of block caches, LRU and HyperClockCache (HCC), selectable via
2391-
the new `--rocksdb.block-cache-type` startup option
2392-
- A `--rocksdb.block-cache-estimated-entry-charge` startup option to configure the HCC.
2393-
- RocksDB table format version 6 (not downwards-compatible to older versions of RocksDB).
2394-
- RocksDB blob caching (if blobs are enabled for the documents column family),
2395-
which you can enable via `--rocksdb.enable-blob-cache`.
2396-
- Using blob files only from a certain level onwards (if blobs are enabled for
2397-
the documents column family), which you can enable via
2398-
`--rocksdb.blob-file-starting-level`.
2399-
- Blob cache prepopulation, which you can enable via `--rocksdb.prepopulate-blob-cache`.
2400-
- An option to generate Bloom/Ribbon filters that minimize memory internal
2401-
fragmentation, which you can enable with `--rocksdb.optimize-filters-for-memory`.
2383+
A new authentication feature has been added that lets you use access tokens
2384+
for either creating JWT session tokens or directly authenticate with an
2385+
access token instead of a password.
24022386

2403-
The following RocksDB metrics have been added:
2387+
You can create multiple access tokens for a single user account, set expiration
2388+
dates, and individually revoke tokens.
24042389

2405-
| Label | Description |
2406-
|:------|:------------|
2407-
| `rocksdb_block_cache_charge_per_entry` | Average size of entries in RocksDB block cache.
2408-
| `rocksdb_block_cache_entries` | Number of entries in the RocksDB block cache.
2409-
| `rocksdb_live_blob_file_garbage_size` | Size of garbage in live RocksDB .blob files.
2410-
| `rocksdb_live_blob_file_size` | Size of live RocksDB .blob files.
2411-
| `rocksdb_num_blob_files` | Number of live RocksDB .blob files.
2390+
See the [HTTP API](../../develop/http-api/authentication.md#access-tokens)
2391+
documentation.
24122392

24132393
### API call recording
24142394

@@ -2477,19 +2457,39 @@ impact of this feature:
24772457
See [HTTP interface for server logs](../../develop/http-api/monitoring/logs.md#get-recent-aql-queries)
24782458
for details.
24792459

2480-
### Access tokens
2460+
### RocksDB upgrade
24812461

2482-
<small>Introduced in: v3.12.5</small>
2462+
<small>Introduced in: v3.12.6</small>
24832463

2484-
A new authentication feature has been added that lets you use access tokens
2485-
for either creating JWT session tokens or directly authenticate with an
2486-
access token instead of a password.
2464+
The RocksDB library has been upgraded from version 7.2.0 to 9.5.0.
24872465

2488-
You can create multiple access tokens for a single user account, set expiration
2489-
dates, and individually revoke tokens.
2466+
As a result, you may see performance improvements while using slightly less
2467+
resources especially for mixed workloads.
24902468

2491-
See the [HTTP API](../../develop/http-api/authentication.md#access-tokens)
2492-
documentation.
2469+
The following new RocksDB functionality is exposed in ArangoDB:
2470+
2471+
- Different types of block caches, LRU and HyperClockCache (HCC), selectable via
2472+
the new `--rocksdb.block-cache-type` startup option
2473+
- A `--rocksdb.block-cache-estimated-entry-charge` startup option to configure the HCC.
2474+
- RocksDB table format version 6 (not downwards-compatible to older versions of RocksDB).
2475+
- RocksDB blob caching (if blobs are enabled for the documents column family),
2476+
which you can enable via `--rocksdb.enable-blob-cache`.
2477+
- Using blob files only from a certain level onwards (if blobs are enabled for
2478+
the documents column family), which you can enable via
2479+
`--rocksdb.blob-file-starting-level`.
2480+
- Blob cache prepopulation, which you can enable via `--rocksdb.prepopulate-blob-cache`.
2481+
- An option to generate Bloom/Ribbon filters that minimize memory internal
2482+
fragmentation, which you can enable with `--rocksdb.optimize-filters-for-memory`.
2483+
2484+
The following RocksDB metrics have been added:
2485+
2486+
| Label | Description |
2487+
|:------|:------------|
2488+
| `rocksdb_block_cache_charge_per_entry` | Average size of entries in RocksDB block cache.
2489+
| `rocksdb_block_cache_entries` | Number of entries in the RocksDB block cache.
2490+
| `rocksdb_live_blob_file_garbage_size` | Size of garbage in live RocksDB .blob files.
2491+
| `rocksdb_live_blob_file_size` | Size of live RocksDB .blob files.
2492+
| `rocksdb_num_blob_files` | Number of live RocksDB .blob files.
24932493

24942494
### `@PID@` and `@TEMP_BASE_DIR@` placeholders for startup options
24952495

@@ -2526,6 +2526,23 @@ These metrics are exposed on Coordinators (in cluster mode) and single
25262526
servers, providing visibility into the overall size and scale of the
25272527
deployment.
25282528

2529+
### Resource metrics
2530+
2531+
<small>Introduced in: v3.12.7</small>
2532+
2533+
The following new metrics have been added for the CGroup version and the
2534+
effective CPU cores and physical memory, taking limitations set on the
2535+
_arangod_ process into account:
2536+
2537+
| Label | Description |
2538+
|:------|:------------|
2539+
| `arangodb_server_statistics_cpu_cgroup_version` | CGroup version detected on the system (0=none, 1=v1, 2=v2). |
2540+
| `arangodb_server_statistics_effective_cpu_cores` | Number of effective CPU cores available to the arangod process. |
2541+
| `arangodb_server_statistics_effective_physical_memory` | Effective physical memory available to the arangod process in bytes. |
2542+
2543+
The size of the currently mounted disk is already exposed by the
2544+
`rocksdb_total_disk_space` metric.
2545+
25292546
## Client tools
25302547

25312548
### Protocol aliases for endpoints

0 commit comments

Comments
 (0)