Skip to content

[general, attributes] Make the thread.id attribute a string #546

Open
@alevenberg

Description

Context: https://opentelemetry.io/docs/specs/semconv/general/attributes/#general-thread-attributes

In C++, there is no guaranteed integral conversion of std::this_thread::get_id() (https://github.com/googleapis/google-cloud-cpp/pull/13151/files#r1397504258)

So we are storing the attribute as a string in our implementation. Can we update the spec to make the attribute value a string or an int?

Metadata

Assignees

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