Skip to content

Commit

Permalink
change default timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
yotamloe committed Oct 10, 2024
1 parent 844d881 commit 08e9a77
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions handler/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ func createPrometheusRemoteWriteExporter(log *zap.Logger, LogzioToken string) (e
ExternalLabels: map[string]string{"p8s_logzio_name": "otlp-1"},
ClientConfig: confighttp.ClientConfig{
Endpoint: getListenerUrl(*log),
Timeout: 5 * time.Second,
Headers: map[string]configopaque.String{"Authorization": configopaque.String(fmt.Sprintf("Bearer %s", LogzioToken))},
},
ResourceToTelemetrySettings: resourcetotelemetry.Settings{
Expand Down

0 comments on commit 08e9a77

Please sign in to comment.