Skip to content

Change instrument type refs from observable to asynchronous#446

Closed
jack-berg wants to merge 2 commits intoopen-telemetry:mainfrom
jack-berg:observable-to-asynchronous
Closed

Change instrument type refs from observable to asynchronous#446
jack-berg wants to merge 2 commits intoopen-telemetry:mainfrom
jack-berg:observable-to-asynchronous

Conversation

@jack-berg
Copy link
Copy Markdown
Member

The spec uses both "observable" and "asynchronous" to describe metric instruments which are invoked by callback.

I think I carried "observable" over from the java implementation. We can keep it, but if we prefer better alignment with the spec now is the time to change it.

@jack-berg jack-berg requested a review from a team as a code owner December 2, 2025 22:04
Copy link
Copy Markdown
Contributor

@codeboten codeboten left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

other implementations (go, python) use observable

@jack-berg
Copy link
Copy Markdown
Member Author

I am fine with keeping it as observable. It would be a breaking change which I'd probably characterize as not low impact, so maybe the bar needs to be higher to justify.

@codeboten
Copy link
Copy Markdown
Contributor

Maybe this is a consistency we address once implementations have renamed their apis from observable to asynchronous 🤷🏻

@jack-berg
Copy link
Copy Markdown
Member Author

Closing. Since multiple language implementations and the spec use "observable" at least some of the time, its fair to say that "observable" is an alias for "asynchronous". Changing to "asynchronous" isn't worth the churn.

@jack-berg jack-berg closed this Dec 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants