Monitoring with Amazon CloudWatch
You can monitor file systems using Amazon CloudWatch, which collects and processes raw data from Amazon FSx for Lustre into readable, near real-time metrics. These statistics are retained for a period of 15 months, so that you can access historical information and gain a better perspective on how your web application or service is performing. By default, Amazon FSx for Lustre metric data is automatically sent to CloudWatch at 1-minute periods. For more information about CloudWatch, see What Is Amazon CloudWatch? in the Amazon CloudWatch User Guide.
CloudWatch metrics are reported as raw Bytes. Bytes are not rounded to either a decimal or binary multiple of the unit.
File system metrics
FSx for Lustre publishes the following metrics into the FSx
namespace in
CloudWatch. For each metric, FSx for Lustre emits a data point per disk per minute. To view aggregate file
system details, you can use the Sum
statistic. Note that the file servers behind
your FSx for Lustre file systems are spread across multiple disks.
Metric | Description |
---|---|
DataReadBytes |
The number of bytes for file system read operations. The To calculate the average throughput (bytes per second)
for a period, divide the Units:
Valid statistics: |
DataWriteBytes |
The number of bytes for file system write operations. The To calculate the average throughput (bytes per
second) for a period, divide the Units:
Valid statistics: |
DataReadOperations |
The number of read operations. The To calculate the average number of read operations
(operations per second) for a period, divide the Units:
Valid statistics: |
DataWriteOperations |
The number of write operations. The To calculate the average number of write operations
(operations per second) for a period, divide the Units:
Valid statistics: |
MetadataOperations |
The number of metadata operations. The To calculate the average number of metadata operations
(operations per second) for a period, divide the Units:
Valid statistics: |
FreeDataStorageCapacity |
The amount of available storage capacity. The Units:
Valid statistics: |
LogicalDiskUsage |
The amount of logical data stored (uncompressed). The Units:
Valid statistics: |
PhysicalDiskUsage |
The amount of storage physically occupied by file system data (compressed). The Units:
Valid statistics: |
File system metadata metrics
FSx for Lustre publishes the following file system metadata metrics into the FSx
namespace
in CloudWatch. These metrics use dimensions to enable more granular measurements of your metadata data. All
metadata metrics have the FileSystemId
and StorageTargetId
dimensions. File
system metadata metrics are exposed only if your file system has a metadata configuration specified.
Metric | Description |
---|---|
DiskReadOperations |
The number of read operations for the file server accessing storage volumes. All traffic is considered in this metric, including background tasks. There is one metric emitted each minute for each of your file system's storage volumes. The The The The To calculate average metadata disk IOPS over the period, use the Units: Count Valid statistics: |
DiskWriteOperations |
The number of write operations for the file server accessing storage volumes. The number of write operations to this storage volumes. All traffic is considered in this metric, including background tasks. There is one metric emitted each minute for each of your file system's storage volumes. The The To calculate average metadata disk IOPS over the period, use the Units: Count Valid statistics: |
FileCreateOperations |
Total number of file create operations. Unit: Count |
FileOpenOperations |
Total number of file open operations. Unit: Count |
FileDeleteOperations |
Total number of file delete operations. Unit: Count |
StatOperations |
Total number of stat operations. Unit: Count |
RenameOperations |
Total number of directory renames, whether in-place directory renames or cross directory renames. Unit: Count |
AutoImport and AutoExport metrics
FSx for Lustre publishes the following AutoImport
(automatic import) and AutoExport
(automatic export) metrics into the FSx
namespace in CloudWatch. These metrics use dimensions
to enable more granular measurements of your data. All AutoImport
and AutoExport
metrics have the FileSystemId
and Publisher
dimensions.
Metric | Description |
---|---|
Dimension: |
The age, in seconds, of the oldest message waiting to be exported. The Units: Seconds Valid statistics: |
Dimension: |
The number of renames processed by the file system in response to a larger directory rename. The Units: Count Valid statistics: |
Dimension: |
The age, in seconds, of the oldest message waiting to be imported. The Units: Seconds Valid statistics: |
Amazon FSx for Lustre dimensions
Amazon FSx for Lustre metrics use the FSx
namespace and provide metrics for the
dimension, FileSystemId
. A file system's ID can be found using the
describe-file-systems
AWS CLI command, and it takes the form of
fs-01234567890123456
.
The StorageTargetId
dimension is available in CloudWatch to denote which
MDT (metadata target) published the file system metadata metrics.
A StorageTargetId
takes the form of MDTxxxx
(for example,
MDT0001
).
The Publisher
dimension is available in CloudWatch and AWS CLI
for the AutoImport
and AutoImport
metrics to denote which
service published the metrics.