Description
Mountpoint for Amazon S3 version
mount-s3 1.16.2
AWS Region
us-east-1
Describe the running environment
Just running in EC2.
Mountpoint options
mount-s3 <BUCKET> <MNT> --log-metrics
What happened?
Mountpoint only emits metrics for S3 CRT client at the start of each S3 meta request. Later, that is emitted by our metrics sink. However, there's no more metrics even where meta requests are in use for longer than 5 seconds.
We should move from polling metrics at the start of meta requests to polling the client when metrics are emitted, as we do for process-level metrics like memory.
S3 CRT client metrics can be "polled" here:
mountpoint-s3/mountpoint-s3-client/src/s3_crt_client.rs
Lines 814 to 843 in e85566e
We should perform the poll somewhere around here:
mountpoint-s3/mountpoint-s3-fs/src/metrics.rs
Lines 39 to 57 in e85566e