Skip to content

Commit 67566f7

Browse files
shaun-nxweb-flow
authored andcommitted
Add default telemetry endpoint (#5885)
1 parent abd6637 commit 67566f7

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

internal/k8s/controller.go

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,8 +354,12 @@ func NewLoadBalancerController(input NewLoadBalancerControllerInput) *LoadBalanc
354354

355355
// NIC Telemetry Reporting
356356
if input.EnableTelemetryReporting {
357+
// Default endpoint
357358
exporterCfg := telemetry.ExporterCfg{
358-
Endpoint: input.TelemetryReportingEndpoint,
359+
Endpoint: "oss.edge.df.f5.com:443",
360+
}
361+
if input.TelemetryReportingEndpoint != "" {
362+
exporterCfg.Endpoint = input.TelemetryReportingEndpoint
359363
}
360364

361365
exporter, err := telemetry.NewExporter(exporterCfg)

0 commit comments

Comments
 (0)