Type field missing in snmp data harware.cpu meters

Type field is missing in snmp.yaml for hardware.cpu.*
meters as a result it is throwing Missing field unit
errors in the log files. Adding Type gauge per the
telemetry-measurements documentation.

Change-Id: I4c349d82e3b2b35727c3f814116410dd1ffc8f37
Task: 36428
Story: 2006485
This commit is contained in:
Manuel Rodriguez 2019-09-02 18:25:35 -04:00
parent 5634086f30
commit fd9cf6a7bd
1 changed files with 7 additions and 0 deletions

View File

@ -39,42 +39,49 @@ metric:
- name: hardware.cpu.user
unit: tick
type: gauge
snmp_inspector:
matching_type: "type_exact"
oid: "1.3.6.1.4.1.2021.11.50.0"
type: "int"
- name: hardware.cpu.nice
unit: tick
type: gauge
snmp_inspector:
matching_type: "type_exact"
oid: "1.3.6.1.4.1.2021.11.51.0"
type: "int"
- name: hardware.cpu.system
unit: tick
type: gauge
snmp_inspector:
matching_type: "type_exact"
oid: "1.3.6.1.4.1.2021.11.52.0"
type: "int"
- name: hardware.cpu.idle
unit: tick
type: gauge
snmp_inspector:
matching_type: "type_exact"
oid: "1.3.6.1.4.1.2021.11.53.0"
type: "int"
- name: hardware.cpu.wait
unit: tick
type: gauge
snmp_inspector:
matching_type: "type_exact"
oid: "1.3.6.1.4.1.2021.11.54.0"
type: "int"
- name: hardware.cpu.kernel
unit: tick
type: gauge
snmp_inspector:
matching_type: "type_exact"
oid: "1.3.6.1.4.1.2021.11.55.0"
type: "int"
- name: hardware.cpu.interrupt
unit: tick
type: gauge
snmp_inspector:
matching_type: "type_exact"
oid: "1.3.6.1.4.1.2021.11.56.0"