Skip to content

Commit

Permalink
Add default telemetry endpoint (#5885)
Browse files Browse the repository at this point in the history
  • Loading branch information
shaun-nx authored and AlexFenlon committed Jul 1, 2024
1 parent c0ccb03 commit baf0a81
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 baf0a81

Please sign in to comment.