You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: init-tracing-opentelemetry/README.md
+15Lines changed: 15 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -132,6 +132,21 @@ spec:
132
132
# fieldPath: status.hostIP
133
133
```
134
134
135
+
## Troubleshot why no trace?
136
+
137
+
- check you only have a single version of opentelemtry (could be part of your CI/build), use `cargo-deny` or `cargo tree`
138
+
139
+
```sh
140
+
# Check only one version of opentelemetry_api should be used
141
+
# else issue with setup of global (static variable)
142
+
# check_single_version_opentelemtry:
143
+
cargo tree -i opentelemetry_api
144
+
```
145
+
146
+
- check the code of your exporter and the integration with `tracing` (as subscriber's layer)
147
+
- check the environment variables of opentelemetry `OTEL_EXPORTER...` and `OTEL_TRACES_SAMPLER` (values are logged on target `otel::setup` )
148
+
- check that log target `otel::tracing` enable log level `trace` (or `info` if you use `tracing_level_info` feature) to generate span to send to opentelemetry collector.
0 commit comments