Skip to content

When the disabled configuration of rest telemetry is set to true, the log loses the trace #4881

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

Open
jaronnie opened this issue May 21, 2025 · 2 comments

Comments

@jaronnie
Copy link
Contributor

rest:
    devServer:
        enabled: false
    telemetry:
        name: "xxx"
        endpoint: "http://127.0.0.1:14268/api/traces"
        sampler: 1.0
        batcher: "jaeger"
        disabled: true

I hope to decide whether to send the trace to something like jaeger by disabled, but when disabled is true, the log print loses the trace

@kevwan
Copy link
Contributor

kevwan commented May 24, 2025

We use otel for tracing. If you disable it, tracing will not work.

@jaronnie
Copy link
Contributor Author

But I think telemetry config is used to determine whether to call the external trace interface, and should not affect the trace record of logx.

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

No branches or pull requests

2 participants