`heroku telemetry` ================== list telemetry drains * [`heroku telemetry`](#heroku-telemetry) * [`heroku telemetry:add ENDPOINT`](#heroku-telemetryadd-endpoint) * [`heroku telemetry:info TELEMETRY_DRAIN_ID`](#heroku-telemetryinfo-telemetry_drain_id) * [`heroku telemetry:remove [TELEMETRY_DRAIN_ID]`](#heroku-telemetryremove-telemetry_drain_id) * [`heroku telemetry:update TELEMETRY_DRAIN_ID`](#heroku-telemetryupdate-telemetry_drain_id) ## `heroku telemetry` list telemetry drains ``` USAGE $ heroku telemetry [--prompt] [-a ] [-s ] FLAGS -a, --app= filter by app name -s, --space= filter by space name GLOBAL FLAGS --prompt interactively prompt for command arguments and flags DESCRIPTION list telemetry drains EXAMPLES $ heroku telemetry ``` _See code: [src/commands/telemetry/index.ts](https://github.com/heroku/cli/blob/v11.10.0/src/commands/telemetry/index.ts)_ ## `heroku telemetry:add ENDPOINT` Add and configure a new telemetry drain. Defaults to collecting all telemetry unless otherwise specified. ``` USAGE $ heroku telemetry:add ENDPOINT [--prompt] [-a ] [--headers ] [--signals ] [-s ] [--transport ] ARGUMENTS ENDPOINT drain url FLAGS -a, --app= app to add a drain to -s, --space= space to add a drain to --headers= custom headers to configure the drain in json format --signals= [default: all] comma-delimited list of signals to collect (traces, metrics, logs). Use "all" to collect all signals. --transport= [default: http] transport protocol for the drain GLOBAL FLAGS --prompt interactively prompt for command arguments and flags DESCRIPTION Add and configure a new telemetry drain. Defaults to collecting all telemetry unless otherwise specified. EXAMPLES Add a telemetry drain to an app to collect logs and traces: $ heroku telemetry:add https://my-endpoint.com --app myapp --signals logs,traces --headers '{"x-drain-example-team": "API_KEY", "x-drain-example-dataset": "METRICS_DATASET"}' ``` _See code: [src/commands/telemetry/add.ts](https://github.com/heroku/cli/blob/v11.10.0/src/commands/telemetry/add.ts)_ ## `heroku telemetry:info TELEMETRY_DRAIN_ID` show a telemetry drain's info ``` USAGE $ heroku telemetry:info TELEMETRY_DRAIN_ID [--prompt] ARGUMENTS TELEMETRY_DRAIN_ID ID of the drain to show info for GLOBAL FLAGS --prompt interactively prompt for command arguments and flags DESCRIPTION show a telemetry drain's info EXAMPLES $ heroku telemetry:info 022e2e2e-2e2e-2e2e-2e2e-2e2e2e2e2e2e ``` _See code: [src/commands/telemetry/info.ts](https://github.com/heroku/cli/blob/v11.10.0/src/commands/telemetry/info.ts)_ ## `heroku telemetry:remove [TELEMETRY_DRAIN_ID]` remove a telemetry drain ``` USAGE $ heroku telemetry:remove [TELEMETRY_DRAIN_ID] [--prompt] [-a ] [-s ] ARGUMENTS [TELEMETRY_DRAIN_ID] ID of the drain to remove FLAGS -a, --app= [env: HEROKU_APP] name of the app to remove all drains from -s, --space= name of the space to remove all drains from GLOBAL FLAGS --prompt interactively prompt for command arguments and flags DESCRIPTION remove a telemetry drain ``` _See code: [src/commands/telemetry/remove.ts](https://github.com/heroku/cli/blob/v11.10.0/src/commands/telemetry/remove.ts)_ ## `heroku telemetry:update TELEMETRY_DRAIN_ID` updates a telemetry drain with provided attributes (attributes not provided remain unchanged) ``` USAGE $ heroku telemetry:update TELEMETRY_DRAIN_ID [--prompt] [--endpoint ] [--headers ] [--signals ] [--transport http|grpc] ARGUMENTS TELEMETRY_DRAIN_ID ID of the drain to update FLAGS --endpoint= drain url --headers= custom headers to configure the drain in json format --signals= comma-delimited list of signals to collect (traces, metrics, logs). Use "all" to collect all signals. --transport=