How to load traces from a go cosole app use #1294
stalwartgiraffe
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a large console app written in Go. I would like to instrument the call tree with traces using the otel span. To validate the idea cloned this otel example
https://grafana.com/docs/opentelemetry/instrument/go/
https://github.com/open-telemetry/opentelemetry-go-contrib/tree/main/examples/dice/instrumented
and ran the cloned example go code.
The example makes a localhost webserver.
The trace data is spewed to stdout in the terminal.
I am not able to successfully input the trace data as a data source.
Then I instruments a grafana local instance with the json printed to std out, the json is not successful
In my panel i have
(yesoreyeram-infinity-datasource)
Type:json
Parser: JSONata
Source:Inline
Format: As Is
and here is the panal json from the grafana query inspector.
I think I need to either do something different with otel set up in the app or different Data Source options but I am new to Traces in Grafan and its not clear what to try next?
Beta Was this translation helpful? Give feedback.
All reactions