Skip to content

google_cloud_shelf: deprecate cloudTraceContextHeader in favor of traceparentHeader #299

Open

Description

@kevmoo

In pkgs/google_cloud_shelf/lib/src/constants.dart, cloudTraceContextHeader is explicitly defined as 'traceparent' (W3C trace context header). However, the constant name cloudTraceContextHeader implies legacy X-Cloud-Trace-Context headers.

Since cloudTraceContextHeader is part of the public API exported by google_cloud_shelf.dart, we should:

  1. Introduce a new constant traceparentHeader (or w3cTraceparentHeader).
  2. Deprecate cloudTraceContextHeader in favor of the new constant.

Activity

  1. kevmoo commented on Jun 25, 2026

    @kevmoo
    ContributorAuthor

    Found during #298

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions