refactor: use oss-telemetry library instead of hand-rolled ping

This commit is contained in:
2026-05-24 03:02:16 +01:00
parent 28b6582dac
commit 00d8871f5e
3 changed files with 5 additions and 2 deletions
+2 -2
View File
@@ -13,8 +13,8 @@ import (
"github.com/lukaszraczylo/claude-mnemonic/internal/config"
"github.com/lukaszraczylo/claude-mnemonic/internal/mcp"
"github.com/lukaszraczylo/claude-mnemonic/internal/telemetry"
"github.com/lukaszraczylo/claude-mnemonic/internal/watcher"
"github.com/lukaszraczylo/oss-telemetry"
"github.com/rs/zerolog"
"github.com/rs/zerolog/log"
)
@@ -61,7 +61,7 @@ func main() {
// Start file watchers for config changes
startWatchers()
telemetry.Ping("claude-mnemonic", Version)
telemetry.Send("claude-mnemonic", Version)
// Create and run MCP server
server := mcp.NewServer(client, workerURL, *project, Version)