Skip to content

Commit

Permalink
feat/re-allow multiple workers
Browse files Browse the repository at this point in the history
  • Loading branch information
bmiguel-teixeira committed Jan 17, 2025
1 parent eafeb0e commit d97806f
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion exporter/prometheusremotewriteexporter/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,4 +125,4 @@ func (cfg *Config) Validate() error {
}

return nil
}
}
2 changes: 1 addition & 1 deletion exporter/prometheusremotewriteexporter/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,4 +144,4 @@ func TestDisabledTargetInfo(t *testing.T) {

func toPtr[T any](val T) *T {
return &val
}
}
2 changes: 1 addition & 1 deletion exporter/prometheusremotewriteexporter/exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -413,4 +413,4 @@ func (prwe *prwExporter) turnOnWALIfEnabled(ctx context.Context) error {
cancel()
}()
return prwe.wal.run(cancelCtx)
}
}
2 changes: 1 addition & 1 deletion exporter/prometheusremotewriteexporter/factory.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,4 +120,4 @@ func createDefaultConfig() component.Config {
Enabled: false,
},
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@ prometheusremotewrite/disabled_queue:
endpoint: "localhost:8888"
remote_write_queue:
enabled: false
num_consumers: 10
num_consumers: 10

0 comments on commit d97806f

Please sign in to comment.