Build your own collector¶
To build your own OpenTelemetry Collector that includes Neblic's Control Plane
server, you need to follow this guide to install the required tool and prepare a configuration file that includes all your other required components. Then, you need to include the otelcolext
extension included in Neblic's platform source code:
extensions:
- import: github.com/neblic/platform/controlplane/server/otelcolext
gomod: github.com/neblic/platform vX.X.X # Set the proper version
# Optional: To be able to support `Sampler` `Data Plane` Bearer authentication
- import: github.com/neblic/platform/controlplane/server/otelcolext/bearerauthextension
gomod: github.com/neblic/platform vX.X.X # Set the proper version
You can use as a reference the configuration file used to build the collector that Neblic distributes.
Once built, you can configure it as described here