Skip to content

Commit 2df26ba

Browse files
authored
Fix broken pdata link on building receiver doc (open-telemetry#8346)
Signed-off-by: Tiffany Hrabusa <[email protected]>
1 parent aa999ba commit 2df26ba

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

content/en/docs/collector/building/receiver.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Building a receiver
33
weight: 20
44
aliases: [/docs/collector/trace-receiver/]
55
# prettier-ignore
6-
cSpell:ignore: backendsystem crand debugexporter mapstructure pcommon pdata protogen ptrace rcvr struct structs tailtracer telemetrygen uber
6+
cSpell:ignore: backendsystem crand debugexporter mapstructure pcommon pdata ptrace rcvr resourcespans struct structs tailtracer telemetrygen uber
77
---
88

99
<!-- markdownlint-disable heading-increment no-duplicate-heading -->
@@ -1383,7 +1383,8 @@ creating a trace.
13831383
You will start with a type called `ptrace.ResourceSpans` which represents the
13841384
resource and all the operations that it either originated or received while
13851385
participating in a trace. You can find its definition within the
1386-
[/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>).
1386+
[/pdata/ptrace/generated_resourcespans.go](https://github.com/open-telemetry/opentelemetry-collector/blob/v0.139.0/pdata/ptrace/generated_resourcespans.go)
1387+
file.
13871388

13881389
`ptrace.Traces` has a method named `ResourceSpans()` which returns an instance
13891390
of a helper type called `ptrace.ResourceSpansSlice`. The

static/refcache.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8279,6 +8279,10 @@
82798279
"StatusCode": 206,
82808280
"LastSeen": "2025-11-03T14:14:31.968132319Z"
82818281
},
8282+
"https://github.com/open-telemetry/opentelemetry-collector/blob/v0.139.0/pdata/ptrace/generated_resourcespans.go": {
8283+
"StatusCode": 206,
8284+
"LastSeen": "2025-11-06T11:41:43.624131-08:00"
8285+
},
82828286
"https://github.com/open-telemetry/opentelemetry-collector/issues/10469": {
82838287
"StatusCode": 206,
82848288
"LastSeen": "2025-11-02T09:43:53.637017758Z"

0 commit comments

Comments
 (0)