[Feature Request] Allow disabling or configuring export interval for Cloud Trace spans (TraceService/BatchWriteSpans)

Author: bchirag07-uCreated Aug 24, 2026Updated Sep 29, 2026
Labelstype: bugpriority: p1status: help wantedgood first issue

Prerequisites

Question

Issue Description ​Environment Details ​Tool: MCP Toolbox ​Version: v1.2.0 ​Connector/Database: BigQuery ​Feature: Telemetry (Tracing) ​Problem Description ​After enabling the telemetry feature in mcp-toolbox (v1.2.0) while using the BigQuery tool, the system repeatedly issues span write requests to Google Cloud Trace (google.devtools.cloudtrace.v2.TraceService/BatchWriteSpans) approximately every 5 seconds. ​This high-frequency export interval introduces unnecessary network and processing overhead, and leads to unexpected Cloud Trace ingestion costs—especially in idle or low-traffic environments. ​Currently, is there granular control available to adjust the trace batch export interval or to disable specific trace exporters while keeping standard metrics/logging enabled.

Code

No response

Additional Details

No response