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: refactor trace and log moudle #1942

Merged
merged 2 commits into from
May 21, 2024
Merged

Conversation

Kree0
Copy link
Contributor

@Kree0 Kree0 commented Jan 18, 2024

Required checklist

  • Sample config files updated (config,meta/config and default config)
  • If there are user-facing changes, the documentation needs to be updated prior to approving the PR( Link )
  • If there are any breaking changes to public APIs, please add the api change label.
  • Signed CLA (if not already signed)

Which issue does this PR close?

Related #.

Rationale for this change

Now HTTP trace header is cnosdb-trace-ctx: {trace-id}{span-id}.

The HTTP trace header is used in two place:

  1. From client to cnosdb data node(http/flightsql).
  2. Between cnosdb data node(grpc).

Log support rolling by time and clean up old log file.

Are there any user-facing changes?

roseboy-liu
roseboy-liu previously approved these changes May 21, 2024
@roseboy-liu roseboy-liu merged commit b95bc81 into cnosdb:main May 21, 2024
7 checks passed
@Kree0 Kree0 deleted the new_trace branch May 23, 2024 03:34
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

2 participants