heroku 9.3.3-beta.0 → 10.0.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/lib/commands/access/index.js +1 -1
- package/lib/commands/apps/errors.js +1 -1
- package/lib/commands/apps/favorites/add.js +1 -1
- package/lib/commands/buildpacks/add.js +1 -1
- package/lib/commands/buildpacks/info.js +1 -1
- package/lib/commands/buildpacks/set.js +1 -1
- package/lib/commands/buildpacks/versions.js +1 -1
- package/lib/commands/logs.d.ts +5 -3
- package/lib/commands/logs.js +64 -23
- package/lib/commands/members/index.js +1 -1
- package/lib/commands/orgs/open.js +1 -1
- package/lib/commands/pg/copy.js +1 -1
- package/lib/commands/pipelines/promote.js +3 -3
- package/lib/commands/ps/restart.d.ts +2 -1
- package/lib/commands/ps/restart.js +43 -11
- package/lib/commands/ps/stop.d.ts +3 -2
- package/lib/commands/ps/stop.js +40 -9
- package/lib/commands/ps/type.js +4 -4
- package/lib/commands/spaces/create.d.ts +6 -5
- package/lib/commands/spaces/create.js +24 -10
- package/lib/commands/spaces/index.d.ts +2 -2
- package/lib/commands/spaces/index.js +6 -1
- package/lib/commands/spaces/info.js +5 -3
- package/lib/commands/spaces/wait.js +5 -3
- package/lib/commands/telemetry/add.d.ts +17 -0
- package/lib/commands/telemetry/add.js +60 -0
- package/lib/commands/telemetry/index.d.ts +13 -0
- package/lib/commands/telemetry/index.js +49 -0
- package/lib/commands/telemetry/info.d.ts +10 -0
- package/lib/commands/telemetry/info.js +24 -0
- package/lib/commands/telemetry/remove.d.ts +15 -0
- package/lib/commands/telemetry/remove.js +63 -0
- package/lib/commands/telemetry/update.d.ts +16 -0
- package/lib/commands/telemetry/update.js +60 -0
- package/lib/file.js +0 -2
- package/lib/lib/apps/generation.d.ts +4 -0
- package/lib/lib/apps/generation.js +24 -0
- package/lib/lib/run/colorize.js +1 -1
- package/lib/lib/run/log-displayer.d.ts +3 -2
- package/lib/lib/run/log-displayer.js +45 -33
- package/lib/lib/spaces/spaces.d.ts +4 -2
- package/lib/lib/spaces/spaces.js +2 -1
- package/lib/lib/telemetry/util.d.ts +3 -0
- package/lib/lib/telemetry/util.js +29 -0
- package/oclif.manifest.json +406 -61
- package/package.json +6 -6
- package/lib/lib/run/line-transform.d.ts +0 -4
- package/lib/lib/run/line-transform.js +0 -26
package/oclif.manifest.json
CHANGED
|
@@ -77,12 +77,13 @@
|
|
|
77
77
|
"logs": {
|
|
78
78
|
"aliases": [],
|
|
79
79
|
"args": {},
|
|
80
|
-
"description": "display recent log output\ndisable colors with --no-color, HEROKU_LOGS_COLOR=0, or HEROKU_COLOR=0",
|
|
80
|
+
"description": "display recent log output\ndisable colors with --no-color, HEROKU_LOGS_COLOR=0, or HEROKU_COLOR=0\n",
|
|
81
81
|
"examples": [
|
|
82
|
-
"
|
|
83
|
-
"
|
|
84
|
-
"
|
|
85
|
-
"
|
|
82
|
+
"heroku logs --app=my-app",
|
|
83
|
+
"heroku logs --num=50 --app=my-app",
|
|
84
|
+
"heroku logs --dyno-name=web-123-456 --app=my-app",
|
|
85
|
+
"heroku logs --process-type=web --app=my-app",
|
|
86
|
+
"heroku logs --app=my-app --tail"
|
|
86
87
|
],
|
|
87
88
|
"flags": {
|
|
88
89
|
"app": {
|
|
@@ -94,17 +95,40 @@
|
|
|
94
95
|
"multiple": false,
|
|
95
96
|
"type": "option"
|
|
96
97
|
},
|
|
97
|
-
"
|
|
98
|
-
"
|
|
99
|
-
|
|
100
|
-
|
|
98
|
+
"dyno-name": {
|
|
99
|
+
"aliases": [
|
|
100
|
+
"dyno"
|
|
101
|
+
],
|
|
102
|
+
"char": "d",
|
|
103
|
+
"description": "only show output from this dyno (such as \"web-123-456\" or \"worker.2\")",
|
|
104
|
+
"name": "dyno-name",
|
|
101
105
|
"hasDynamicHelp": false,
|
|
102
106
|
"multiple": false,
|
|
103
107
|
"type": "option"
|
|
104
108
|
},
|
|
109
|
+
"force-colors": {
|
|
110
|
+
"description": "force use of colors (even on non-tty output)",
|
|
111
|
+
"name": "force-colors",
|
|
112
|
+
"allowNo": false,
|
|
113
|
+
"type": "boolean"
|
|
114
|
+
},
|
|
115
|
+
"no-color": {
|
|
116
|
+
"hidden": true,
|
|
117
|
+
"name": "no-color",
|
|
118
|
+
"relationships": [
|
|
119
|
+
{
|
|
120
|
+
"type": "none",
|
|
121
|
+
"flags": [
|
|
122
|
+
"force-colors"
|
|
123
|
+
]
|
|
124
|
+
}
|
|
125
|
+
],
|
|
126
|
+
"allowNo": false,
|
|
127
|
+
"type": "boolean"
|
|
128
|
+
},
|
|
105
129
|
"num": {
|
|
106
130
|
"char": "n",
|
|
107
|
-
"description": "number of lines to display",
|
|
131
|
+
"description": "number of lines to display (ignored for Fir generation apps)",
|
|
108
132
|
"name": "num",
|
|
109
133
|
"hasDynamicHelp": false,
|
|
110
134
|
"multiple": false,
|
|
@@ -112,17 +136,25 @@
|
|
|
112
136
|
},
|
|
113
137
|
"ps": {
|
|
114
138
|
"char": "p",
|
|
115
|
-
"description": "hidden alias for
|
|
139
|
+
"description": "hidden alias for type",
|
|
116
140
|
"hidden": true,
|
|
117
141
|
"name": "ps",
|
|
142
|
+
"relationships": [
|
|
143
|
+
{
|
|
144
|
+
"type": "none",
|
|
145
|
+
"flags": [
|
|
146
|
+
"dyno-name"
|
|
147
|
+
]
|
|
148
|
+
}
|
|
149
|
+
],
|
|
118
150
|
"hasDynamicHelp": false,
|
|
119
151
|
"multiple": false,
|
|
120
152
|
"type": "option"
|
|
121
153
|
},
|
|
122
|
-
"
|
|
123
|
-
"char": "
|
|
124
|
-
"description": "
|
|
125
|
-
"name": "
|
|
154
|
+
"remote": {
|
|
155
|
+
"char": "r",
|
|
156
|
+
"description": "git remote of app to use",
|
|
157
|
+
"name": "remote",
|
|
126
158
|
"hasDynamicHelp": false,
|
|
127
159
|
"multiple": false,
|
|
128
160
|
"type": "option"
|
|
@@ -137,16 +169,27 @@
|
|
|
137
169
|
},
|
|
138
170
|
"tail": {
|
|
139
171
|
"char": "t",
|
|
140
|
-
"description": "continually stream logs",
|
|
172
|
+
"description": "continually stream logs (defaults to true for Fir generation apps)",
|
|
141
173
|
"name": "tail",
|
|
142
174
|
"allowNo": false,
|
|
143
175
|
"type": "boolean"
|
|
144
176
|
},
|
|
145
|
-
"
|
|
146
|
-
"
|
|
147
|
-
"
|
|
148
|
-
"
|
|
149
|
-
"
|
|
177
|
+
"process-type": {
|
|
178
|
+
"char": "p",
|
|
179
|
+
"description": "only show output from this process type (such as \"web\" or \"worker\")",
|
|
180
|
+
"name": "process-type",
|
|
181
|
+
"relationships": [
|
|
182
|
+
{
|
|
183
|
+
"type": "none",
|
|
184
|
+
"flags": [
|
|
185
|
+
"dyno-name",
|
|
186
|
+
"ps"
|
|
187
|
+
]
|
|
188
|
+
}
|
|
189
|
+
],
|
|
190
|
+
"hasDynamicHelp": false,
|
|
191
|
+
"multiple": false,
|
|
192
|
+
"type": "option"
|
|
150
193
|
}
|
|
151
194
|
},
|
|
152
195
|
"hasDynamicHelp": false,
|
|
@@ -7787,15 +7830,16 @@
|
|
|
7787
7830
|
],
|
|
7788
7831
|
"args": {
|
|
7789
7832
|
"dyno": {
|
|
7833
|
+
"description": "name of the dyno to restart",
|
|
7790
7834
|
"name": "dyno",
|
|
7791
7835
|
"required": false
|
|
7792
7836
|
}
|
|
7793
7837
|
},
|
|
7794
|
-
"description": "restart app dynos",
|
|
7838
|
+
"description": "restart an app dyno or process type\nif neither --dyno nor --type are specified, restarts all dynos on app\n",
|
|
7795
7839
|
"examples": [
|
|
7796
|
-
"$ heroku ps:restart web.1",
|
|
7797
|
-
"$ heroku ps:restart web",
|
|
7798
|
-
"$ heroku ps:restart"
|
|
7840
|
+
"$ heroku ps:restart --app myapp --dyno-name web.1",
|
|
7841
|
+
"$ heroku ps:restart --app myapp --process-type web",
|
|
7842
|
+
"$ heroku ps:restart --app myapp"
|
|
7799
7843
|
],
|
|
7800
7844
|
"flags": {
|
|
7801
7845
|
"app": {
|
|
@@ -7814,6 +7858,25 @@
|
|
|
7814
7858
|
"hasDynamicHelp": false,
|
|
7815
7859
|
"multiple": false,
|
|
7816
7860
|
"type": "option"
|
|
7861
|
+
},
|
|
7862
|
+
"dyno-name": {
|
|
7863
|
+
"char": "d",
|
|
7864
|
+
"description": "name of the dyno to restart",
|
|
7865
|
+
"name": "dyno-name",
|
|
7866
|
+
"hasDynamicHelp": false,
|
|
7867
|
+
"multiple": false,
|
|
7868
|
+
"type": "option"
|
|
7869
|
+
},
|
|
7870
|
+
"process-type": {
|
|
7871
|
+
"char": "p",
|
|
7872
|
+
"description": "name of the process type to restart",
|
|
7873
|
+
"exclusive": [
|
|
7874
|
+
"dyno-name"
|
|
7875
|
+
],
|
|
7876
|
+
"name": "process-type",
|
|
7877
|
+
"hasDynamicHelp": false,
|
|
7878
|
+
"multiple": false,
|
|
7879
|
+
"type": "option"
|
|
7817
7880
|
}
|
|
7818
7881
|
},
|
|
7819
7882
|
"hasDynamicHelp": false,
|
|
@@ -7826,7 +7889,6 @@
|
|
|
7826
7889
|
"pluginType": "core",
|
|
7827
7890
|
"strict": true,
|
|
7828
7891
|
"topic": "ps",
|
|
7829
|
-
"help": "if DYNO is not specified, restarts all dynos on app",
|
|
7830
7892
|
"isESM": false,
|
|
7831
7893
|
"relativePath": [
|
|
7832
7894
|
"lib",
|
|
@@ -7889,14 +7951,15 @@
|
|
|
7889
7951
|
],
|
|
7890
7952
|
"args": {
|
|
7891
7953
|
"dyno": {
|
|
7954
|
+
"description": "name of the dyno to stop",
|
|
7892
7955
|
"name": "dyno",
|
|
7893
|
-
"required":
|
|
7956
|
+
"required": false
|
|
7894
7957
|
}
|
|
7895
7958
|
},
|
|
7896
|
-
"description": "stop app dyno",
|
|
7959
|
+
"description": "stop an app dyno or process type",
|
|
7897
7960
|
"examples": [
|
|
7898
|
-
"$ heroku ps:stop run.1828",
|
|
7899
|
-
"$ heroku ps:stop run"
|
|
7961
|
+
"$ heroku ps:stop --app myapp --dyno-name run.1828",
|
|
7962
|
+
"$ heroku ps:stop --app myapp --process-type run"
|
|
7900
7963
|
],
|
|
7901
7964
|
"flags": {
|
|
7902
7965
|
"app": {
|
|
@@ -7915,6 +7978,25 @@
|
|
|
7915
7978
|
"hasDynamicHelp": false,
|
|
7916
7979
|
"multiple": false,
|
|
7917
7980
|
"type": "option"
|
|
7981
|
+
},
|
|
7982
|
+
"dyno-name": {
|
|
7983
|
+
"char": "d",
|
|
7984
|
+
"description": "name of the dyno to stop",
|
|
7985
|
+
"name": "dyno-name",
|
|
7986
|
+
"hasDynamicHelp": false,
|
|
7987
|
+
"multiple": false,
|
|
7988
|
+
"type": "option"
|
|
7989
|
+
},
|
|
7990
|
+
"process-type": {
|
|
7991
|
+
"char": "p",
|
|
7992
|
+
"description": "name of the process type to stop",
|
|
7993
|
+
"exclusive": [
|
|
7994
|
+
"dyno-name"
|
|
7995
|
+
],
|
|
7996
|
+
"name": "process-type",
|
|
7997
|
+
"hasDynamicHelp": false,
|
|
7998
|
+
"multiple": false,
|
|
7999
|
+
"type": "option"
|
|
7918
8000
|
}
|
|
7919
8001
|
},
|
|
7920
8002
|
"hasDynamicHelp": false,
|
|
@@ -7928,7 +8010,6 @@
|
|
|
7928
8010
|
"pluginType": "core",
|
|
7929
8011
|
"strict": true,
|
|
7930
8012
|
"topic": "ps",
|
|
7931
|
-
"help": "stop app dyno or dyno type",
|
|
7932
8013
|
"isESM": false,
|
|
7933
8014
|
"relativePath": [
|
|
7934
8015
|
"lib",
|
|
@@ -9274,27 +9355,26 @@
|
|
|
9274
9355
|
},
|
|
9275
9356
|
"description": "create a new space\n",
|
|
9276
9357
|
"examples": [
|
|
9277
|
-
"Example:\n\n$ heroku spaces:create --space my-space --team my-team --region oregon\nCreating space my-space in team my-team... done\n=== my-space\nID: e7b99e37-69b3-4475-ad47-a5cc5d75fd9f\nTeam: my-team\nRegion: oregon\nCIDR: 10.0.0.0/16\nData CIDR: 172.23.0.0/20\nState: allocating\nCreated at: 2016-01-06T03:23:13Z\n"
|
|
9358
|
+
"Example:\n\n$ heroku spaces:create --space my-space --team my-team --region oregon\nCreating space my-space in team my-team... done\n=== my-space\nID: e7b99e37-69b3-4475-ad47-a5cc5d75fd9f\nTeam: my-team\nRegion: oregon\nCIDR: 10.0.0.0/16\nData CIDR: 172.23.0.0/20\nState: allocating\nGeneration: fir\nCreated at: 2016-01-06T03:23:13Z\n"
|
|
9278
9359
|
],
|
|
9279
9360
|
"flags": {
|
|
9280
|
-
"
|
|
9281
|
-
"
|
|
9282
|
-
"
|
|
9283
|
-
"name": "space",
|
|
9361
|
+
"channel": {
|
|
9362
|
+
"hidden": true,
|
|
9363
|
+
"name": "channel",
|
|
9284
9364
|
"hasDynamicHelp": false,
|
|
9285
9365
|
"multiple": false,
|
|
9286
9366
|
"type": "option"
|
|
9287
9367
|
},
|
|
9288
|
-
"
|
|
9289
|
-
"
|
|
9290
|
-
"name": "
|
|
9368
|
+
"cidr": {
|
|
9369
|
+
"description": "RFC-1918 CIDR the space will use",
|
|
9370
|
+
"name": "cidr",
|
|
9291
9371
|
"hasDynamicHelp": false,
|
|
9292
9372
|
"multiple": false,
|
|
9293
9373
|
"type": "option"
|
|
9294
9374
|
},
|
|
9295
|
-
"
|
|
9296
|
-
"description": "
|
|
9297
|
-
"name": "
|
|
9375
|
+
"data-cidr": {
|
|
9376
|
+
"description": "RFC-1918 CIDR used by Heroku Data resources for the space",
|
|
9377
|
+
"name": "data-cidr",
|
|
9298
9378
|
"hasDynamicHelp": false,
|
|
9299
9379
|
"multiple": false,
|
|
9300
9380
|
"type": "option"
|
|
@@ -9307,6 +9387,26 @@
|
|
|
9307
9387
|
"multiple": false,
|
|
9308
9388
|
"type": "option"
|
|
9309
9389
|
},
|
|
9390
|
+
"generation": {
|
|
9391
|
+
"description": "generation for space",
|
|
9392
|
+
"name": "generation",
|
|
9393
|
+
"default": "cedar",
|
|
9394
|
+
"hasDynamicHelp": false,
|
|
9395
|
+
"multiple": false,
|
|
9396
|
+
"options": [
|
|
9397
|
+
"cedar",
|
|
9398
|
+
"fir"
|
|
9399
|
+
],
|
|
9400
|
+
"type": "option"
|
|
9401
|
+
},
|
|
9402
|
+
"kpi-url": {
|
|
9403
|
+
"description": "self-managed KPI endpoint to use",
|
|
9404
|
+
"hidden": true,
|
|
9405
|
+
"name": "kpi-url",
|
|
9406
|
+
"hasDynamicHelp": false,
|
|
9407
|
+
"multiple": false,
|
|
9408
|
+
"type": "option"
|
|
9409
|
+
},
|
|
9310
9410
|
"log-drain-url": {
|
|
9311
9411
|
"description": "direct log drain url",
|
|
9312
9412
|
"hidden": true,
|
|
@@ -9315,6 +9415,13 @@
|
|
|
9315
9415
|
"multiple": false,
|
|
9316
9416
|
"type": "option"
|
|
9317
9417
|
},
|
|
9418
|
+
"region": {
|
|
9419
|
+
"description": "region name",
|
|
9420
|
+
"name": "region",
|
|
9421
|
+
"hasDynamicHelp": false,
|
|
9422
|
+
"multiple": false,
|
|
9423
|
+
"type": "option"
|
|
9424
|
+
},
|
|
9318
9425
|
"shield": {
|
|
9319
9426
|
"description": "create a Shield space",
|
|
9320
9427
|
"hidden": true,
|
|
@@ -9322,24 +9429,10 @@
|
|
|
9322
9429
|
"allowNo": false,
|
|
9323
9430
|
"type": "boolean"
|
|
9324
9431
|
},
|
|
9325
|
-
"
|
|
9326
|
-
"
|
|
9327
|
-
"
|
|
9328
|
-
"
|
|
9329
|
-
"multiple": false,
|
|
9330
|
-
"type": "option"
|
|
9331
|
-
},
|
|
9332
|
-
"kpi-url": {
|
|
9333
|
-
"description": "self-managed KPI endpoint to use",
|
|
9334
|
-
"hidden": true,
|
|
9335
|
-
"name": "kpi-url",
|
|
9336
|
-
"hasDynamicHelp": false,
|
|
9337
|
-
"multiple": false,
|
|
9338
|
-
"type": "option"
|
|
9339
|
-
},
|
|
9340
|
-
"data-cidr": {
|
|
9341
|
-
"description": "RFC-1918 CIDR used by Heroku Data resources for the space",
|
|
9342
|
-
"name": "data-cidr",
|
|
9432
|
+
"space": {
|
|
9433
|
+
"char": "s",
|
|
9434
|
+
"description": "name of space to create",
|
|
9435
|
+
"name": "space",
|
|
9343
9436
|
"hasDynamicHelp": false,
|
|
9344
9437
|
"multiple": false,
|
|
9345
9438
|
"type": "option"
|
|
@@ -9788,6 +9881,258 @@
|
|
|
9788
9881
|
"index.js"
|
|
9789
9882
|
]
|
|
9790
9883
|
},
|
|
9884
|
+
"telemetry:add": {
|
|
9885
|
+
"aliases": [],
|
|
9886
|
+
"args": {
|
|
9887
|
+
"headers": {
|
|
9888
|
+
"description": "custom headers to configure the drain in json format",
|
|
9889
|
+
"name": "headers",
|
|
9890
|
+
"required": true
|
|
9891
|
+
}
|
|
9892
|
+
},
|
|
9893
|
+
"description": "Add and configure a new telemetry drain. Defaults to collecting all telemetry unless otherwise specified.",
|
|
9894
|
+
"examples": "Add a telemetry drain to an app to collect logs and traces:\n$ heroku telemetry:add --app myapp --signals logs,traces --endpoint https://my-endpoint.com --transport http '{\"x-drain-example-team\": \"API_KEY\", \"x-drain-example-dataset\": \"METRICS_DATASET\"}'\n",
|
|
9895
|
+
"flags": {
|
|
9896
|
+
"app": {
|
|
9897
|
+
"char": "a",
|
|
9898
|
+
"description": "app to add a drain to",
|
|
9899
|
+
"name": "app",
|
|
9900
|
+
"hasDynamicHelp": false,
|
|
9901
|
+
"multiple": false,
|
|
9902
|
+
"type": "option"
|
|
9903
|
+
},
|
|
9904
|
+
"remote": {
|
|
9905
|
+
"char": "r",
|
|
9906
|
+
"description": "git remote of app to add a drain to",
|
|
9907
|
+
"name": "remote",
|
|
9908
|
+
"hasDynamicHelp": false,
|
|
9909
|
+
"multiple": false,
|
|
9910
|
+
"type": "option"
|
|
9911
|
+
},
|
|
9912
|
+
"space": {
|
|
9913
|
+
"char": "s",
|
|
9914
|
+
"description": "space to add a drain to",
|
|
9915
|
+
"name": "space",
|
|
9916
|
+
"hasDynamicHelp": false,
|
|
9917
|
+
"multiple": false,
|
|
9918
|
+
"type": "option"
|
|
9919
|
+
},
|
|
9920
|
+
"signals": {
|
|
9921
|
+
"description": "comma-delimited list of signals to collect (traces, metrics, logs). Use \"all\" to collect all signals.",
|
|
9922
|
+
"name": "signals",
|
|
9923
|
+
"default": "all",
|
|
9924
|
+
"hasDynamicHelp": false,
|
|
9925
|
+
"multiple": false,
|
|
9926
|
+
"type": "option"
|
|
9927
|
+
},
|
|
9928
|
+
"endpoint": {
|
|
9929
|
+
"description": "drain url",
|
|
9930
|
+
"name": "endpoint",
|
|
9931
|
+
"required": true,
|
|
9932
|
+
"hasDynamicHelp": false,
|
|
9933
|
+
"multiple": false,
|
|
9934
|
+
"type": "option"
|
|
9935
|
+
},
|
|
9936
|
+
"transport": {
|
|
9937
|
+
"description": "transport protocol for the drain",
|
|
9938
|
+
"name": "transport",
|
|
9939
|
+
"required": true,
|
|
9940
|
+
"hasDynamicHelp": false,
|
|
9941
|
+
"multiple": false,
|
|
9942
|
+
"options": [
|
|
9943
|
+
"http",
|
|
9944
|
+
"grpc"
|
|
9945
|
+
],
|
|
9946
|
+
"type": "option"
|
|
9947
|
+
}
|
|
9948
|
+
},
|
|
9949
|
+
"hasDynamicHelp": false,
|
|
9950
|
+
"hiddenAliases": [],
|
|
9951
|
+
"id": "telemetry:add",
|
|
9952
|
+
"pluginAlias": "heroku",
|
|
9953
|
+
"pluginName": "heroku",
|
|
9954
|
+
"pluginType": "core",
|
|
9955
|
+
"strict": true,
|
|
9956
|
+
"example": "Add a telemetry drain to an app to collect logs and traces:\n$ heroku telemetry:add --app myapp --signals logs,traces --endpoint https://my-endpoint.com --transport http '{\"x-drain-example-team\": \"API_KEY\", \"x-drain-example-dataset\": \"METRICS_DATASET\"}'\n",
|
|
9957
|
+
"isESM": false,
|
|
9958
|
+
"relativePath": [
|
|
9959
|
+
"lib",
|
|
9960
|
+
"commands",
|
|
9961
|
+
"telemetry",
|
|
9962
|
+
"add.js"
|
|
9963
|
+
]
|
|
9964
|
+
},
|
|
9965
|
+
"telemetry": {
|
|
9966
|
+
"aliases": [],
|
|
9967
|
+
"args": {},
|
|
9968
|
+
"description": "list telemetry drains",
|
|
9969
|
+
"examples": "$ heroku telemetry",
|
|
9970
|
+
"flags": {
|
|
9971
|
+
"space": {
|
|
9972
|
+
"char": "s",
|
|
9973
|
+
"description": "filter by space name",
|
|
9974
|
+
"name": "space",
|
|
9975
|
+
"hasDynamicHelp": false,
|
|
9976
|
+
"multiple": false,
|
|
9977
|
+
"type": "option"
|
|
9978
|
+
},
|
|
9979
|
+
"app": {
|
|
9980
|
+
"char": "a",
|
|
9981
|
+
"description": "filter by app name",
|
|
9982
|
+
"name": "app",
|
|
9983
|
+
"hasDynamicHelp": false,
|
|
9984
|
+
"multiple": false,
|
|
9985
|
+
"type": "option"
|
|
9986
|
+
}
|
|
9987
|
+
},
|
|
9988
|
+
"hasDynamicHelp": false,
|
|
9989
|
+
"hiddenAliases": [],
|
|
9990
|
+
"id": "telemetry",
|
|
9991
|
+
"pluginAlias": "heroku",
|
|
9992
|
+
"pluginName": "heroku",
|
|
9993
|
+
"pluginType": "core",
|
|
9994
|
+
"strict": true,
|
|
9995
|
+
"topic": "telemetry",
|
|
9996
|
+
"example": "$ heroku telemetry",
|
|
9997
|
+
"isESM": false,
|
|
9998
|
+
"relativePath": [
|
|
9999
|
+
"lib",
|
|
10000
|
+
"commands",
|
|
10001
|
+
"telemetry",
|
|
10002
|
+
"index.js"
|
|
10003
|
+
]
|
|
10004
|
+
},
|
|
10005
|
+
"telemetry:info": {
|
|
10006
|
+
"aliases": [],
|
|
10007
|
+
"args": {
|
|
10008
|
+
"telemetry_drain_id": {
|
|
10009
|
+
"description": "ID of the drain to show info for",
|
|
10010
|
+
"name": "telemetry_drain_id",
|
|
10011
|
+
"required": true
|
|
10012
|
+
}
|
|
10013
|
+
},
|
|
10014
|
+
"description": "show a telemetry drain's info",
|
|
10015
|
+
"examples": "$ heroku telemetry:info 022e2e2e-2e2e-2e2e-2e2e-2e2e2e2e2e2e",
|
|
10016
|
+
"flags": {},
|
|
10017
|
+
"hasDynamicHelp": false,
|
|
10018
|
+
"hiddenAliases": [],
|
|
10019
|
+
"id": "telemetry:info",
|
|
10020
|
+
"pluginAlias": "heroku",
|
|
10021
|
+
"pluginName": "heroku",
|
|
10022
|
+
"pluginType": "core",
|
|
10023
|
+
"strict": true,
|
|
10024
|
+
"topic": "telemetry",
|
|
10025
|
+
"example": "$ heroku telemetry:info 022e2e2e-2e2e-2e2e-2e2e-2e2e2e2e2e2e",
|
|
10026
|
+
"isESM": false,
|
|
10027
|
+
"relativePath": [
|
|
10028
|
+
"lib",
|
|
10029
|
+
"commands",
|
|
10030
|
+
"telemetry",
|
|
10031
|
+
"info.js"
|
|
10032
|
+
]
|
|
10033
|
+
},
|
|
10034
|
+
"telemetry:remove": {
|
|
10035
|
+
"aliases": [],
|
|
10036
|
+
"args": {
|
|
10037
|
+
"telemetry_drain_id": {
|
|
10038
|
+
"description": "ID of the drain to remove",
|
|
10039
|
+
"name": "telemetry_drain_id"
|
|
10040
|
+
}
|
|
10041
|
+
},
|
|
10042
|
+
"description": "remove a telemetry drain",
|
|
10043
|
+
"flags": {
|
|
10044
|
+
"app": {
|
|
10045
|
+
"char": "a",
|
|
10046
|
+
"description": "name of the app to remove all drains from",
|
|
10047
|
+
"name": "app",
|
|
10048
|
+
"hasDynamicHelp": false,
|
|
10049
|
+
"multiple": false,
|
|
10050
|
+
"type": "option"
|
|
10051
|
+
},
|
|
10052
|
+
"space": {
|
|
10053
|
+
"char": "s",
|
|
10054
|
+
"description": "name of the space to remove all drains from",
|
|
10055
|
+
"name": "space",
|
|
10056
|
+
"hasDynamicHelp": false,
|
|
10057
|
+
"multiple": false,
|
|
10058
|
+
"type": "option"
|
|
10059
|
+
}
|
|
10060
|
+
},
|
|
10061
|
+
"hasDynamicHelp": false,
|
|
10062
|
+
"hiddenAliases": [],
|
|
10063
|
+
"id": "telemetry:remove",
|
|
10064
|
+
"pluginAlias": "heroku",
|
|
10065
|
+
"pluginName": "heroku",
|
|
10066
|
+
"pluginType": "core",
|
|
10067
|
+
"strict": true,
|
|
10068
|
+
"topic": "telemetry",
|
|
10069
|
+
"isESM": false,
|
|
10070
|
+
"relativePath": [
|
|
10071
|
+
"lib",
|
|
10072
|
+
"commands",
|
|
10073
|
+
"telemetry",
|
|
10074
|
+
"remove.js"
|
|
10075
|
+
]
|
|
10076
|
+
},
|
|
10077
|
+
"telemetry:update": {
|
|
10078
|
+
"aliases": [],
|
|
10079
|
+
"args": {
|
|
10080
|
+
"telemetry_drain_id": {
|
|
10081
|
+
"description": "ID of the drain to update",
|
|
10082
|
+
"name": "telemetry_drain_id",
|
|
10083
|
+
"required": true
|
|
10084
|
+
},
|
|
10085
|
+
"headers": {
|
|
10086
|
+
"description": "custom headers to configure the drain in json format",
|
|
10087
|
+
"name": "headers"
|
|
10088
|
+
}
|
|
10089
|
+
},
|
|
10090
|
+
"description": "updates a telemetry drain with provided attributes (attributes not provided remain unchanged)",
|
|
10091
|
+
"examples": "$ heroku telemetry:update acde070d-8c4c-4f0d-9d8a-162843c10333 --signals logs,metrics --endpoint https://my-new-endpoint.com\n",
|
|
10092
|
+
"flags": {
|
|
10093
|
+
"signals": {
|
|
10094
|
+
"description": "comma-delimited list of signals to collect (traces, metrics, logs). Use \"all\" to collect all signals.",
|
|
10095
|
+
"name": "signals",
|
|
10096
|
+
"hasDynamicHelp": false,
|
|
10097
|
+
"multiple": false,
|
|
10098
|
+
"type": "option"
|
|
10099
|
+
},
|
|
10100
|
+
"endpoint": {
|
|
10101
|
+
"description": "drain url",
|
|
10102
|
+
"name": "endpoint",
|
|
10103
|
+
"hasDynamicHelp": false,
|
|
10104
|
+
"multiple": false,
|
|
10105
|
+
"type": "option"
|
|
10106
|
+
},
|
|
10107
|
+
"transport": {
|
|
10108
|
+
"description": "transport protocol for the drain",
|
|
10109
|
+
"name": "transport",
|
|
10110
|
+
"hasDynamicHelp": false,
|
|
10111
|
+
"multiple": false,
|
|
10112
|
+
"options": [
|
|
10113
|
+
"http",
|
|
10114
|
+
"grpc"
|
|
10115
|
+
],
|
|
10116
|
+
"type": "option"
|
|
10117
|
+
}
|
|
10118
|
+
},
|
|
10119
|
+
"hasDynamicHelp": false,
|
|
10120
|
+
"hiddenAliases": [],
|
|
10121
|
+
"id": "telemetry:update",
|
|
10122
|
+
"pluginAlias": "heroku",
|
|
10123
|
+
"pluginName": "heroku",
|
|
10124
|
+
"pluginType": "core",
|
|
10125
|
+
"strict": true,
|
|
10126
|
+
"topic": "telemetry",
|
|
10127
|
+
"example": "$ heroku telemetry:update acde070d-8c4c-4f0d-9d8a-162843c10333 --signals logs,metrics --endpoint https://my-new-endpoint.com\n",
|
|
10128
|
+
"isESM": false,
|
|
10129
|
+
"relativePath": [
|
|
10130
|
+
"lib",
|
|
10131
|
+
"commands",
|
|
10132
|
+
"telemetry",
|
|
10133
|
+
"update.js"
|
|
10134
|
+
]
|
|
10135
|
+
},
|
|
9791
10136
|
"webhooks:add": {
|
|
9792
10137
|
"aliases": [],
|
|
9793
10138
|
"args": {},
|
|
@@ -13930,5 +14275,5 @@
|
|
|
13930
14275
|
]
|
|
13931
14276
|
}
|
|
13932
14277
|
},
|
|
13933
|
-
"version": "
|
|
14278
|
+
"version": "10.0.0-alpha.1"
|
|
13934
14279
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "heroku",
|
|
3
3
|
"description": "CLI to interact with Heroku",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "10.0.0-alpha.1",
|
|
5
5
|
"author": "Heroku",
|
|
6
6
|
"bin": "./bin/run",
|
|
7
7
|
"bugs": "https://github.com/heroku/cli/issues",
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
"@types/inquirer": "^8.2.10",
|
|
95
95
|
"@types/lodash": "^4.14.123",
|
|
96
96
|
"@types/mocha": "^10.0.6",
|
|
97
|
-
"@types/node": "
|
|
97
|
+
"@types/node": "20.14.8",
|
|
98
98
|
"@types/node-fetch": "^2.1.6",
|
|
99
99
|
"@types/phoenix": "^1.4.0",
|
|
100
100
|
"@types/proxyquire": "^1.3.28",
|
|
@@ -121,7 +121,7 @@
|
|
|
121
121
|
"mocha": "^9.2.2",
|
|
122
122
|
"nock": "^13.5.1",
|
|
123
123
|
"nyc": "^15.1.0",
|
|
124
|
-
"oclif": "4.
|
|
124
|
+
"oclif": "4.14.36",
|
|
125
125
|
"proxyquire": "^2.1.0",
|
|
126
126
|
"qqjs": "0.3.11",
|
|
127
127
|
"read-pkg": "^4.0.1",
|
|
@@ -134,7 +134,7 @@
|
|
|
134
134
|
"typescript": "4.8.4"
|
|
135
135
|
},
|
|
136
136
|
"engines": {
|
|
137
|
-
"node": "~
|
|
137
|
+
"node": "~20.x"
|
|
138
138
|
},
|
|
139
139
|
"files": [
|
|
140
140
|
"/autocomplete-scripts",
|
|
@@ -340,7 +340,7 @@
|
|
|
340
340
|
},
|
|
341
341
|
"update": {
|
|
342
342
|
"node": {
|
|
343
|
-
"version": "
|
|
343
|
+
"version": "20.17.0"
|
|
344
344
|
},
|
|
345
345
|
"s3": {
|
|
346
346
|
"xz": true,
|
|
@@ -391,5 +391,5 @@
|
|
|
391
391
|
"version": "oclif readme --multi && git add README.md ../../docs"
|
|
392
392
|
},
|
|
393
393
|
"types": "lib/index.d.ts",
|
|
394
|
-
"gitHead": "
|
|
394
|
+
"gitHead": "1b4bc39a86afe951a9ceb20c40a884431fb1e86a"
|
|
395
395
|
}
|