File tree 1 file changed +4
-4
lines changed
cmd/otel-allocator/config
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -53,10 +53,10 @@ type Config struct {
53
53
AllocationStrategy string `yaml:"allocation_strategy,omitempty"`
54
54
FilterStrategy string `yaml:"filter_strategy,omitempty"`
55
55
PrometheusCR PrometheusCRConfig `yaml:"prometheus_cr,omitempty"`
56
- PodMonitorSelector map [ string ] string `yaml:"pod_monitor_selector,omitempty"`
57
- ServiceMonitorSelector map [ string ] string `yaml:"service_monitor_selector,omitempty"`
58
- ServiceMonitorNamespaceSelector map [ string ] string `yaml:"service_monitor_namespace_selector,omitempty"`
59
- PodMonitorNamespaceSelector map [ string ] string `yaml:"pod_monitor_namespace_selector,omitempty"`
56
+ PodMonitorSelector * metav1. LabelSelector `yaml:"pod_monitor_selector,omitempty"`
57
+ ServiceMonitorSelector * metav1. LabelSelector `yaml:"service_monitor_selector,omitempty"`
58
+ ServiceMonitorNamespaceSelector * metav1. LabelSelector `yaml:"service_monitor_namespace_selector,omitempty"`
59
+ PodMonitorNamespaceSelector * metav1. LabelSelector `yaml:"pod_monitor_namespace_selector,omitempty"`
60
60
}
61
61
62
62
type PrometheusCRConfig struct {
You can’t perform that action at this time.
0 commit comments