mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2025-02-28 12:07:07 +01:00
Rename 'process_message' to 'process_messages' in metricRouter config
This makes the behavior more consistent with the other modules, which have their MessageProcessor named 'process_messages'. This most likely was just a typo.
This commit is contained in:
parent
7b343d0bab
commit
6901b06e44
@ -40,7 +40,7 @@ type metricRouterConfig struct {
|
|||||||
NormalizeUnits bool `json:"normalize_units"` // Check unit meta flag and normalize it using cc-units
|
NormalizeUnits bool `json:"normalize_units"` // Check unit meta flag and normalize it using cc-units
|
||||||
ChangeUnitPrefix map[string]string `json:"change_unit_prefix"` // Add prefix that should be applied to the metrics
|
ChangeUnitPrefix map[string]string `json:"change_unit_prefix"` // Add prefix that should be applied to the metrics
|
||||||
// dropMetrics map[string]bool // Internal map for O(1) lookup
|
// dropMetrics map[string]bool // Internal map for O(1) lookup
|
||||||
MessageProcessor json.RawMessage `json:"process_message,omitempty"`
|
MessageProcessor json.RawMessage `json:"process_messages,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// Metric router data structure
|
// Metric router data structure
|
||||||
|
Loading…
Reference in New Issue
Block a user