File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -296,8 +296,8 @@ EigenX collects anonymous usage data to help us improve the CLI and understand h
296296- Error counts and types to identify common issues
297297- Performance metrics (command execution times)
298298- System information (OS, architecture)
299- - Geographic location (country/city level only)
300299- Deployment environment (e.g., sepolia, mainnet-alpha)
300+ - User Ethereum address
301301
302302### What We DON'T Collect
303303
Original file line number Diff line number Diff line change 55 "os"
66 "time"
77
8+ "github.com/Layr-Labs/eigenx-cli/pkg/commands/utils"
89 "github.com/Layr-Labs/eigenx-cli/pkg/common"
910 "github.com/Layr-Labs/eigenx-cli/pkg/common/iface"
1011 "github.com/Layr-Labs/eigenx-cli/pkg/common/logger"
@@ -364,6 +365,12 @@ func WithCommandMetricsContext(ctx *cli.Context) error {
364365 metrics .Properties ["user_uuid" ] = appEnv .UserUUID
365366 }
366367
368+ // Set user address in metrics if available
369+ address , err := utils .GetDeveloperAddress (ctx )
370+ if err == nil {
371+ metrics .Properties ["user_address" ] = address .Hex ()
372+ }
373+
367374 // Set flags in metrics
368375 for k , v := range collectFlagValues (ctx ) {
369376 metrics .Properties [k ] = fmt .Sprintf ("%v" , v )
You can’t perform that action at this time.
0 commit comments