We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 473528c commit 723feb9Copy full SHA for 723feb9
opentelemetry-sdk/src/resource/mod.rs
@@ -112,14 +112,6 @@ impl Resource {
112
}
113
114
115
- /// Create a new `Resource::default()` and merge with provided key value pairs.
116
- ///
117
- /// Values are de-duplicated by key, and the first key-value pair with a non-empty string value
118
- /// will be retained
119
- pub fn new_with_defaults<T: IntoIterator<Item = KeyValue>>(keys: T) -> Self {
120
- Resource::builder().with_attributes(keys).build()
121
- }
122
-
123
/// Create a new `Resource` from a key value pairs and [schema url].
124
///
125
/// Values are de-duplicated by key, and the first key-value pair with a non-empty string value
0 commit comments