Skip to content

Commit

Permalink
[cherry-pick] Add default telemetry endpoint (#5889)
Browse files Browse the repository at this point in the history
  • Loading branch information
nginx-bot committed Jun 28, 2024
1 parent abd6637 commit ad879c0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion internal/k8s/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -354,8 +354,12 @@ func NewLoadBalancerController(input NewLoadBalancerControllerInput) *LoadBalanc

// NIC Telemetry Reporting
if input.EnableTelemetryReporting {
// Default endpoint
exporterCfg := telemetry.ExporterCfg{
Endpoint: input.TelemetryReportingEndpoint,
Endpoint: "oss.edge.df.f5.com:443",
}
if input.TelemetryReportingEndpoint != "" {
exporterCfg.Endpoint = input.TelemetryReportingEndpoint
}

exporter, err := telemetry.NewExporter(exporterCfg)
Expand Down

0 comments on commit ad879c0

Please sign in to comment.