Skip to content

Commit

Permalink
fixup! add persistent queues
Browse files Browse the repository at this point in the history
Signed-off-by: Szilard Parrag <[email protected]>
  • Loading branch information
OverOrion committed Feb 2, 2024
1 parent c3a9184 commit 0064d22
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ metadata:
name: example-collector
spec:
controlNamespace: collector
atomicPersist: false
fsync: false
tenantSelector:
matchLabels:
collectorLabel: example-collector
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,14 @@ exporters:
verbosity: detailed
otlp/collector_otlp-test-output:
endpoint: receiver-collector.example-tenant-ns.svc.cluster.local:4317
sending_queue: "file_storage/exporters"
sending_queue:
storage: "file_storage/exporters"
tls:
insecure: true
otlp/collector_otlp-test-output-2:
endpoint: receiver-collector.example-tenant-ns.svc.cluster.local:4317
sending_queue: "file_storage/exporters"
sending_queue:
storage: "file_storage/exporters"
tls:
insecure: true
processors:
Expand Down
4 changes: 3 additions & 1 deletion internal/controller/telemetry/otel_conf_gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,9 @@ func (cfgInput *OtelColConfigInput) generateOTLPExporters() map[string]any {
"tls": map[string]any{
"insecure": output.Spec.OTLP.TLSSetting.Insecure,
},
"sending_queue": ExportersFileStorageName,
"sending_queue": map[string]any{
"storage": ExportersFileStorageName,
},
}
}

Expand Down

0 comments on commit 0064d22

Please sign in to comment.