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

refactor: record tenant_id and request_id from header in the trace span #139

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

Chethan-rao
Copy link
Collaborator

@Chethan-rao Chethan-rao commented Dec 20, 2024

  1. tenant-id and request-id in console logging -

image

  1. tenant-id and request-id in json logging -

image

  1. removed map_err in some db methods and used change_error, hence getting whole error stack

image

@Chethan-rao Chethan-rao self-assigned this Dec 20, 2024
@Chethan-rao Chethan-rao marked this pull request as draft December 20, 2024 18:37
@Chethan-rao Chethan-rao changed the title record tenant_id and request_id from header in the trace span refactor: record tenant_id and request_id from header in the trace span Dec 20, 2024
@Chethan-rao Chethan-rao marked this pull request as ready for review December 21, 2024 09:01
config/development.toml Show resolved Hide resolved
src/error.rs Show resolved Hide resolved
src/logger/formatter.rs Show resolved Hide resolved
src/storage/db.rs Outdated Show resolved Hide resolved
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.

[REFACTOR] record tenant_id and request_id from header in the trace span
3 participants