Skip to content

Commit

Permalink
Remove sub-exporter queue disabling
Browse files Browse the repository at this point in the history
As it may produce blocked exporter
  • Loading branch information
Fiery-Fenix committed Nov 4, 2024
1 parent 8560979 commit de6a9c6
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions exporter/loadbalancingexporter/factory.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,7 @@ func createDefaultConfig() component.Config {
func buildExporterConfig(cfg *Config, endpoint string) otlpexporter.Config {
oCfg := cfg.Protocol.OTLP
oCfg.Endpoint = endpoint
// If top level queue is enabled - per-endpoint queue must be disable
// This helps us to avoid unexpected issues with mixing 2 level of exporter queues
if cfg.QueueSettings.Enabled {
oCfg.QueueConfig.Enabled = false
}

return oCfg
}

Expand Down

0 comments on commit de6a9c6

Please sign in to comment.