Skip to content

[Feat]: Add a switch to enable or disable OpenTelemetry reporting #295

@Brant-lzh

Description

@Brant-lzh

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

Currently, OpenTelemetry reporting is always enabled in the code. In some cases, we want to disable it for local development or troubleshooting.

Describe the solution you'd like

Add a configuration option (e.g., environment variable or function parameter) to control whether OpenTelemetry tracing is enabled.

Describe alternatives you've considered

No response

Additional context

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions