Skip to content

Open-source AI teammates in Slack, Teams, Discord, Telegram and Mattermost. Self-host it, with any agent harness and any model.

fix(telemetry): report to telemetry.switchagents.ai by default

Jarod DeWeese6a29a6ee7677
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 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 one
before. 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 as
before. 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 and
API are on different hosts.** Core sends the browser through its own
diff --git a/README.md b/README.md
index 66f0f3c6d..f69bdcf6b 100644
--- a/README.md
+++ b/README.md
@@ -307,7 +307,7 @@ hostnames, usernames, emails, API keys or credentials, model outputs, search
queries, error messages or stack traces, IP addresses, or any personally
identifiable 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 forwards
them to our analytics providers; no vendor credentials ship in the app.
**Opting out:** turn off *Share usage data* on the first-run notice, or in
diff --git a/console/apps/switch-console-desktop/src/main/core/telemetry/config.ts b/console/apps/switch-console-desktop/src/main/core/telemetry/config.ts
index 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.ts
index 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.py
index 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 is
diff --git a/core/tests/switch_core/telemetry/test_merge_fixes.py b/core/tests/switch_core/telemetry/test_merge_fixes.py
index 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.yaml
index 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.md
index 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 sent
1. **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`, an
endpoint we operate. No third-party analytics SDK runs inside the app, and no
vendor credential is shipped in the app. Released builds cannot be pointed at
a different endpoint — the override exists only in dev builds.