Skip to content

[Metrics SDK] Switch to explicit 64 bit integers #1639

@sam-leitch-oxb

Description

@sam-leitch-oxb

All "Long" instruments in the API accept long as an input value. long does not have a well defined bit depth and can represent either 64 bit or 32 bit integers depending on the compiler implementation (and configuration).

"Long" instruments should be changed to accept int64_t integer values, which are unambiguously 64 bit depth as requested by the API specification: https://opentelemetry.io/docs/reference/specification/common/#attribute

Metadata

Metadata

Assignees

Labels

priority:p1Issues that are blocking

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions