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

LogTrace: shared logging & tracing components #3826

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

RXminuS
Copy link
Contributor

@RXminuS RXminuS commented Apr 17, 2024

For now just an early draft PR to include in the the RFC.

Goal is to provide a more robust logging platform that addresses many pain points such as:

  • Needing to restart to enable debug mode
  • Missing timestamps & platform information
  • Manually needing to sanitize sensitive information
  • Uncountable (due to high cardinality) / hard to locate log statements
  • Overwhelming user-facing logs, yet missing information from support/system-facing logs

The RFC will go into more detail but for now some of the issues are mentioned here:
https://docs.google.com/document/d/1pXcimnZWdasrq-efwASItle9pkLn681VVe4i8YRwvko/edit#heading=h.ptylozq47nr3

Todo:

  • Write RFC
  • Tests

  • Initial loadable components
  • Reloadable logging levels
  • State change logItem type
    • Separate workspace/environment state channels
  • Automatic log anonymization
  • Network event logItem type (trace?)
    • Hook into open-telemetry provider prep (impl. separate PR)
  • Network call stack captures
  • Configurable verbosity levels
  • Replace existing logging calls
  • Agent log forwarding prep (impl. Separate PR)
  • User marked time-ranges prep
  • More robust exports
    • Separate user-facing log storage from system facing log storage

@RXminuS RXminuS self-assigned this Apr 17, 2024
@RXminuS RXminuS force-pushed the rnauta/troubleshooting/logging branch from d0646de to 953d236 Compare May 1, 2024 09:18
@RXminuS RXminuS changed the title Troubleshooting: Structured Logging Improvements LogTrace: shared logging & tracing components May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant