You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
param vers %}}/pdata/internal/data/protogen/trace/v1/trace.pb.go).
1396
+
[/pdata/internal/data/protogen/trace/v1/trace.pb.go](<https://github.com/open-telemetry/opentelemetry-collector/blob/v{{% param vers %}}/pdata/internal/data/protogen/trace/v1/trace.pb.go>).
1398
1397
1399
1398
`ptrace.Traces`has a method named `ResourceSpans()` which returns an instance
1400
1399
of a helper type called `ptrace.ResourceSpansSlice`. The
@@ -1454,8 +1453,8 @@ pair format represented by the `pcommon.Map` type.
1454
1453
1455
1454
You can check the definition of the `pcommon.Map` type and the related helper
1456
1455
functions to create attribute values using the supported formats in the
param vers %}}/semconv/v1.9.0/generated_resource.go) file within the Collector's
1522
-
GitHub project.
1519
+
[/semconv/v1.9.0/generated_resource.go](<https://github.com/open-telemetry/opentelemetry-collector/blob/v{{% param vers %}}/semconv/v1.9.0/generated_resource.go>)
1520
+
file within the Collector's GitHub project.
1523
1521
1524
1522
Let's create a function to read the field values from an `BackendSystem`
1525
1523
instance and write them as attributes into a `pcommon.Resource` instance. Open
0 commit comments