Skip to content
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 toolkit logging impl #202

Merged
merged 11 commits into from
Sep 10, 2024
Merged

feat: add toolkit logging impl #202

merged 11 commits into from
Sep 10, 2024

Conversation

ShyunnY
Copy link
Contributor

@ShyunnY ShyunnY commented Sep 8, 2024

  1. Implemented the toolkit/logging feat, supports manually calling debug/info/warn/error to pass logs msg to the backend, and can be associated with the currently active span and trace

  2. Expanded the LogReporter interface, through which the current LogCtx can be obtained

  3. Modified some code structures to make them look more structured

@wu-sheng wu-sheng added this to the 0.6.0 milestone Sep 8, 2024
@wu-sheng wu-sheng added the enhancement New feature or request label Sep 8, 2024
Copy link
Contributor

@mrproliu mrproliu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please fix all CI tests and add changes in the CHANGES.md

plugins/core/logreport.go Outdated Show resolved Hide resolved
plugins/core/logreport.go Outdated Show resolved Hide resolved
plugins/trace-activation/instrument.go Show resolved Hide resolved
plugins/trace-activation/logging/send_entry.go Outdated Show resolved Hide resolved
tools/go-agent/instrument/logger/context.go Outdated Show resolved Hide resolved
@mrproliu
Copy link
Contributor

mrproliu commented Sep 9, 2024

I don't see any changes of this PR, so please do not resolve the conversations.

@ShyunnY
Copy link
Contributor Author

ShyunnY commented Sep 9, 2024

Block waiting for context test to complete

go.work Outdated Show resolved Hide resolved
toolkit/logging/api.go Show resolved Hide resolved
CHANGES.md Outdated Show resolved Hide resolved
@mrproliu
Copy link
Contributor

This comment still not resolved: #202 (comment)

@mrproliu mrproliu merged commit 4f94a25 into apache:main Sep 10, 2024
37 checks passed
@ShyunnY ShyunnY deleted the log-impl branch September 19, 2024 04:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants