linkerd2/cli/cmd
Alex Leong 9408dc7fe1
Add linkerd alpha stat command (#4130)
This PR introduces the `linkerd alpha stat` command which will eventually replace the `linkerd stat` command.  This command functions in a similar way, but with slightly different arguments and is implemented using the smi-metrics API.  This means that access to metrics can be controlled with RBAC.

See the `linkerd alpha stat` help text for full details, or try one of these commands:

* `linkerd alpha stat -n emojivoto deploy/web`
* `linkerd alpha stat -n emojivoto deploy`
* `linkerd alpha stat -n emojivoto deploy/web --to deploy/emoji`

Signed-off-by: Alex Leong <alex@buoyant.io>
2020-03-05 15:23:14 -08:00
..
testdata Include SMI metrics as part of Linkerd install (#4109) 2020-03-02 10:11:16 -08:00
alpha.go Add linkerd alpha stat command (#4130) 2020-03-05 15:23:14 -08:00
alpha_stat.go Add linkerd alpha stat command (#4130) 2020-03-05 15:23:14 -08:00
check.go Add helm upgrade integration test (#3976) 2020-02-04 08:27:46 +02:00
check_test.go Output check result as json (#2666) 2019-05-20 09:04:28 -07:00
completion.go CLI help updates: non-experimental auto-inject; unhide install-cni (#2319) 2019-02-18 15:32:46 -08:00
completion_test.go Bump proxy-init to 1.2.0 (#3397) 2019-09-09 09:06:14 -07:00
dashboard.go Add `as-group` CLI flag (#3952) 2020-01-22 16:38:31 +02:00
diagnostics.go Linkerd CLI command to get control plane diagnostics (#4050) 2020-02-24 09:09:54 -08:00
doc.go Fix issue for debug containers when using custom Docker registry (#3873) 2020-01-17 10:18:03 -08:00
edges.go Add CronJobs and ReplicaSets to dashboard and CLI (#3687) 2019-12-11 10:02:37 -08:00
edges_test.go Add unit test for edges API endpoint (#3306) 2019-08-23 09:28:02 -07:00
endpoints.go Have `linkerd endpoints` use `Destination.Get` (#2990) 2019-07-03 09:11:03 -05:00
endpoints_test.go Have `linkerd endpoints` use `Destination.Get` (#2990) 2019-07-03 09:11:03 -05:00
get.go Introduce -A as a shorthand for --all-namespaces (#3125) 2019-07-24 07:50:22 -07:00
get_test.go Fix most golint issues that are not comment related (#1982) 2018-12-20 10:37:47 -08:00
inject.go Fix issue for debug containers when using custom Docker registry (#3873) 2020-01-17 10:18:03 -08:00
inject_test.go Remove envoy, contour restrictions (#4092) 2020-03-02 09:18:51 -05:00
inject_util.go Fix inject with path and add tests (#3038) 2019-07-05 09:26:25 -05:00
install-cni-plugin.go Remove experimental from CNI (#4038) 2020-02-11 20:10:55 +02:00
install-cni-plugin_test.go Fix CNI config parsing (#3953) 2020-01-23 09:55:04 -08:00
install-service-mirror.go Service Mirroring Component (#4028) 2020-03-02 21:16:08 +02:00
install-sp.go Add `as-group` CLI flag (#3952) 2020-01-22 16:38:31 +02:00
install-sp_test.go Add cluster domain cli flag (#3360) 2019-09-19 16:08:50 -07:00
install.go Include SMI metrics as part of Linkerd install (#4109) 2020-03-02 10:11:16 -08:00
install_addon_test.go Tracing Add-on For Linkerd (#3955) 2020-02-26 10:15:04 -08:00
install_cni_helm_test.go Improve cni resources labels (#4032) 2020-02-11 12:10:08 +02:00
install_helm_test.go Include SMI metrics as part of Linkerd install (#4109) 2020-03-02 10:11:16 -08:00
install_test.go Include SMI metrics as part of Linkerd install (#4109) 2020-03-02 10:11:16 -08:00
logs.go Add `as-group` CLI flag (#3952) 2020-01-22 16:38:31 +02:00
logs_test.go Introduce inject integration tests (#2616) 2019-04-05 11:42:49 -07:00
main_test.go Enable mixed configuration of skip-[inbound|outbound]-ports (#3766) 2019-12-20 09:32:13 -05:00
metrics.go Linkerd CLI command to get control plane diagnostics (#4050) 2020-02-24 09:09:54 -08:00
metrics_diagnostics_util.go Linkerd CLI command to get control plane diagnostics (#4050) 2020-02-24 09:09:54 -08:00
metrics_diagnostics_util_test.go Linkerd CLI command to get control plane diagnostics (#4050) 2020-02-24 09:09:54 -08:00
profile.go Add `as-group` CLI flag (#3952) 2020-01-22 16:38:31 +02:00
profile_test.go Allow setting custom cluster domain in service profiles (#3148) 2019-08-07 09:49:54 -07:00
public_api.go Add `as-group` CLI flag (#3952) 2020-01-22 16:38:31 +02:00
range_slice.go Enable mixed configuration of skip-[inbound|outbound]-ports (#3766) 2019-12-20 09:32:13 -05:00
range_slice_test.go Enable mixed configuration of skip-[inbound|outbound]-ports (#3766) 2019-12-20 09:32:13 -05:00
root.go Add linkerd alpha stat command (#4130) 2020-03-05 15:23:14 -08:00
routes.go Traffic split integration test (#3649) 2019-11-13 21:14:34 +02:00
routes_test.go lint: Enable goconst (#2365) 2019-02-25 12:00:03 -08:00
stat.go cli: Add label selector flag for `stat` (#4040) 2020-02-17 13:40:07 -05:00
stat_test.go Add validation to ensure stat time window is at least 15s (#3720) 2019-12-04 08:12:01 +02:00
tap.go Add `as-group` CLI flag (#3952) 2020-01-22 16:38:31 +02:00
tap_test.go Add TapEvent headers and trailers to the tap protobuf (#3410) 2019-09-29 09:54:37 -07:00
top.go Scroll functionality for linkerd top deploy/linkerd-web (#4011) 2020-02-17 11:17:43 -05:00
uninject.go Remove empty fields from generated configs (#3886) 2020-01-13 10:02:24 -08:00
uninject_test.go Remove envoy, contour restrictions (#4092) 2020-03-02 09:18:51 -05:00
upgrade.go Include SMI metrics as part of Linkerd install (#4109) 2020-03-02 10:11:16 -08:00
upgrade_test.go Include SMI metrics as part of Linkerd install (#4109) 2020-03-02 10:11:16 -08:00
version.go Use port-forwarding for linkerd CLIs (#2757) 2019-05-02 14:41:26 +02:00
version_test.go Use port-forwarding for linkerd CLIs (#2757) 2019-05-02 14:41:26 +02:00