Skip to content

Commit

Permalink
Fix endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
liustanley committed Aug 9, 2024
1 parent 711f919 commit 6f5747e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions e2e-tests/tests/otel_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,9 +155,7 @@ func (s *otelSuite) createTelemetrygenJob(ctx context.Context, telemetry string,
var ttlSecondsAfterFinished int32 = 0 //nolint:revive // We want to see this is explicitly set to 0
var backOffLimit int32 = 4

s.T().Log("OTelCollectorOutput.labelselectors", s.Env().OTelCollector.OTelCollectorOutput.LabelSelectors)
s.T().Log("labelselectors", s.Env().OTelCollector.LabelSelectors)
otlpEndpoint := fmt.Sprintf("%v:4317", s.Env().OTelCollector.LabelSelectors["app"])
otlpEndpoint := fmt.Sprintf("%v:4317", s.Env().OTelCollector.LabelSelectors["app.kubernetes.io/name"])
s.T().Log("otlpEndpoint", otlpEndpoint)
jobSpec := &batchv1.Job{
ObjectMeta: metav1.ObjectMeta{
Expand Down

0 comments on commit 6f5747e

Please sign in to comment.