github.com/caos/orbos@v1.5.14-0.20221103111702-e6cd0cea7ad4/docs/boom/yml/latest/ToolsetSpec/MetricsPersisting/RemoteWrite/RelabelConfig/RelabelConfig.md (about)

     1  # RelabelConfig 
     2   
     3  
     4  ## Structure 
     5   
     6  
     7  | Attribute    | Description                                                                                                                                                                                                        | Default | Collection | Map  |
     8  | ------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------- | ---------- | ---  |
     9  | sourceLabels | The source labels select values from existing labels. Their content is concatenated using the configured separator and matched against the configured regular expression for the replace, keep, and drop actions.  |         | X          |      |
    10  | separator    | Separator placed between concatenated source label values. default is ';'.                                                                                                                                         |         |            |      |
    11  | targetLabel  | Label to which the resulting value is written in a replace action. It is mandatory for replace actions. Regex capture groups are available.                                                                        |         |            |      |
    12  | regex        | Regular expression against which the extracted value is matched. Default is '(.*)'                                                                                                                                 |         |            |      |
    13  | modulus      | Modulus to take of the hash of the source label values.                                                                                                                                                            |         |            |      |
    14  | replacement  | Replacement value against which a regex replace is performed if the regular expression matches. Regex capture groups are available. Default is '$1'                                                                |         |            |      |
    15  | action       | Action to perform based on regex matching. Default is 'replace'                                                                                                                                                    |         |            |      |