Track SaveMoney telemetry input sources - #2014
Conversation
kin0992
left a comment
There was a problem hiding this comment.
question: are we sure we need this like this?
according to an RFC, we are going to remove the savemoney command from the CLI, so I would not invest on this (or at least I would do it differently)
@kin0992 Your point makes sense.
What alternative approach do you suggest? |
I would start thinking of savemoney as an independent and separate tool, callable through npx (e.g. Note that this is not a blocking comment: if you think that this way is best right now, then it's ok to me. It just seems to me that we are going to do the same work twice |
@kin0992 Good point, I refactored this so telemetry mapping is now in This keeps current telemetry working while minimizing rework for the future standalone So we avoid doing the same work twice and keep the migration path cleaner. |
This PR improves telemetry for the
dx savemoneycommand so we can verify whether current observability is sufficient for SaveMoney usage analysis.It adds OpenTelemetry attributes on the root span to capture:
cli,config,none)config,env,prompt)Example result on Application Insight:

Resolves CES-2208