Remote Write Config and Filter operator
[demo.git] / vnfs / DAaaS / microservices / remote-config-operator / pkg / apis / onap / v1alpha1 / remotefilteraction_types.go
index 18b3dc6..4c09698 100644 (file)
@@ -7,8 +7,10 @@ import (
 // RemoteFilterActionSpec defines the desired state of RemoteFilterAction
 // +k8s:openapi-gen=true
 type RemoteFilterActionSpec struct {
-       Action       string   `json:"action,omitempty"`
-       Regex        string   `json:"regex,omitempty"`
+       Action string `json:"action,omitempty"`
+       Regex  string `json:"regex,omitempty"`
+       // SourceLabels are the labels of the each metric
+       // +listType=set
        SourceLabels []string `json:"sourceLabels,omitempty"`
        TargetLabel  string   `json:"targetLabel,omitempty"`
        Replacement  string   `json:"replacement,omitempty"`