Skip to content

feat: telemetry optimizations and header-first auth priority#4

Merged
i-naman merged 1 commit into
mainfrom
feat/telemetry-optimizations
May 26, 2026
Merged

feat: telemetry optimizations and header-first auth priority#4
i-naman merged 1 commit into
mainfrom
feat/telemetry-optimizations

Conversation

@i-naman

@i-naman i-naman commented May 26, 2026

Copy link
Copy Markdown
Member

Pushes local commit with telemetry optimizations, including dynamic batch queue sizing, OS-level tracing tags, and fixes for injectAuth priority.

…oken auth

- Refactored OTLP injectAuth pipeline to evaluate authentication immutably, prioritizing explicitly provided Bearer tokens in the Headers map over Basic Auth fallback credentials.
- Optimized OpenTelemetry Batchers: Replaced hardcoded bottlenecked queue limits with a robust minimum queue size of 2048 (or 4x batchSize).
- Expanded Tracing Context: Injected system metrics (WithHost, WithOS, WithProcess) and WithTelemetrySDK into trace and log providers.
- Enhanced TestInjectAuth and TestParseSampler to reach 100% boundary testing.
- Scrubbed internal project terminology from configurations, tailoring ion specifically for public open-source usage.
@i-naman i-naman merged commit e40c8ab into main May 26, 2026
9 checks passed
@i-naman i-naman deleted the feat/telemetry-optimizations branch May 26, 2026 10:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant