diff --git a/CHANGELOG.md b/CHANGELOG.md index f3c0cd60..56ee3a6f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,8 +25,8 @@ See the [migration guide](/docs/migrating-from-2.0.0-alpha.13.md) for how to upd - Added autosaving of data held in memory on the controller such as configs, instances, users, mods to prevent large data loss on crashing. - Added `system_info` metric with kernel, instruction set, CPU Model, hostname and Node.js version of the controller. - Added `clusterio_host_system_info` metric with kernel, instruction set, CPU Model, hostname and Node.js version of hosts. -- Added `system_cpu_seconds_total`, `system_cpu_idle_seconds_total`, `system_memory_capasity_bytes`, `system_memory_available_bytes`, `system_disk_capasity_bytes`, `system_disk_available_bytes` metrics for CPU, memory and disk usage on the controller. -- Added `clusterio_host_system_cpu_seconds_total`, `clusterio_host_system_cpu_idle_seconds_total`, `clusterio_host_system_memory_capasity_bytes`, `clusterio_host_system_memory_available_bytes`, `clusterio_host_system_disk_capasity_bytes`, `clusterio_host_system_disk_available_bytes` metrics for CPU, memory and disk usage on hosts. +- Added `system_cpu_seconds_total`, `system_cpu_idle_seconds_total`, `system_memory_capacity_bytes`, `system_memory_available_bytes`, `system_disk_capacity_bytes`, `system_disk_available_bytes` metrics for CPU, memory and disk usage on the controller. +- Added `clusterio_host_system_cpu_seconds_total`, `clusterio_host_system_cpu_idle_seconds_total`, `clusterio_host_system_memory_capacity_bytes`, `clusterio_host_system_memory_available_bytes`, `clusterio_host_system_disk_capacity_bytes`, `clusterio_host_system_disk_available_bytes` metrics for CPU, memory and disk usage on hosts. - Added support for reading the client's IP address from the `X-Forwarded-For` header when the source address is in the `controller.trusted_proxies` config option. - Added field showing the IP address a host is connecting from. - Added per player statistic tracking when they were first seen joining a particular server. diff --git a/packages/lib/src/system_collectors.ts b/packages/lib/src/system_collectors.ts index 6d8e6628..fa689c97 100644 --- a/packages/lib/src/system_collectors.ts +++ b/packages/lib/src/system_collectors.ts @@ -67,8 +67,8 @@ export const systemCpuIdleSecondsTotal = new Gauge( }, ); -export const systemMemoryCapasityBytes = new Gauge( - "system_memory_capasity_bytes", +export const systemMemoryCapacityBytes = new Gauge( + "system_memory_capacity_bytes", "Total system memory installed", { callback: function(collector) { @@ -87,8 +87,8 @@ export const systemMemoryAvailableBytes = new Gauge( }, ); -export const systemDiskCapasityBytes = new Gauge( - "system_disk_capasity_bytes", +export const systemDiskCapacityBytes = new Gauge( + "system_disk_capacity_bytes", "Size of the filesystem of the current working directory Node.js runs on", { callback: async function(collector) {