Skip to content

Allow the configuration of distributed tracing to be disabledΒ #894

@ritzorama

Description

@ritzorama

Current Behavior

Currently, while running Meshery Server, I see the following debug logs:

14:20:07 traces export: exporter export timeout: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing: dial tcp 127.0.0.1:4317: connect: connection refused"

I have not defined a trace collector in my local deployment.

Desired Behavior

I would like to be able to disable tracing in deployments without a defined collector target. These logs are unnecessary noise, when no collector is present.

Implementation

  1. Both github.com/meshery/meshkit AND github.com/meshery/meshery will need to be enhanced with this configurable deployment option.
  2. Support an environment variable for Meshery deployments.
  3. Ensure that this deployment option is exposed in Meshery's Helm chart values.yaml, too.

Acceptance Tests

  • 1. Unless, trace collector target is configured, don't attempt to connect to collector.
  • 2. The appropriate installation / deployment pages in Meshery Docs are updated.

Contributor Guides and Handbook

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions