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 3397dd2 commit cae4219Copy full SHA for cae4219
opentelemetry-sdk/src/resource/builder.rs
@@ -86,6 +86,7 @@ mod tests {
86
|| {
87
let resource = Resource::builder()
88
.with_detector(Box::new(EnvResourceDetector::new()))
89
+ .with_service_name("my_test_service_name")
90
.with_key_value(KeyValue::new("test1", "test_value"))
91
.with_key_values(vec![
92
KeyValue::new("test1", "test_value1"),
@@ -97,6 +98,7 @@ mod tests {
97
98
resource,
99
Resource::new(vec![
100
KeyValue::new("key", "value"),
101
+ KeyValue::new(SERVICE_NAME, "my_test_service_name"),
102
103
KeyValue::new("test2", "test_value2"),
104
KeyValue::new("k", "v"),
0 commit comments