Skip to content

chore: merge develop into main - #479

Merged
Sudesh0119 merged 6 commits into
mainfrom
develop
Dec 4, 2026
Merged

Sudesh0119 merged 6 commits into
mainfrom
develop

Conversation

@Sudesh0119

Copy link
Copy Markdown
Contributor

skip OTLP export if spotlight metrics is disabled

Sudesh0119 and others added 6 commits November 3, 2026 18:45
The IPC broker advertises the spotlight_telemetry port whenever the
Spotlight collector sidecar runs, even when OTel metrics are switched
off. Splunk Enterprise ships with [spotlight] enable_otlp_metrics =
false, so ObservabilityService exported to a port nothing listens on
and logged repeated StatusCode.UNAVAILABLE export failures.

Before building the OTLP exporter, ObservabilityService now:

- reads server.conf and skips OTLP unless
  [teleport_supervisor] enable_splunk_spotlight,
  [spotlight] enable_otlp_metrics and
  [spotlight] enable_otlp_metrics_export are all true (missing keys use
  the server.conf.spec defaults). This runs before the IPC broker is
  queried and is skipped when SPOTLIGHT_OTEL_RECEIVER_PORT is set.
- probes localhost:<port> with a 2 s TLS gRPC connect using the
  Spotlight certificate, and skips OTLP if the endpoint is not ready.

In both cases one INFO line is logged and the extra exporters keep
working.
…ble (#477)

The IPC broker advertises the spotlight_telemetry port whenever the
Spotlight collector sidecar runs, even when OTel metrics are switched
off. Splunk Enterprise ships with [spotlight] enable_otlp_metrics =
false, so ObservabilityService exported to a port nothing listens on and
logged repeated StatusCode.UNAVAILABLE export failures.

Before building the OTLP exporter, ObservabilityService now:

- reads server.conf and skips OTLP unless [teleport_supervisor]
enable_splunk_spotlight, [spotlight] enable_otlp_metrics and [spotlight]
enable_otlp_metrics_export are all true (missing keys use the
server.conf.spec defaults). This runs before the IPC broker is queried
and is skipped when SPOTLIGHT_OTEL_RECEIVER_PORT is set.
- probes localhost:<port> with a 2 s TLS gRPC connect using the
Spotlight certificate, and skips OTLP if the endpoint is not ready.

In both cases one INFO line is logged and the extra exporters keep
working.
## [8.2.2-beta.1](v8.2.1...v8.2.2-beta.1) (2026-12-03)

### Bug Fixes

* avoid blocking OTLP startup probe ([4b478cc](4b478cc))
* skip OTLP export when Spotlight metrics are disabled or unreachable ([cabb5c8](cabb5c8))
* skip OTLP export when Spotlight metrics are disabled or unreachable ([#477](#477)) ([19168a3](19168a3))
@Sudesh0119
Sudesh0119 requested a review from a team as a code owner December 3, 2026 17:02
@Sudesh0119
Sudesh0119 enabled auto-merge December 3, 2026 17:02
@Sudesh0119
Sudesh0119 merged commit 1dd62cc into main Dec 4, 2026
25 of 27 checks passed
@splunk-ta-helper

Copy link
Copy Markdown

🎉 This PR is included in version 8.2.2 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants