Skip to content

fix: use OTLP env vars instead of hardcoded telemetry URLs#641

Open
Olexandr88 wants to merge 2 commits intoPsycheFoundation:mainfrom
Olexandr88:patch-1
Open

fix: use OTLP env vars instead of hardcoded telemetry URLs#641
Olexandr88 wants to merge 2 commits intoPsycheFoundation:mainfrom
Olexandr88:patch-1

Conversation

@Olexandr88
Copy link
Copy Markdown

@Olexandr88 Olexandr88 commented Apr 14, 2026

Fix typo in flag names (oltp → otlp) and replace hardcoded localhost telemetry URLs with OTLP_METRICS_URL and OTLP_LOGS_URL env vars.

Added a guard that explicitly exits with an error if OTLP_METRICS_URL is set but OTLP_LOGS_URL is missing, preventing silent failures caused by passing an empty string to --otlp-logs-url.

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