Commit Graph

1 Commits

Author SHA1 Message Date
Heitor Ganzeli d904716c77
Add documentation example for processor package (#5675) (#13070)
#### Description

This PR introduces a testable example to the package
[processor](/processor). it's a similar example to the documentation one
on
https://opentelemetry.io/docs/collector/building/receiver/#designing-and-validating-receiver-settings

#### Issue:
https://github.com/open-telemetry/opentelemetry-collector/issues/5675#issuecomment-2796741807

#### Testing

the testable example was executed successfully:


![image](https://github.com/user-attachments/assets/a57a2bc8-22f0-4063-a1b4-aac640423219)


#### Documentation

this testable example follows
https://go.dev/blog/examples#larger-examples format and should be
automatically added to `processor` package documentation
2025-06-04 15:38:51 +00:00