Heitor Ganzeli
|
2ecd0b7f95
|
Add documentation example for receiver package (#5675) (#12922)
#### Description
This PR introduces a testable example to the package
[receiver](/receiver). 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

#### Documentation
this testable example follows
https://go.dev/blog/examples#larger-examples format and should be
automatically added to `receiver` package documentation
---------
Co-authored-by: Pablo Baeyens <pbaeyens31+github@gmail.com>
|
2025-04-30 10:17:35 +00:00 |