Remove unnecessary public APIs for creating KeyValue structs #2090
Labels
A-metrics
Area: issues related to metrics
A-trace
Area: issues related to tracing
help wanted
Good for taking. Extra help will be provided by maintainers/approvers
Milestone
We have an additional set of public APIs to create
KeyValue
struct apart fromKeyValue::new()
. These APIs don't offer anything additional in terms of feature or performance. They simply offer an alternative way to createKeyValue
struct by creating the Key first and then the Value instead of having them created together.I think we could remove these APIs just to keep our public API surface smaller. I'm opening this issue to check if anyone has any opinions on this.
opentelemetry-rust/opentelemetry/src/common.rs
Lines 36 to 73 in 66f29b8
The text was updated successfully, but these errors were encountered: