Skip to content

Commit e9cf012

Browse files
test: Update metrics configuration in smoke test
1 parent d150dd6 commit e9cf012

File tree

1 file changed

+1
-53
lines changed

1 file changed

+1
-53
lines changed

tests/templates/kuttl/smoke/30-install-hdfs.yaml.j2

Lines changed: 1 addition & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -275,17 +275,7 @@ data:
275275
port: $3
276276
kind: 'DataNodeActivity'
277277
type: GAUGE
278-
# Total raw capacity in bytes, e.g. Hadoop:name=NameNodeInfo,attribute=Total
279-
- pattern: 'Hadoop<service=(.*), name=(.*)><>(total): (\d+)'
280-
attrNameSnakeCase: true
281-
name: hadoop_$1_$3
282-
value: $4
283-
labels:
284-
service: HDFS
285-
role: $1
286-
kind: $2
287-
type: COUNTER
288-
# Generic counter, e.g. Hadoop:name=FSNamesystem,attribute=FilesTotal
278+
# Generic counter, e.g. Hadoop:name=FSDatasetState,attribute=EstimatedCapacityLostTotal
289279
- pattern: 'Hadoop<service=(.*), name=(.*)><>(.*_total): (\d+)'
290280
attrNameSnakeCase: true
291281
name: hadoop_$1_$3
@@ -295,17 +285,6 @@ data:
295285
role: $1
296286
kind: $2
297287
type: COUNTER
298-
# Metrics suffixed with _created, e.g. Hadoop:name=NameNodeActivity,attribute=FilesCreated
299-
# The suffix _created is reserved for timestamps, therefore an underscore is appended.
300-
- pattern: 'Hadoop<service=(.*), name=(.*)><>(.*_created): (.*)'
301-
attrNameSnakeCase: true
302-
name: hadoop_$1_$3_
303-
value: $4
304-
labels:
305-
service: HDFS
306-
role: $1
307-
kind: $2
308-
type: GAUGE
309288
# Metrics suffixed with _info, e.g. Hadoop:name=JvmMetrics,attribute=LogInfo
310289
# The suffix _info is reserved for static information, therefore an underscore is appended.
311290
- pattern: 'Hadoop<service=(.*), name=(.*)><>(.*_info): (.*)'
@@ -353,37 +332,6 @@ data:
353332
kind: 'MetricsSystem'
354333
sub: $2
355334
type: GAUGE
356-
# Total raw capacity in bytes, e.g. Hadoop:name=NameNodeInfo,attribute=Total
357-
- pattern: 'Hadoop<service=(.*), name=(.*)><>(total): (\d+)'
358-
attrNameSnakeCase: true
359-
name: hadoop_$1_$3
360-
value: $4
361-
labels:
362-
service: HDFS
363-
role: $1
364-
kind: $2
365-
type: COUNTER
366-
# Generic counter, e.g. Hadoop:name=FSNamesystem,attribute=FilesTotal
367-
- pattern: 'Hadoop<service=(.*), name=(.*)><>(.*_total): (\d+)'
368-
attrNameSnakeCase: true
369-
name: hadoop_$1_$3
370-
value: $4
371-
labels:
372-
service: HDFS
373-
role: $1
374-
kind: $2
375-
type: COUNTER
376-
# Metrics suffixed with _created, e.g. Hadoop:name=NameNodeActivity,attribute=FilesCreated
377-
# The suffix _created is reserved for timestamps, therefore an underscore is appended.
378-
- pattern: 'Hadoop<service=(.*), name=(.*)><>(.*_created): (.*)'
379-
attrNameSnakeCase: true
380-
name: hadoop_$1_$3_
381-
value: $4
382-
labels:
383-
service: HDFS
384-
role: $1
385-
kind: $2
386-
type: GAUGE
387335
# Metrics suffixed with _info, e.g. Hadoop:name=JvmMetrics,attribute=LogInfo
388336
# The suffix _info is reserved for static information, therefore an underscore is appended.
389337
- pattern: 'Hadoop<service=(.*), name=(.*)><>(.*_info): (.*)'

0 commit comments

Comments
 (0)