본문으로 바로가기 본문 바로가기
WIKI 기술 지식 베이스

논리 디스크 메트릭 시맨틱 컨벤션 (Semantic conventions for logical disk metrics)

원문 보기 위키 갱신

하드웨어 컴포넌트 중 논리 디스크(logical disk)에 대한 메트릭 시맨틱 컨벤션을 소개해요.

출처: 문서

본문

  • 논리 디스크 메트릭 hw.logical_disk.*

  • 메트릭: hw.errors (논리 디스크)

  • 메트릭: hw.logical_disk.limit

  • 메트릭: hw.logical_disk.usage

  • 메트릭: hw.logical_disk.utilization

  • 메트릭: hw.status (논리 디스크)

논리 디스크 메트릭 hw.logical_disk.*

디스크 컨트롤러가 운영체제에 물리 디스크로 제시한 저장 영역(extent)이에요 (예: 2개의 디스크로 만든 RAID 1 세트를 컨트롤러가 /dev/hdd0으로 노출한 경우).

메트릭: hw.errors (논리 디스크)

이 메트릭은 권장돼요(recommended).

Name Instrument Type Unit (UCUM) Description Stability Entity Associations
hw.errors Counter {error} Number of errors encountered on this logical disk.

속성 (Attributes):

Key Stability Requirement Level Value Type Description Example Values
hw.id Required string An identifier for the hardware component, unique within the monitored host win32battery_battery_testsysa33_1
hw.type Required string Type of the component [1] logical_disk
error.type Conditionally Required if and only if an error has occurred string The type of error encountered by the component. [2] uncorrected; zero_buffer_credit; crc; bad_sector
hw.logical_disk.raid_level Recommended string RAID Level of the logical disk RAID0+1; RAID5; RAID10
hw.name Recommended string An easily-recognizable name for the hardware component eth0
hw.parent Recommended string Unique identifier of the parent component (typically the hw.id attribute of the enclosure, or disk controller) dellStorage_perc_0

[1] hw.type: 반드시 logical_disk로 설정해야 해요(MUST).

[2] error.type: error.type은 컴포넌트가 보고한 오류 코드, 오류의 표준 이름, 또는 다른 낮은 카디널리티 오류 식별자와 일치해야 해요(SHOULD). 계측은 보고하는 오류 목록을 문서화해야 해요(SHOULD).

error.type에는 다음과 같은 잘 알려진 값 목록이 있어요. 그중 하나에 해당한다면 반드시 해당 값을 사용해야 하고(MUST), 그렇지 않으면 사용자 정의 값을 사용할 수 있어요(MAY).

Value Description Stability
_OTHER A fallback error value to be used when the instrumentation doesn’t define a custom value.

hw.type에는 다음과 같은 잘 알려진 값 목록이 있어요. 그중 하나에 해당한다면 반드시 해당 값을 사용해야 하고(MUST), 그렇지 않으면 사용자 정의 값을 사용할 수 있어요(MAY).

Value Description Stability
battery Battery
cpu CPU
disk_controller Disk controller
enclosure Enclosure
fan Fan
gpu GPU
logical_disk Logical disk
memory Memory
network Network
physical_disk Physical disk
power_supply Power supply
tape_drive Tape drive
temperature Temperature
voltage Voltage

메트릭: hw.logical_disk.limit

이 메트릭은 권장돼요(recommended).

Name Instrument Type Unit (UCUM) Description Stability Entity Associations
hw.logical_disk.limit UpDownCounter By Size of the logical disk.

속성 (Attributes):

Key Stability Requirement Level Value Type Description Example Values
hw.id Required string An identifier for the hardware component, unique within the monitored host win32battery_battery_testsysa33_1
hw.logical_disk.raid_level Recommended string RAID Level of the logical disk RAID0+1; RAID5; RAID10
hw.name Recommended string An easily-recognizable name for the hardware component eth0
hw.parent Recommended string Unique identifier of the parent component (typically the hw.id attribute of the enclosure, or disk controller) dellStorage_perc_0

메트릭: hw.logical_disk.usage

이 메트릭은 권장돼요(recommended).

Name Instrument Type Unit (UCUM) Description Stability Entity Associations
hw.logical_disk.usage UpDownCounter By Logical disk space usage.

속성 (Attributes):

Key Stability Requirement Level Value Type Description Example Values
hw.id Required string An identifier for the hardware component, unique within the monitored host win32battery_battery_testsysa33_1
hw.logical_disk.state Required string State of the logical disk space usage used; free
hw.logical_disk.raid_level Recommended string RAID Level of the logical disk RAID0+1; RAID5; RAID10
hw.name Recommended string An easily-recognizable name for the hardware component eth0
hw.parent Recommended string Unique identifier of the parent component (typically the hw.id attribute of the enclosure, or disk controller) dellStorage_perc_0

hw.logical_disk.state에는 다음과 같은 잘 알려진 값 목록이 있어요. 그중 하나에 해당한다면 반드시 해당 값을 사용해야 하고(MUST), 그렇지 않으면 사용자 정의 값을 사용할 수 있어요(MAY).

Value Description Stability
free Free
used Used

메트릭: hw.logical_disk.utilization

이 메트릭은 권장돼요(recommended).

Name Instrument Type Unit (UCUM) Description Stability Entity Associations
hw.logical_disk.utilization Gauge 1 Logical disk space utilization as a fraction.

속성 (Attributes):

Key Stability Requirement Level Value Type Description Example Values
hw.id Required string An identifier for the hardware component, unique within the monitored host win32battery_battery_testsysa33_1
hw.logical_disk.state Required string State of the logical disk space usage used; free
hw.logical_disk.raid_level Recommended string RAID Level of the logical disk RAID0+1; RAID5; RAID10
hw.name Recommended string An easily-recognizable name for the hardware component eth0
hw.parent Recommended string Unique identifier of the parent component (typically the hw.id attribute of the enclosure, or disk controller) dellStorage_perc_0

hw.logical_disk.state에는 다음과 같은 잘 알려진 값 목록이 있어요. 그중 하나에 해당한다면 반드시 해당 값을 사용해야 하고(MUST), 그렇지 않으면 사용자 정의 값을 사용할 수 있어요(MAY).

Value Description Stability
free Free
used Used

메트릭: hw.status (논리 디스크)

이 메트릭은 권장돼요(recommended).

Name Instrument Type Unit (UCUM) Description Stability Entity Associations
hw.status UpDownCounter 1 Operational status: 1 (true) or 0 (false) for each of the possible states. [1]

[1]: hw.status는 현재 UpDownCounter로 지정되어 있지만, 이상적으로는 OpenMetrics에 정의된 StateSet을 사용해 표현되어야 해요. 이 시맨틱 컨벤션은 OpenTelemetry에서 StateSet이 지정되면 업데이트될 거예요. 이 계획된 변경은 사용자가 시간에 따른 hw.status 값을 검색하기 위해 타임시리즈 백엔드를 쿼리하는 방식에 어떤 영향도 미치지 않을 것으로 예상돼요.

속성 (Attributes):

Key Stability Requirement Level Value Type Description Example Values
hw.id Required string An identifier for the hardware component, unique within the monitored host win32battery_battery_testsysa33_1
hw.state Required string The current state of the component [1] ok; degraded; failed
hw.type Required string Type of the component [2] logical_disk
hw.logical_disk.raid_level Recommended string RAID Level of the logical disk RAID0+1; RAID5; RAID10
hw.name Recommended string An easily-recognizable name for the hardware component eth0
hw.parent Recommended string Unique identifier of the parent component (typically the hw.id attribute of the enclosure, or disk controller) dellStorage_perc_0

[1] hw.state: 반드시 다음 값 중 하나로 설정해야 해요(MUST):

  • ok: 논리 디스크가 정상적으로 작동하고 있어요.
  • degraded: 논리 디스크가 축소된 기능이나 성능으로 작동하고 있어요.
  • failed: 논리 디스크가 고장 났으며 작동하지 않아요.

[2] hw.type: 반드시 logical_disk로 설정해야 해요(MUST).

hw.state에는 다음과 같은 잘 알려진 값 목록이 있어요. 그중 하나에 해당한다면 반드시 해당 값을 사용해야 하고(MUST), 그렇지 않으면 사용자 정의 값을 사용할 수 있어요(MAY).

Value Description Stability
degraded Degraded
failed Failed
needs_cleaning Needs Cleaning
ok OK
predicted_failure Predicted Failure

hw.type에는 다음과 같은 잘 알려진 값 목록이 있어요. 그중 하나에 해당한다면 반드시 해당 값을 사용해야 하고(MUST), 그렇지 않으면 사용자 정의 값을 사용할 수 있어요(MAY).

Value Description Stability
battery Battery
cpu CPU
disk_controller Disk controller
enclosure Enclosure
fan Fan
gpu GPU
logical_disk Logical disk
memory Memory
network Network
physical_disk Physical disk
power_supply Power supply
tape_drive Tape drive
temperature Temperature
voltage Voltage

더 알아보기 (Learn more)