Reputation: 91
I am working on a use case where I need to push the metric data from otel gateway(collector) to a custom backend like mongodb/postgresql.
Based on my research looks like there are no existing exporter and I need to build a custom OTEL exporter to support my use case.
I have already built a service that can insert data to the custom backend.
However I am not sure how to build the OTEL exporter and deploy or associate the custom exporter to OTEL.
Any guidance will be be very helpful.
Upvotes: 5
Views: 2891
Reputation: 14061
While we have docs about this on our website, here's a quick outline of the necessary steps:
Apart from the documentation on the website, we have the interfaces documented, but not a specific place that would give you all the knowledge to build components, like the available helpers or best practices. I recommend taking a component like the OTLP Receiver or OTLP Exporter as a reference on how to do things.
Upvotes: 9