Skip to content

logging: incorrect parsing of Trace Context header without sampling indicator #1590

@broady

Description

@broady

Sometimes the header doesn't include the sampling information.

e.g.:

X-Cloud-Trace-Context: 6518720b40e1efacf2299758d229210a/14866474463603563926

Current assumption:

var reCloudTraceContext = regexp.MustCompile(`([a-f\d]+)/([a-f\d]+);o=(\d)`)

Metadata

Metadata

Assignees

Labels

api: loggingIssues related to the Cloud Logging API.status: investigatingThe issue is under investigation, which is determined to be non-trivial.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions