Skip to content

feat(attributes): Add gcp.function.context.* span attributes#371

Draft
chargome wants to merge 2 commits into
mainfrom
chargome/feat/add-gcp-function-span-attributes
Draft

feat(attributes): Add gcp.function.context.* span attributes#371
chargome wants to merge 2 commits into
mainfrom
chargome/feat/add-gcp-function-span-attributes

Conversation

@chargome
Copy link
Copy Markdown
Member

Summary

  • Add 9 GCP Cloud Function context attributes: type, source, id, specversion, time, eventId, timestamp, eventType, resource
  • Note: eventId, eventType, and timestamp use camelCase to match the GCP API field names
  • Needed by the JS SDK (JS-2221) for span streaming

Add GCP Cloud Function context attributes: type, source, id,
specversion, time, eventId, timestamp, eventType, and resource.
Needed by the JS SDK (JS-2221) for span streaming.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 12, 2026

Semver Impact of This PR

🟡 Minor (new features)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


New Features ✨

Attributes

  • Add gcp.function.context.* span attributes by chargome in #371
  • Add calculated performance scores by loewenheim in #355
  • Add rpc.response.status_code attribute by alexander-alderman-webb in #352
  • Add rpc.method attribute by alexander-alderman-webb in #351
  • Add app vitals start attributes by buenaflor in #353
  • Add process.runtime.engine.* attributes by chargome in #347

Bug Fixes 🐛

  • (attributes) Change several deprecation statuses to normalize to align with ingestion paths by constantinius in #350
  • (create) Replace angle brackets in file names by loewenheim in #356

Internal Changes 🔧

  • (gh) Remove myself from CODEOWNERS by lcian in #354
  • Bump vulnerable js packages by chargome in #359

🤖 This preview updates automatically when you update the PR.

@chargome chargome self-assigned this May 12, 2026
Rename gcp.function.context.eventId to event_id and eventType to
event_type to comply with the repo's snake_case naming policy.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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