Skip to content

fix: @W-21215399 - send only caller attributes in sendTelemetryEventWithSchema#472

Merged
smuduganti-sf merged 1 commit intomainfrom
W-21215399-fix-telemetry-with-schema
Feb 10, 2026
Merged

fix: @W-21215399 - send only caller attributes in sendTelemetryEventWithSchema#472
smuduganti-sf merged 1 commit intomainfrom
W-21215399-fix-telemetry-with-schema

Conversation

@smuduganti-sf
Copy link
Collaborator

What does this PR do?

Update the existing sendTelemetryEventWithSchema implementation so it sends only the caller-provided attributes. The reporter must not add eventName, common properties, or any other properties to the payload.

scope :
This method doesn’t appear to have consumers yet, so this is treated as additive.

The schema is the O11y encoding schema (e.g. from the o11y_schema package), not JSON Schema,
so this library does not derive or run validation here. Callers should validate attributes (e.g. with zod) before calling, using the same schema context they use when importing the schema.

What issues does this PR fix or reference?

@W-21215399@

@smuduganti-sf smuduganti-sf requested a review from a team as a code owner February 9, 2026 12:57
@smuduganti-sf smuduganti-sf requested a review from shetzel February 9, 2026 12:58
@smuduganti-sf smuduganti-sf merged commit 51b7330 into main Feb 10, 2026
17 checks passed
@smuduganti-sf smuduganti-sf deleted the W-21215399-fix-telemetry-with-schema branch February 10, 2026 08:06
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.

2 participants