|
15 | 15 | */
|
16 | 16 |
|
17 | 17 | def beanHadoopNameNodeFS = otel.mbean("Hadoop:service=NameNode,name=FSNamesystem")
|
18 |
| -otel.instrument(beanHadoopNameNodeFS, "hadoop.name_node.capacity.usage", "The current used capacity across all data nodes reporting to the name node.", "by", |
| 18 | +otel.instrument(beanHadoopNameNodeFS, "hadoop.name_node.capacity.usage", "The current used capacity across all data nodes reporting to the name node.", "By", |
19 | 19 | ["node_name" : { mbean -> mbean.getProperty("tag.Hostname") }],
|
20 | 20 | "CapacityUsed", otel.&longUpDownCounterCallback)
|
21 |
| -otel.instrument(beanHadoopNameNodeFS, "hadoop.name_node.capacity.limit", "The total capacity allotted to data nodes reporting to the name node.", "by", |
| 21 | +otel.instrument(beanHadoopNameNodeFS, "hadoop.name_node.capacity.limit", "The total capacity allotted to data nodes reporting to the name node.", "By", |
22 | 22 | ["node_name" : { mbean -> mbean.getProperty("tag.Hostname") }],
|
23 | 23 | "CapacityTotal", otel.&longUpDownCounterCallback)
|
24 |
| -otel.instrument(beanHadoopNameNodeFS, "hadoop.name_node.block.count", "The total number of blocks on the name node.", "{blocks}", |
| 24 | +otel.instrument(beanHadoopNameNodeFS, "hadoop.name_node.block.count", "The total number of blocks on the name node.", "{block}", |
25 | 25 | ["node_name" : { mbean -> mbean.getProperty("tag.Hostname") }],
|
26 | 26 | "BlocksTotal", otel.&longUpDownCounterCallback)
|
27 |
| -otel.instrument(beanHadoopNameNodeFS, "hadoop.name_node.block.missing", "The number of blocks reported as missing to the name node.", "{blocks}", |
| 27 | +otel.instrument(beanHadoopNameNodeFS, "hadoop.name_node.block.missing", "The number of blocks reported as missing to the name node.", "{block}", |
28 | 28 | ["node_name" : { mbean -> mbean.getProperty("tag.Hostname") }],
|
29 | 29 | "MissingBlocks", otel.&longUpDownCounterCallback)
|
30 |
| -otel.instrument(beanHadoopNameNodeFS, "hadoop.name_node.block.corrupt", "The number of blocks reported as corrupt to the name node.", "{blocks}", |
| 30 | +otel.instrument(beanHadoopNameNodeFS, "hadoop.name_node.block.corrupt", "The number of blocks reported as corrupt to the name node.", "{block}", |
31 | 31 | ["node_name" : { mbean -> mbean.getProperty("tag.Hostname") }],
|
32 | 32 | "CorruptBlocks", otel.&longUpDownCounterCallback)
|
33 |
| -otel.instrument(beanHadoopNameNodeFS, "hadoop.name_node.volume.failed", "The number of failed volumes reported to the name node.", "{volumes}", |
| 33 | +otel.instrument(beanHadoopNameNodeFS, "hadoop.name_node.volume.failed", "The number of failed volumes reported to the name node.", "{volume}", |
34 | 34 | ["node_name" : { mbean -> mbean.getProperty("tag.Hostname") }],
|
35 | 35 | "VolumeFailuresTotal", otel.&longUpDownCounterCallback)
|
36 |
| -otel.instrument(beanHadoopNameNodeFS, "hadoop.name_node.file.count", "The total number of files being tracked by the name node.", "{files}", |
| 36 | +otel.instrument(beanHadoopNameNodeFS, "hadoop.name_node.file.count", "The total number of files being tracked by the name node.", "{file}", |
37 | 37 | ["node_name" : { mbean -> mbean.getProperty("tag.Hostname") }],
|
38 | 38 | "FilesTotal", otel.&longUpDownCounterCallback)
|
39 |
| -otel.instrument(beanHadoopNameNodeFS, "hadoop.name_node.file.load", "The current number of concurrent file accesses.", "{operations}", |
| 39 | +otel.instrument(beanHadoopNameNodeFS, "hadoop.name_node.file.load", "The current number of concurrent file accesses.", "{operation}", |
40 | 40 | ["node_name" : { mbean -> mbean.getProperty("tag.Hostname") }],
|
41 | 41 | "TotalLoad", otel.&longUpDownCounterCallback)
|
42 |
| -otel.instrument(beanHadoopNameNodeFS, "hadoop.name_node.data_node.count", "The number of data nodes reporting to the name node.", "{nodes}", |
| 42 | +otel.instrument(beanHadoopNameNodeFS, "hadoop.name_node.data_node.count", "The number of data nodes reporting to the name node.", "{node}", |
43 | 43 | ["node_name" : { mbean -> mbean.getProperty("tag.Hostname") }],
|
44 | 44 | ["NumLiveDataNodes":["state":{"live"}], "NumDeadDataNodes": ["state":{"dead"}]],
|
45 | 45 | otel.&longUpDownCounterCallback)
|
0 commit comments