Replies: 1 comment 2 replies
-
Thanks for the interest in the project. The opentelemetry-go API and SDKs are platforms designed to generate and then transmit telemetry data. If you are looking to generate telemetry data in your own platform outside of opentelemetry-go you will need to handle the transmission of that data in your platform. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello Everyone!
I have a specific setup, which includes a main server and several agent services located in various datacenters. The main server is responsible for creating spans and dispatching some requests to these agents. It sends the trace-id in the headers to these agents, and in turn, the agents record these spans and send them back as data. For me, connecting agents directly to the telemetry server is not possible.
Eventually, I end up with span data at the server, but I'm uncertain about the options available to construct a span from this data manually. The SpanProcessor interface accepts a trace.ReadOnlySpan, but implementation is not feasible due to its private method. I can construct tracepb.ResourceSpans, but there are no interfaces that accepts it.
I'm seeking solutions to this problem. Are there alternative ways to create spans from raw data? Perhaps there might be some extras like custom builders or parsers available for different formats? In particular, I'm interested in building spans from the Zipkin JSON format.
Any guidance or suggestions would be highly appreciated. Thank you!
Beta Was this translation helpful? Give feedback.
All reactions