Comments (6)
I think this may be resolved following a number of fixes including no longer using the keyval launcher, updating offsets, streamlining probes, updating eBPF maps, etc.
@rogercoll Please can you try again and report back?
from opentelemetry-go-instrumentation.
Latest main version work's fine. Thank you!
from opentelemetry-go-instrumentation.
Using the http server example shown in #17, the issue is similar, no trace or span id is reported in the traces.
from opentelemetry-go-instrumentation.
@rogercoll I tried to reproduce (unfortunately on different ubuntu and Go version) this issue with example from #17 and would like to clarify, when you say "no trace or span id is reported in the traces" you mean collector
side or otel-go-instrumentation
log as above (the thing is I'm not getting this kind of message from otel-go-instrumentation
process).
On collector side I see some ids
Span #0
Trace ID : c14459cc25a670110260e3c052e2e6e9
Parent ID :
ID : 34715626971844bf
Name : /books/title/page/page
Kind : Server
Start time : 2023-04-03 16:35:51.589536338 +0000 UTC
End time : 2023-04-03 16:35:51.589596691 +0000 UTC
Status code : Unset
Status message :
Attributes:
-> http.method: Str(GET)
-> http.target: Str(/books/title/page/page)
{"kind": "exporter", "data_type": "traces", "na
Collector instrumentation on the other hand (original case) triggers another error {"level":"error","ts":1680538101.5058162,"caller":"cli/main.go:76","msg":"error while analyzing target process","error":"could not find function offsets for instrumenter","stacktrace":"main.main\n\t/home/vagrant/opentelemetry-go-instrumentation/cli/main.go:76\nruntime.main\n\t/snap/go/10029/src/runtime/proc.go:250"}
which might be related to environment differences.
from opentelemetry-go-instrumentation.
@rogercoll are you setting the OTEL_PROPAGATORS
environment variable? I hit the same issue until I set that eg https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/46/files#diff-d809bd2e3528bad1b6ef0815ea0ee2d5ed9de5df6ed0acae88823157825a026aR53-R54
@pdelewski your error looks like the offsets may be missing for your Go version, have you tried running make offsets
and re-building the agent? I updated the latest offsets in #46 as well so that should be merged soon
from opentelemetry-go-instrumentation.
@damemi I looked into offsets and it seems its there, however let me double check that
from opentelemetry-go-instrumentation.
Related Issues (20)
- Remove support for Go versions below 1.17 HOT 3
- Reduce pointers usage in TargetDetails HOT 8
- Refactor `getGoDetails()` to use Go `buildinfo` package
- Warning: cast to smaller integer type HOT 1
- autoinstrumentation-go crashes with "offset not found: net/http.response:status (1.22.0)" error HOT 4
- Add log verbosity configuration and move the log in controller.go to debug level HOT 7
- License Scan/Remediation Questions HOT 1
- Cross processes context propagation not working in the getting started doc
- Define beta release goals HOT 3
- Ctrl-C signal not handled while searching for the target PID
- auto instrument failed: offset not found: net/http.response:status HOT 13
- Separate e2e fixture generation and validation
- Audit and update `database/sql` instrumentation to comply with SQL semantic conventions HOT 1
- Fix offset generation cache HOT 2
- Add feature gate for unstable/experimental libraries HOT 1
- Remove either `helm repo add` or `git clone` in fixture command
- How to set the ratio of the sampler
- bpf error log:failed to write to userspace
- Add an opt-in environment variable for experimental instrumentation HOT 22
- Correctly set `IsRecording` from default OTel default global impl
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opentelemetry-go-instrumentation.