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

Implement Correlation IDs for Enhanced Logging and Tracing #142

Open
monilpat opened this issue Dec 25, 2024 · 0 comments
Open

Implement Correlation IDs for Enhanced Logging and Tracing #142

monilpat opened this issue Dec 25, 2024 · 0 comments
Labels
enhancement New feature or request logging tracing

Comments

@monilpat
Copy link
Collaborator

Is your feature request related to a problem? Please describe.

Currently, the logging system in our Cadence transactions lacks correlation IDs, making it challenging to trace requests across distributed systems and identify performance bottlenecks.

Describe the solution you'd like

Integrate correlation IDs into the logging framework used in Cadence transaction scripts, particularly in files like create_new_account_with_coa.cdc and transfer_erc20.cdc. This would involve:

  • Generating unique correlation IDs for each transaction.
  • Propagating these IDs across different transaction steps and services.
  • Including correlation IDs in each log entry to facilitate end-to-end tracing.

Describe alternatives you've considered

  • Using existing logging practices without correlation IDs, which limits the ability to trace and debug complex transaction flows.
  • Relying solely on external monitoring tools, which might not capture all necessary context.

Additional context

Implementing correlation IDs will significantly improve observability and debugging capabilities, especially in distributed environments where tracking the flow of requests is crucial.

Related Issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request logging tracing
Projects
None yet
Development

No branches or pull requests

1 participant