Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { //> @3@4@5@6 //> //> If set counterMetric with this name would be sent on metric_subsystem_name.mask_plugin MetricSubsystemName *string `json:"metric_subsystem_name" required:"false"` //* //> @3@4@5@6 //> //> List of masks. Masks []Mask `json:"masks"` //* }
! config-params ^ config-params
type Mask ¶
type Mask struct { //> @3@4@5@6 //> //> Regular expression for masking Re string `json:"re" default:"" required:"true"` //* Re_ *regexp.Regexp //> @3@4@5@6 //> //> Numbers of masking groups in expression, zero for mask all expression Groups []int `json:"groups" required:"true"` //* //> @3@4@5@6 //> //> MaxCount limits the number of masked symbols in the masked output, if zero, no limit is set MaxCount int `json:"max_count"` //* //> @3@4@5@6 //> //> ReplaceWord, if set, is used instead of asterisks for masking patterns that are of the same length or longer. ReplaceWord string `json:"replace_word"` //* }
Click to show internal directories.
Click to hide internal directories.