File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
opentelemetry-sdk/src/resource Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ pub struct Resource {
5252}
5353
5454impl Resource {
55- /// Creates a [ResourceBuilder] Starting from [Resource::default()] that allows you to configure multiple aspects of the Resource.
55+ /// Creates a [ResourceBuilder] that allows you to configure multiple aspects of the Resource.
5656 ///
5757 /// This [ResourceBuilder] will always include the following [ResourceDetector]s:
5858 /// - [SdkProvidedResourceDetector]
@@ -68,7 +68,7 @@ impl Resource {
6868 }
6969 }
7070
71- /// Creates a [ResourceBuilder] starting from [Resource::empty()] that allows you to configure multiple aspects of the Resource.
71+ /// Creates a [ResourceBuilder] that allows you to configure multiple aspects of the Resource.
7272 ///
7373 /// This [ResourceBuilder] will not include any attributes or [ResourceDetector]s by default.
7474 pub fn builder_empty ( ) -> ResourceBuilder {
@@ -256,7 +256,7 @@ impl<'a> IntoIterator for &'a Resource {
256256/// ResourceDetector detects OpenTelemetry resource information
257257///
258258/// Implementations of this trait can be passed to
259- /// the [`Resource::from_detectors `] function to generate a Resource from the merged information.
259+ /// the [`ResourceBuilder::with_detectors `] function to generate a Resource from the merged information.
260260pub trait ResourceDetector {
261261 /// detect returns an initialized Resource based on gathered information.
262262 ///
You can’t perform that action at this time.
0 commit comments