Commit 14aad91
fix(telemetry): default daemon to production endpoint; emit app_usage on pilotctl call (#293)
fix(telemetry): default daemon to production endpoint; emit app_usage on call
- cmd/daemon/main.go: default -telemetry-url to telemetry.DefaultEndpoint
when PILOT_TELEMETRY_URL is unset. Previously the daemon silently dropped
all telemetry because the flag defaulted to "" (hard no-op).
- cmd/pilotctl/appstore.go: emit app_usage event after a successful
`pilotctl appstore call`. Previously this event was only reachable through
the daemon supervisor path, not the direct IPC call path.
Both emissions are consent-gated (telemetry flag, default on) and best-effort.
Co-authored-by: Teodor Calin <teodor@vulturelabs.io>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: Alex Godoroja <50743382+Alexgodoroja@users.noreply.github.com>1 parent 2b2dd78 commit 14aad91
2 files changed
Lines changed: 16 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
107 | 111 | | |
108 | 112 | | |
109 | 113 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2076 | 2076 | | |
2077 | 2077 | | |
2078 | 2078 | | |
| 2079 | + | |
| 2080 | + | |
| 2081 | + | |
| 2082 | + | |
| 2083 | + | |
| 2084 | + | |
| 2085 | + | |
| 2086 | + | |
| 2087 | + | |
| 2088 | + | |
| 2089 | + | |
2079 | 2090 | | |
2080 | 2091 | | |
2081 | 2092 | | |
| |||
0 commit comments