Open-source AI teammates in Slack, Teams, Discord, Telegram and Mattermost. Self-host it, with any agent harness and any model.
Python agent-orchestrationaiai-agentschatopsdiscordlangchainmcpmicrosoft-teamsmulti-agentopen-sourceopenaiself-hostedslack
fix(telemetry): report to telemetry.switchagents.ai by default
Jarod DeWeese6a29a6ee7677
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex b0910474f..fa773fe5e 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -92,6 +92,14 @@ version of their own to them without also giving them a release of their own.run as a service installs a release beside the one it runs and keeps the onebefore. Roll back by pointing the values at the previous release.+#### Changed+- **Usage telemetry goes to `telemetry.switchagents.ai` by default.** The+ default `TELEMETRY_ENDPOINT` (Helm `switchCore.telemetry.endpoint`) was+ `https://telemetry.flintai.dev`, an older name for the same relay that is+ being retired. A deployment that sets the endpoint explicitly is unaffected;+ one relying on the default moves to the new host on upgrade. Nothing is sent+ unless `TELEMETRY_ENABLED=true`.+#### Security- **An agent icon URL must spell its host plainly.** A link with a backslash,or a host with percent-encoding or non-ASCII characters, is refused: browsers@@ -1709,6 +1717,11 @@ version of their own to them without also giving them a release of their own.without a generated icon. Agents on servers that leave the setting on look asbefore. Older versions of Console load those images whatever the server says.+#### Changed+- **Usage data goes to `telemetry.switchagents.ai`.** Console reported to+ `telemetry.flintai.dev`, an older name for the same relay that is being+ retired. Only where it is sent changes; what is sent, and the opt-out, do not.+#### Fixed- **Signing in to a service through Core works on a server whose gateway andAPI are on different hosts.** Core sends the browser through its owndiff --git a/README.md b/README.mdindex 66f0f3c6d..f69bdcf6b 100644--- a/README.md+++ b/README.md@@ -307,7 +307,7 @@ hostnames, usernames, emails, API keys or credentials, model outputs, searchqueries, error messages or stack traces, IP addresses, or any personallyidentifiable information.-Events are sent to a relay we operate (`telemetry.flintai.dev`), which forwards+Events are sent to a relay we operate (`telemetry.switchagents.ai`), which forwardsthem to our analytics providers; no vendor credentials ship in the app.**Opting out:** turn off *Share usage data* on the first-run notice, or indiff --git a/console/apps/switch-console-desktop/src/main/core/telemetry/config.ts b/console/apps/switch-console-desktop/src/main/core/telemetry/config.tsindex bf237de34..0e2bad54e 100644--- a/console/apps/switch-console-desktop/src/main/core/telemetry/config.ts+++ b/console/apps/switch-console-desktop/src/main/core/telemetry/config.ts@@ -21,7 +21,7 @@ const viteEnv = (import.meta as ImportMetaWithEnv).env;* are entitled to know but was not ours to decide unilaterally. Adopted with* the collaborating dev's agreement, pending the product owner's.*/-export const TELEMETRY_RELAY_ENDPOINT = 'https://telemetry.flintai.dev/v1/logs';+export const TELEMETRY_RELAY_ENDPOINT = 'https://telemetry.switchagents.ai/v1/logs';/** Which build sent an event, so a developer's app cannot pollute real numbers. */export type TelemetryBuildChannel = 'dev' | 'canary' | 'stable';diff --git a/console/apps/switch-console-desktop/src/main/core/telemetry/telemetry-service.test.ts b/console/apps/switch-console-desktop/src/main/core/telemetry/telemetry-service.test.tsindex de3f18210..5c4fc8e66 100644--- a/console/apps/switch-console-desktop/src/main/core/telemetry/telemetry-service.test.ts+++ b/console/apps/switch-console-desktop/src/main/core/telemetry/telemetry-service.test.ts@@ -108,7 +108,7 @@ describe('the consent gate', () => {expect(fetchMock).toHaveBeenCalledTimes(1);const [url] = fetchMock.mock.calls[0] as [string];- expect(url).toBe('https://telemetry.flintai.dev/v1/logs');+ expect(url).toBe('https://telemetry.switchagents.ai/v1/logs');});});diff --git a/core/switch_core/config.py b/core/switch_core/config.pyindex 3302b2597..1c8f7a859 100644--- a/core/switch_core/config.py+++ b/core/switch_core/config.py@@ -444,7 +444,7 @@ class SwitchConfig(BaseSettings):# convention `otlp_endpoint` above follows. Defaults to the company relay,# which is where Switch Console already reports, so one pipeline carries# both. Override to point a development run at a local sink.- telemetry_endpoint: str = "https://telemetry.flintai.dev"+ telemetry_endpoint: str = "https://telemetry.switchagents.ai"# How long to wait on the relay before giving up on a single event.# Telemetry is never worth delaying real work for, and a send that isdiff --git a/core/tests/switch_core/telemetry/test_merge_fixes.py b/core/tests/switch_core/telemetry/test_merge_fixes.pyindex 09aef5a8d..6a90e99d0 100644--- a/core/tests/switch_core/telemetry/test_merge_fixes.py+++ b/core/tests/switch_core/telemetry/test_merge_fixes.py@@ -72,7 +72,7 @@ class TestTheEndpointIsABaseUrl:with pytest.raises(ValueError, match="no path of its own"):_config(telemetry_enabled=True,- telemetry_endpoint="https://telemetry.flintai.dev/v1/logs",+ telemetry_endpoint="https://telemetry.switchagents.ai/v1/logs",)def test_whitespace_is_refused(self) -> None:@@ -81,7 +81,7 @@ class TestTheEndpointIsABaseUrl:with pytest.raises(ValueError, match="whitespace"):_config(telemetry_enabled=True,- telemetry_endpoint="https://telemetry.flintai.dev ",+ telemetry_endpoint="https://telemetry.switchagents.ai ",)def test_a_query_string_is_refused(self) -> None:diff --git a/deploy/remote/helm/switch/values.yaml b/deploy/remote/helm/switch/values.yamlindex 50e0317be..348063575 100644--- a/deploy/remote/helm/switch/values.yaml+++ b/deploy/remote/helm/switch/values.yaml@@ -283,7 +283,7 @@ switchCore:enabled: false# Base URL, no path — `/v1/logs` is appended, the same# convention otlpEndpoint follows.- endpoint: https://telemetry.flintai.dev+ endpoint: https://telemetry.switchagents.ai# How often the usage snapshot is collected and sent.snapshotIntervalHours: 24# Which Amplitude project the usage lands in: prod, staging, dev or local.diff --git a/docs/TELEMETRY.md b/docs/TELEMETRY.mdindex d47ad1a5b..74f976979 100644--- a/docs/TELEMETRY.md+++ b/docs/TELEMETRY.md@@ -312,7 +312,7 @@ an anonymous installation counter, not an identity.## 6. Where it is sent1. **App → our relay.** One plain HTTPS POST per event (OTLP logs format; no- batching, no retries, 10-second timeout) to `telemetry.flintai.dev`, an+ batching, no retries, 10-second timeout) to `telemetry.switchagents.ai`, anendpoint we operate. No third-party analytics SDK runs inside the app, and novendor credential is shipped in the app. Released builds cannot be pointed ata different endpoint — the override exists only in dev builds.