@@ -493,6 +493,95 @@ spec:
493
493
type : string
494
494
type : object
495
495
type : array
496
+ metricRelabelings :
497
+ description : |-
498
+ `metricRelabelings` configures the relabeling rules to apply to the
499
+ samples before ingestion for NVIDIA DCGM Exporter.
500
+ items :
501
+ description : |-
502
+ RelabelConfig allows dynamic rewriting of the label set for targets, alerts,
503
+ scraped samples and remote write samples.
504
+
505
+ More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config
506
+ properties :
507
+ action :
508
+ default : replace
509
+ description : |-
510
+ Action to perform based on the regex matching.
511
+
512
+ `Uppercase` and `Lowercase` actions require Prometheus >= v2.36.0.
513
+ `DropEqual` and `KeepEqual` actions require Prometheus >= v2.41.0.
514
+
515
+ Default: "Replace"
516
+ enum :
517
+ - replace
518
+ - Replace
519
+ - keep
520
+ - Keep
521
+ - drop
522
+ - Drop
523
+ - hashmod
524
+ - HashMod
525
+ - labelmap
526
+ - LabelMap
527
+ - labeldrop
528
+ - LabelDrop
529
+ - labelkeep
530
+ - LabelKeep
531
+ - lowercase
532
+ - Lowercase
533
+ - uppercase
534
+ - Uppercase
535
+ - keepequal
536
+ - KeepEqual
537
+ - dropequal
538
+ - DropEqual
539
+ type : string
540
+ modulus :
541
+ description : |-
542
+ Modulus to take of the hash of the source label values.
543
+
544
+ Only applicable when the action is `HashMod`.
545
+ format : int64
546
+ type : integer
547
+ regex :
548
+ description : Regular expression against which the extracted
549
+ value is matched.
550
+ type : string
551
+ replacement :
552
+ description : |-
553
+ Replacement value against which a Replace action is performed if the
554
+ regular expression matches.
555
+
556
+ Regex capture groups are available.
557
+ type : string
558
+ separator :
559
+ description : Separator is the string between concatenated
560
+ SourceLabels.
561
+ type : string
562
+ sourceLabels :
563
+ description : |-
564
+ The source labels select values from existing labels. Their content is
565
+ concatenated using the configured Separator and matched against the
566
+ configured regular expression.
567
+ items :
568
+ description : |-
569
+ LabelName is a valid Prometheus label name which may only contain ASCII
570
+ letters, numbers, as well as underscores.
571
+ pattern : ^[a-zA-Z_][a-zA-Z0-9_]*$
572
+ type : string
573
+ type : array
574
+ targetLabel :
575
+ description : |-
576
+ Label to which the resulting string is written in a replacement.
577
+
578
+ It is mandatory for `Replace`, `HashMod`, `Lowercase`, `Uppercase`,
579
+ `KeepEqual` and `DropEqual` actions.
580
+
581
+ Regex capture groups are available.
582
+ type : string
583
+ type : object
584
+ type : array
496
585
type : object
497
586
version :
498
587
description : NVIDIA DCGM Exporter image tag
0 commit comments