GoogleCloudPlatform / GoogleCloudPlatform/ops-agent
agent does not report inodes usage
- Dominant language
- Go
- Stars
- 204
- Forks
- 87
- Avg merge
- 21h 54m
- Merged PRs (30d)
- 23
Description
**Describe the bug**
ops-agent seems to not collect the `system.filesystem.inodes.usage` metric.
**To Reproduce**
Steps to reproduce the behavior:
1. Run a GCE VM with Ops Agent `--version=2.48.0` and default config.
2. Wait for metrics to show up in Cloud Monitoring.
3. See that there are metrics for disk usage, but NOT inodes usage
**Expected behavior**
Inodes usage should be collected and available in Cloud Monitoring.
**Environment (please complete the following information):**
- VM distro / OS: Ubuntu 24.04
- Ops Agent version: 2.48.0
- Ops Agent configuration: default
**Additional context**
It seems like the metric is explicitly filtered out in the ops-agent (see https://github.com/GoogleCloudPlatform/ops-agent/blob/1246ead5754c075662cb97b6c118f08e9929a7bb/apps/hostmetrics.go#L325). Is there any reason for this? Can this be overridden with a custom config?
Contributor guide
Assessment
This issue has not been assessed yet.