-
Notifications
You must be signed in to change notification settings - Fork 7
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
feat: add manual instrumentation host functions to Go SDK #152
Conversation
Awesome, thank you @mhmd-azeez! Will take a look asap |
|
|
As we discussed in meeting. let's print out metrics and logs for the time being and note that they aren't sent to sink yet. we can circle back around on it. We may want to decide and build out some of this stuff before wasm i/o |
I have stubbed out the implementation for metrics and logs for now:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thank you :)
After working on extism/go-sdk#47, I realized that the Go SDK is missing these host functions:
span_enter
✅span_exit
✅metric
: stubbed outlog
: stubbed outspan_tags
(only exists in the Rust API)The Rust SDK seems to be more complete, so I am basing my implementation on it