open-telemetry / open-telemetry/opentelemetry-cpp

Types of CreateUInt64Counter and CreateInt64ObservableCounter don't match?

Open
#3,161 1 comment 0 reactions 1 assignee View on GitHub

@lalitb is already working on this.

Since Nov 25, 2024.

bug do-not-stale triage/accepted
Dominant language
C++
Stars
1.4k
Forks
632
Avg merge
1d 13h
Merged PRs (30d)
75

Description

Describe your environment
Latest version of SDK and documentation

Steps to reproduce
Look at documentation here -https://opentelemetry-cpp.readthedocs.io/en/latest/otel_docs/classopentelemetry_1_1metrics_1_1Meter.html#exhale-class-classopentelemetry-1-1metrics-1-1meter

What is the expected behavior?
I would expect CreateUInt64Counter and CreateUInt64ObservableCounter or CreateInt64Counter and CreateInt64ObservableCounter or

What is the actual behavior?
CreateUInt64Counter and CreateInt64ObservableCounter

Additional context
Why do the types differ between the two calls? The UpDown counters match on the 2 different types.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.