BotConfig.telemetry (opt-in): where spans go and what they may contain.
Properties
tracer
ids?
'hash'(default): HMAC-SHA256 with idKey, base64url, 16 chars;'raw': the opaque id as the provider gave it (personal data on most channels);'omit': not recorded.
idKey?
ids: 'hash'. Default: 32 random bytes per process, so hashes do not
correlate across replicas or restarts — set it from a secret for that.
errorMessages?
Error.message on spans (it may contain user text). Default false: error name and code only.
spans?
persist true, pace true, streamUpdates false (stream edits are span events).