From 87438eda43be5c27a0e9b9cc1f95667156774c4a Mon Sep 17 00:00:00 2001 From: Daniel Jilg Date: Tue, 7 Sep 2021 20:52:56 +0200 Subject: [PATCH] Move to the new TelemetryDeck URL --- Sources/TelemetryClient/SignalCache.swift | 4 ++-- Sources/TelemetryClient/SignalManager.swift | 2 +- Sources/TelemetryClient/TelemetryClient.swift | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Sources/TelemetryClient/SignalCache.swift b/Sources/TelemetryClient/SignalCache.swift index e3df446..0d738da 100644 --- a/Sources/TelemetryClient/SignalCache.swift +++ b/Sources/TelemetryClient/SignalCache.swift @@ -1,6 +1,6 @@ import Foundation -/// A local cache for signals to be sent to the AppTelemetry ingestion service +/// A local cache for signals to be sent to the TelemetryDeck ingestion service /// /// There is no guarantee that Signals come out in the same order you put them in. This shouldn't matter though, /// since all Signals automatically get a `receivedAt` property with a date, allowing the server to reorder them @@ -13,7 +13,7 @@ internal class SignalCache where T: Codable { private var cachedSignals: [T] = [] private let maximumNumberOfSignalsToPopAtOnce = 100 - let queue = DispatchQueue(label: "apptelemetry-signal-cache", attributes: .concurrent) + let queue = DispatchQueue(label: "telemetrydeck-signal-cache", attributes: .concurrent) /// How many Signals are cached func count() -> Int { diff --git a/Sources/TelemetryClient/SignalManager.swift b/Sources/TelemetryClient/SignalManager.swift index 5dc9452..5f35d03 100644 --- a/Sources/TelemetryClient/SignalManager.swift +++ b/Sources/TelemetryClient/SignalManager.swift @@ -217,7 +217,7 @@ private extension SignalManager { } #else #if DEBUG - print("[Telemetry] On this platform, Telemetry can't generate a unique user identifier. It is recommended you supply one yourself. More info: https://apptelemetry.io/pages/signal-reference.html") + print("[Telemetry] On this platform, Telemetry can't generate a unique user identifier. It is recommended you supply one yourself. More info: https://telemetrydeck.com/pages/signal-reference.html") #endif return "unknown user \(SignalPayload.platform) \(SignalPayload.systemVersion) \(SignalPayload.buildNumber)" #endif diff --git a/Sources/TelemetryClient/TelemetryClient.swift b/Sources/TelemetryClient/TelemetryClient.swift index aaf4400..1eb3af6 100644 --- a/Sources/TelemetryClient/TelemetryClient.swift +++ b/Sources/TelemetryClient/TelemetryClient.swift @@ -63,7 +63,7 @@ public final class TelemetryManagerConfiguration { if let baseURL = baseURL { apiBaseURL = baseURL } else { - apiBaseURL = URL(string: "https://nom.apptelemetry.io")! + apiBaseURL = URL(string: "https://nom.telemetrydeck.io")! } #if os(iOS)