feat: enhance observability with plugin (#3)#37
Merged
sjy3 merged 4 commits intovolcengine:mainfrom Feb 3, 2026
Merged
Conversation
* add span processor and meter implementation * add an example of observability * add unit tests for observability * update config according to python implementation * rename function and const variable names * add unit test files * add config.yaml in observability example * update metrics implementation like veadk-python * move internal functions to private * update metrics implementation: adding apmplus metrics * fix parse tool name * add configs for enable local providers * only enable metrics exporter for apmplus * update example config * fix missing attrs * fix gen_ai.client.token.usage * fix gen_ai.client.token.usage * fix gen_ai.client.token.usage * update to use plugin * update to polish logs * delete span processors * go mod tidy * add launcher example * remove duplicate spans * remove duplicate spans * merge with main * save work * add processor * resolve conflicts with main * extract span metadata in state * remove useless function and constants * clean map to avoid leak * remove complicated functions * change key from traceid to spanid * fix execute tool span missing * clean map to avoid resource leak * update metrics attributes according to python implementation * split long functions * polish logs * restore ../../model/openai.go
7ba6d3e to
2668daf
Compare
2668daf to
b40d4a5
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
增加add veadk observability plugin
用法:
在配置文件中添加observability配置
在代码中引入plugin: