Add navigate telemetry

This commit is contained in:
Karl Seguin
2025-03-03 19:49:24 +08:00
parent 2609671982
commit 6b83281539
11 changed files with 59 additions and 44 deletions

View File

@@ -7,7 +7,7 @@ const Client = @import("asyncio").Client;
const log = std.log.scoped(.telemetry);
const URL = "https://stats.lightpanda.io";
const URL = "https://telemetry.lightpanda.io/";
pub const LightPanda = struct {
uri: std.Uri,

View File

@@ -10,7 +10,7 @@ const log = std.log.scoped(.telemetry);
const ID_FILE = "lightpanda.id";
pub const Telemetry = TelemetryT(blk: {
// if (builtin.mode == .Debug or builtin.is_test) break :blk NoopProvider;
if (builtin.mode == .Debug or builtin.is_test) break :blk NoopProvider;
break :blk @import("lightpanda.zig").LightPanda;
});