[Feature Request]: UX for telemetry endpoint
Implementation ideas
With https://github.com/celestiaorg/celestia-node/pull/907 a metrics endpoint can be configured with a command-line flag: --metrics.endpoint.
However @musalbas raised the concern:
My main concern is that if it's some obscure flag that people explicitly have to add, very few people will know about it and help share metrics with us, even if they're ok with it.
Is there a way to explicitly ask people if they want to share metrics or not? Maybe when you run init there can be an interactive prompt. If people want to run a script there can be a --noninteractive option or something to skip the prompt?
so this issue is to align on and implement a strategy for providing a telemetry endpoint to celestia-node. Proposed options:
- command-line flag
- interactive prompt
Additional context in https://github.com/celestiaorg/celestia-node/pull/922#issuecomment-1211052970