Skip to content

Commit

Permalink
Move to the new TelemetryDeck URL
Browse files Browse the repository at this point in the history
  • Loading branch information
winsmith committed Sep 7, 2021
1 parent 8e81c19 commit 87438ed
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Sources/TelemetryClient/SignalCache.swift
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -13,7 +13,7 @@ internal class SignalCache<T> 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 {
Expand Down
2 changes: 1 addition & 1 deletion Sources/TelemetryClient/SignalManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Sources/TelemetryClient/TelemetryClient.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 87438ed

Please sign in to comment.