Skip to content

feat(js): enable OTel logs feature (remove GENKIT_OTEL_ENABLE_LOGS flag) - #6069

Open
shrutip90 wants to merge 2 commits into
mainfrom
sp/logs-flag
Open

feat(js): enable OTel logs feature (remove GENKIT_OTEL_ENABLE_LOGS flag)#6069
shrutip90 wants to merge 2 commits into
mainfrom
sp/logs-flag

Conversation

@shrutip90

@shrutip90 shrutip90 commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

Remove the GENKIT_OTEL_ENABLE_LOGS feature flag. Also fixed a bug where we were unconditionally overwriting nodeOtelConfig.logRecordProcessor and losing any custom log record processors configured by the user in telemetryConfig.

Checklist (if applicable):

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request removes the environment variable check GENKIT_OTEL_ENABLE_LOGS to enable OpenTelemetry logs by default. A review comment points out that unconditionally overwriting nodeOtelConfig.logRecordProcessor will discard any user-configured custom log record processors, and suggests merging them using a composite processor wrapper instead.

Comment thread js/core/src/tracing/node-telemetry-provider.ts Outdated
@shrutip90
shrutip90 requested a review from pavelgj August 15, 2026 00:00
@pavelgj pavelgj changed the title feat(js): OTel logs feature release feat(js): enable OTel logs feature (remove GENKIT_OTEL_ENABLE_LOGS flag) Aug 17, 2026
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.

1 participant