-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
zipkin json v2 endpoint #125
Comments
Thanks for your interesting suggestion! Support for multiple formats, including zipkin, makes otel-tui more convenient for developers using distributed tracing. |
IMO, it's enough to add zipkinreceiver to yaml configurations in rootCmd := &cobra.Command{
Use: params.BuildInfo.Command,
Version: params.BuildInfo.Version,
SilenceUsage: true,
RunE: func(cmd *cobra.Command, args []string) error {
configContents := `yaml:
receivers:
+ zipkin:
otlp:
protocols:
http:
endpoint: ` + hostFlag + `:` + strconv.Itoa(httpPortFlag) + `
grpc:
endpoint: ` + hostFlag + `:` + strconv.Itoa(grpcPortFlag) + `
processors:
exporters:
tui:
service:
pipelines:
traces:
- receivers: [otlp]
+ receivers: [otlp, zipkin]
processors: []
exporters: [tui]
logs:
receivers: [otlp]
processors: []
exporters: [tui]
metrics:
receivers: [otlp]
processors: []
exporters: [tui]
` |
@codefromthecrypt, I've created a PR to support zipkin: #127 |
From v0.3.0, the zipkin receiver (on the port |
looks beautiful. thanks @ymtdzzz! |
In my free time, I still work on zipkin, and we have a ton of examples. While I like our server, for the type of work I do I prefer a text terminal. If otel-tui accepted the POST endpoint of zipkin spans (port 9411), I could look at the data pretty easily. Also people who haven't migrated to OTLP could use it, too.
Almost all users only use v2 json endpoint, so if you are interested you don't need the same level of sophistication as the collector
https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/23de1761434a8d069362cd233cbbbc77725def19/receiver/zipkinreceiver
https://github.com/openzipkin/brave-example
https://github.com/openzipkin/zipkin-api/blob/master/zipkin2-api.yaml#L60
The text was updated successfully, but these errors were encountered: