Skip to content

Commit 99beca7

Browse files
endpoint adjustment
1 parent 8303ed1 commit 99beca7

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

TELEMETRY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ Files created:
7878
- `milestones.json`: One-time events tracker
7979

8080
### Data Transmission
81-
- **Endpoint**: `https://telemetry.coplay.dev/unity-mcp/anonymous`
81+
- **Endpoint**: `https://api-prod.coplay.dev/telemetry/events`
8282
- **Method**: HTTPS POST with JSON payload
8383
- **Retry**: Background thread with graceful failure
8484
- **Timeout**: 10 second timeout, no retries on failure

UnityMcpBridge/UnityMcpServer~/src/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class ServerConfig:
3636

3737
# Telemetry settings
3838
telemetry_enabled: bool = True
39-
telemetry_endpoint: str = "https://telemetry.coplay.dev/unity-mcp/anonymous"
39+
telemetry_endpoint: str = "https://api-prod.coplay.dev/telemetry/events"
4040

4141
# Create a global config instance
4242
config = ServerConfig()

UnityMcpBridge/UnityMcpServer~/src/telemetry.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,8 @@ def __init__(self):
6161
# Check environment variables for opt-out
6262
self.enabled = not self._is_disabled()
6363

64-
# Telemetry endpoint - can be configured via environment
65-
self.endpoint = os.environ.get(
66-
"UNITY_MCP_TELEMETRY_ENDPOINT",
67-
"https://telemetry.coplay.dev/unity-mcp/anonymous"
68-
)
64+
# Telemetry endpoint - hardcoded to Coplay production API
65+
self.endpoint = "https://api-prod.coplay.dev/telemetry/events"
6966

7067
# Local storage for UUID and milestones
7168
self.data_dir = self._get_data_directory()

0 commit comments

Comments
 (0)