GoogleCloudPlatform / GoogleCloudPlatform/ops-agent

Add disk name to disk_percent_used metric

Open
#1,916 3 comments 2 reactions 0 assignees View on GitHub
no-stale
Dominant language
Go
Stars
204
Forks
87
Avg merge
21h 54m
Merged PRs (30d)
23

Description

Currently, the only way to identify a disk in the disk_percent_used metric is by using the `device` tag, which is the low-level NVME device name like `/dev/nvme1n1 `. This isn't very user-friendly.

This device name can easily be mapped to the disk name in GCP by using the `/dev/disk/by-id` links. For example:
```
readlink -f /dev/disk/by-id/google-logs-disk
/dev/nvme1n1
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.