Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NET 6409 #3158

Merged
merged 17 commits into from
Nov 8, 2023
Merged

NET 6409 #3158

merged 17 commits into from
Nov 8, 2023

Conversation

absolutelightning
Copy link
Contributor

@absolutelightning absolutelightning commented Nov 1, 2023

Changes proposed in this PR:

Fixes - #2433

consul-k8s CLI: Display envoy cluster stats using consul-k8s CLI

How I've tested this PR:

  • Setup Kind cluster using tutorial
  • make cli-dev
  • ./consul-k8s proxy stats -pod nginx-6d7469694f-rdmwp -kubeconfig /Users/asheshvidyut/.kube/config -namespace default > nginx
  • cat nginx
cluster.frontend.default.dc1.internal.79a003be-075c-5b47-4b7e-1dea66df560f.consul.version_text: ""
cluster.payments.default.dc1.internal.79a003be-075c-5b47-4b7e-1dea66df560f.consul.version_text: ""
cluster.product-api-db.default.dc1.internal.79a003be-075c-5b47-4b7e-1dea66df560f.consul.version_text: ""
cluster.product-api.default.dc1.internal.79a003be-075c-5b47-4b7e-1dea66df560f.consul.version_text: ""
cluster.public-api.default.dc1.internal.79a003be-075c-5b47-4b7e-1dea66df560f.consul.version_text: ""
cluster_manager.cds.version_text: ""
control_plane.identifier: ""
listener_manager.lds.version_text: ""
cluster.consul-dataplane.assignment_stale: 0
cluster.consul-dataplane.assignment_timeout_received: 0
cluster.consul-dataplane.bind_errors: 0
cluster.consul-dataplane.circuit_breakers.default.cx_open: 0
cluster.consul-dataplane.circuit_breakers.default.cx_pool_open: 0
cluster.consul-dataplane.circuit_breakers.default.rq_open: 0
cluster.consul-dataplane.circuit_breakers.default.rq_pending_open: 0
cluster.consul-dataplane.circuit_breakers.default.rq_retry_open: 0
cluster.consul-dataplane.circuit_breakers.high.cx_open: 0
cluster.consul-dataplane.circuit_breakers.high.cx_pool_open: 0
cluster.consul-dataplane.circuit_breakers.high.rq_open: 0
cluster.consul-dataplane.circuit_breakers.high.rq_pending_open: 0
cluster.consul-dataplane.circuit_breakers.high.rq_retry_open: 0
cluster.consul-dataplane.default.total_match_count: 1
cluster.consul-dataplane.http2.deferred_stream_close: 0
cluster.consul-dataplane.http2.dropped_headers_with_underscores: 0
cluster.consul-dataplane.http2.header_overflow: 0
cluster.consul-dataplane.http2.headers_cb_no_stream: 0
cluster.consul-dataplane.http2.inbound_empty_frames_flood: 0
cluster.consul-dataplane.http2.inbound_priority_frames_flood: 0
cluster.consul-dataplane.http2.inbound_window_update_frames_flood: 0
cluster.consul-dataplane.http2.keepalive_timeout: 0
cluster.consul-dataplane.http2.metadata_empty_frames: 0
cluster.consul-dataplane.http2.outbound_control_flood: 0
cluster.consul-dataplane.http2.outbound_flood: 0
cluster.consul-dataplane.http2.pending_send_bytes: 0
cluster.consul-dataplane.http2.requests_rejected_with_underscores_in_headers: 0
cluster.consul-dataplane.http2.rx_messaging_error: 0
cluster.consul-dataplane.http2.rx_reset: 0
cluster.consul-dataplane.http2.stream_refused_errors: 0
cluster.consul-dataplane.http2.streams_active: 1
cluster.consul-dataplane.http2.trailers: 0
cluster.consul-dataplane.http2.tx_flush_timeout: 0
cluster.consul-dataplane.http2.tx_reset: 0
cluster.consul-dataplane.internal.upstream_rq_200: 1
cluster.consul-dataplane.internal.upstream_rq_2xx: 1
cluster.consul-dataplane.internal.upstream_rq_completed: 1
cluster.consul-dataplane.lb_healthy_panic: 0
cluster.consul-dataplane.lb_local_cluster_not_ok: 0
cluster.consul-dataplane.lb_recalculate_zone_structures: 0
cluster.consul-dataplane.lb_subsets_active: 0
cluster.consul-dataplane.lb_subsets_created: 0
cluster.consul-dataplane.lb_subsets_fallback: 0
cluster.consul-dataplane.lb_subsets_fallback_panic: 0
cluster.consul-dataplane.lb_subsets_removed: 0
cluster.consul-dataplane.lb_subsets_selected: 0
cluster.consul-dataplane.lb_zone_cluster_too_small: 0
cluster.consul-dataplane.lb_zone_no_capacity_left: 0
cluster.consul-dataplane.lb_zone_number_differs: 0
cluster.consul-dataplane.lb_zone_routing_all_directly: 0
cluster.consul-dataplane.lb_zone_routing_cross_zone: 0
cluster.consul-dataplane.lb_zone_routing_sampled: 0
cluster.consul-dataplane.max_host_weight: 0
cluster.consul-dataplane.membership_change: 1
cluster.consul-dataplane.membership_degraded: 0
cluster.consul-dataplane.membership_excluded: 0
cluster.consul-dataplane.membership_healthy: 1
cluster.consul-dataplane.membership_total: 1
cluster.consul-dataplane.original_dst_host_invalid: 0
cluster.consul-dataplane.retry_or_shadow_abandoned: 0
cluster.consul-dataplane.update_attempt: 0
cluster.consul-dataplane.update_empty: 0
cluster.consul-dataplane.update_failure: 0
cluster.consul-dataplane.update_no_rebuild: 0
cluster.consul-dataplane.update_success: 0
cluster.consul-dataplane.upstream_cx_active: 1
cluster.consul-dataplane.upstream_cx_close_notify: 0
cluster.consul-dataplane.upstream_cx_connect_attempts_exceeded: 0
cluster.consul-dataplane.upstream_cx_connect_fail: 0
cluster.consul-dataplane.upstream_cx_connect_timeout: 0
cluster.consul-dataplane.upstream_cx_connect_with_0_rtt: 0
cluster.consul-dataplane.upstream_cx_destroy: 0
cluster.consul-dataplane.upstream_cx_destroy_local: 0
cluster.consul-dataplane.upstream_cx_destroy_local_with_active_rq: 0
cluster.consul-dataplane.upstream_cx_destroy_remote: 0
cluster.consul-dataplane.upstream_cx_destroy_remote_with_active_rq: 0
cluster.consul-dataplane.upstream_cx_destroy_with_active_rq: 0
cluster.consul-dataplane.upstream_cx_http1_total: 0
cluster.consul-dataplane.upstream_cx_http2_total: 1
cluster.consul-dataplane.upstream_cx_http3_total: 0
cluster.consul-dataplane.upstream_cx_idle_timeout: 0
cluster.consul-dataplane.upstream_cx_max_duration_reached: 0
cluster.consul-dataplane.upstream_cx_max_requests: 0
cluster.consul-dataplane.upstream_cx_none_healthy: 0
cluster.consul-dataplane.upstream_cx_overflow: 0
cluster.consul-dataplane.upstream_cx_pool_overflow: 0
cluster.consul-dataplane.upstream_cx_protocol_error: 0
cluster.consul-dataplane.upstream_cx_rx_bytes_buffered: 17
cluster.consul-dataplane.upstream_cx_rx_bytes_total: 24037
cluster.consul-dataplane.upstream_cx_total: 1
cluster.consul-dataplane.upstream_cx_tx_bytes_buffered: 0
cluster.consul-dataplane.upstream_cx_tx_bytes_total: 367029
cluster.consul-dataplane.upstream_flow_control_backed_up_total: 0
cluster.consul-dataplane.upstream_flow_control_drained_total: 0
cluster.consul-dataplane.upstream_flow_control_paused_reading_total: 0
cluster.consul-dataplane.upstream_flow_control_resumed_reading_total: 0
cluster.consul-dataplane.upstream_http3_broken: 0
cluster.consul-dataplane.upstream_internal_redirect_failed_total: 0
cluster.consul-dataplane.upstream_internal_redirect_succeeded_total: 0
cluster.consul-dataplane.upstream_rq_0rtt: 0
cluster.consul-dataplane.upstream_rq_200: 1
cluster.consul-dataplane.upstream_rq_2xx: 1
cluster.consul-dataplane.upstream_rq_active: 1
cluster.consul-dataplane.upstream_rq_cancelled: 0
cluster.consul-dataplane.upstream_rq_completed: 1
cluster.consul-dataplane.upstream_rq_maintenance_mode: 0
cluster.consul-dataplane.upstream_rq_max_duration_reached: 0
cluster.consul-dataplane.upstream_rq_pending_active: 0
cluster.consul-dataplane.upstream_rq_pending_failure_eject: 0
cluster.consul-dataplane.upstream_rq_pending_overflow: 0
cluster.consul-dataplane.upstream_rq_pending_total: 1
cluster.consul-dataplane.upstream_rq_per_try_idle_timeout: 0
cluster.consul-dataplane.upstream_rq_per_try_timeout: 0
cluster.consul-dataplane.upstream_rq_retry: 0
cluster.consul-dataplane.upstream_rq_retry_backoff_exponential: 0
cluster.consul-dataplane.upstream_rq_retry_backoff_ratelimited: 0
cluster.consul-dataplane.upstream_rq_retry_limit_exceeded: 0
cluster.consul-dataplane.upstream_rq_retry_overflow: 0
cluster.consul-dataplane.upstream_rq_retry_success: 0
cluster.consul-dataplane.upstream_rq_rx_reset: 0
cluster.consul-dataplane.upstream_rq_timeout: 0
cluster.consul-dataplane.upstream_rq_total: 1
cluster.consul-dataplane.upstream_rq_tx_reset: 0
cluster.consul-dataplane.version: 0
cluster.frontend.default.dc1.internal.79a003be-075c-5b47-4b7e-1dea66df560f.consul.assignment_stale: 0
cluster.frontend.default.dc1.internal.79a003be-075c-5b47-4b7e-1dea66df560f.consul.assignment_timeout_received: 0
cluster.frontend.default.dc1.internal.79a003be-075c-5b47-4b7e-1dea66df560f.consul.bind_errors: 0
cluster.frontend.default.dc1.internal.79a003be-075c-5b47-4b7e-1dea66df560f.consul.circuit_breakers.default.cx_open: 0
cluster.frontend.default.dc1.internal.79a003be-075c-5b47-4b7e-1dea66df560f.consul.circuit_breakers.default.cx_pool_open: 0
cluster.frontend.default.dc1.internal.79a003be-075c-5b47-4b7e-1dea66df560f.consul.circuit_breakers.default.rq_open: 0
cluster.frontend.default.dc1.internal.79a003be-075c-5b47-4b7e-1dea66df560f.consul.circuit_breakers.default.rq_pending_open: 0
cluster.frontend.default.dc1.internal.79a003be-075c-5b47-4b7e-1dea66df560f.consul.circuit_breakers.default.rq_retry_open: 0
cluster.frontend.default.dc1.internal.79a003be-075c-5b47-4b7e-1dea66df560f.consul.circuit_breakers.high.cx_open: 0
cluster.frontend.default.dc1.internal.79a003be-075c-5b47-4b7e-1dea66df560f.consul.circuit_breakers.high.cx_pool_open: 0
cluster.frontend.default.dc1.internal.79a003be-075c-5b47-4b7e-1dea66df560f.consul.circuit_breakers.high.rq_open: 0
cluster.frontend.default.dc1.internal.79a003be-075c-5b47-4b7e-1dea66df560f.consul.circuit_breakers.high.rq_pending_open: 0
cluster.frontend.default.dc1.internal.79a003be-075c-5b47-4b7e-1dea66df560f.consul.circuit_breakers.high.rq_retry_open: 0
cluster.frontend.default.dc1.internal.79a003be-075c-5b47-4b7e-1dea66df560f.consul.client_ssl_socket_factory.downstream_context_secrets_not_ready: 0
cluster.frontend.default.dc1.internal.79a003be-075c-5b47-4b7e-1dea66df560f.consul.client_ssl_socket_factory.ssl_context_update_by_sds: 0
cluster.frontend.default.dc1.internal.79a003be-075c-5b47-4b7e-1dea66df560f.consul.client_ssl_socket_factory.upstream_context_secrets_not_ready: 0
cluster.frontend.default.dc1.internal.79a003be-075c-5b47-4b7e-1dea66df560f.consul.default.total_match_count: 2
cluster.frontend.default.dc1.internal.79a003be-075c-5b47-4b7e-1dea66df560f.consul.init_fetch_timeout: 0
cluster.frontend.default.dc1.internal.79a003be-075c-5b47-4b7e-1dea66df560f.consul.lb_healthy_panic: 0
cluster.frontend.default.dc1.internal.79a003be-075c-5b47-4b7e-1dea66df560f.consul.lb_local_cluster_not_ok: 0
cluster.frontend.default.dc1.internal.79a003be-075c-5b47-4b7e-1dea66df560f.consul.lb_recalculate_zone_structures: 0
cluster.frontend.default.dc1.internal.79a003be-075c-5b47-4b7e-1dea66df560f.consul.lb_subsets_active: 0
cluster.frontend.default.dc1.internal.79a003be-075c-5b47-4b7e-1dea66df560f.consul.lb_subsets_created: 0
cluster.frontend.default.dc1.internal.79a003be-075c-5b47-4b7e-1dea66df560f.consul.lb_subsets_fallback: 0
cluster.frontend.default.dc1.internal.79a003be-075c-5b47-4b7e-1dea66df560f.consul.lb_subsets_fallback_panic: 0
cluster.frontend.default.dc1.internal.79a003be-075c-5b47-4b7e-1dea66df560f.consul.lb_subsets_removed: 0
cluster.frontend.default.dc1.internal.79a003be-075c-5b47-4b7e-1dea66df560f.consul.lb_subsets_selected: 0
cluster.frontend.default.dc1.internal.79a003be-075c-5b47-4b7e-1dea66df560f.consul.lb_zone_cluster_too_small: 0
cluster.frontend.default.dc1.internal.79a003be-075c-5b47-4b7e-1dea66df560f.consul.lb_zone_no_capacity_left: 0
cluster.frontend.default.dc1.internal.79a003be-075c-5b47-4b7e-1dea66df560f.consul.lb_zone_number_differs: 0
cluster.frontend.default.dc1.internal.79a003be-075c-5b47-4b7e-1dea66df560f.consul.lb_zone_routing_all_directly: 0
cluster.frontend.default.dc1.internal.79a003be-075c-5b47-4b7e-1dea66df560f.consul.lb_zone_routing_cross_zone: 0
cluster.frontend.default.dc1.internal.79a003be-075c-5b47-4b7e-1dea66df560f.consul.lb_zone_routing_sampled: 0
cluster.frontend.default.dc1.internal.79a003be-075c-5b47-4b7e-1dea66df560f.consul.max_host_weight: 1
cluster.frontend.default.dc1.internal.79a003be-075c-5b47-4b7e-1dea66df560f.consul.membership_change: 1
cluster.frontend.default.dc1.internal.79a003be-075c-5b47-4b7e-1dea66df560f.consul.membership_degraded: 0
cluster.frontend.default.dc1.internal.79a003be-075c-5b47-4b7e-1dea66df560f.consul.membership_excluded: 0
cluster.frontend.default.dc1.internal.79a003be-075c-5b47-4b7e-1dea66df560f.consul.membership_healthy: 1
cluster.frontend.default.dc1.internal.79a003be-075c-5b47-4b7e-1dea66df560f.consul.membership_total: 1
cluster.frontend.default.dc1.internal.79a003be-075c-5b47-4b7e-1dea66df560f.consul.original_dst_host_invalid: 0
cluster.frontend.default.dc1.internal.79a003be-075c-5b47-4b7e-1dea66df560f.consul.outlier_detection.ejections_active: 0 ...........

How I expect reviewers to test this PR:

Checklist:

@absolutelightning absolutelightning self-assigned this Nov 1, 2023
@absolutelightning absolutelightning added pr/no-backport signals that a PR will not contain a backport label consul-india PRs/Issues assigned to Consul India team labels Nov 1, 2023
@david-yu
Copy link
Contributor

david-yu commented Nov 1, 2023

Thanks @absolutelightning Will provide feedback later this week, also pinging SMEs for feedback.

@absolutelightning absolutelightning changed the title Net 6409 NET 6409 Nov 1, 2023
Copy link
Contributor

@Ganeshrockz Ganeshrockz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good in general.

cli/cmd/envoy-stats/envoy_stats.go Outdated Show resolved Hide resolved
cli/cmd/envoy-stats/envoy_stats_test.go Outdated Show resolved Hide resolved
Copy link
Contributor

@Ganeshrockz Ganeshrockz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Deferring the final approval to the SMEs

Copy link
Contributor

@t-eckert t-eckert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ashesh, excellent work. I think this will be very useful for many of our practitioners. I know I will use it for debugging.

I left some requested changes that bring this work in line with the existing patterns and practices that we have for this CLI. We want the user interface for the CLI to be as consistent as possible.

Please reach out if you have any questions about my feedback. I would love to help you get this PR merged as I think the functionality is great!

.changelog/3158.txt Outdated Show resolved Hide resolved
cli/cmd/envoy-stats/envoy_stats.go Outdated Show resolved Hide resolved
cli/cmd/envoy-stats/envoy_stats.go Outdated Show resolved Hide resolved
cli/cmd/envoy-stats/envoy_stats.go Outdated Show resolved Hide resolved
cli/cmd/envoy-stats/envoy_stats.go Outdated Show resolved Hide resolved
@absolutelightning
Copy link
Contributor Author

Ashesh, excellent work. I think this will be very useful for many of our practitioners. I know I will use it for debugging.

I left some requested changes that bring this work in line with the existing patterns and practices that we have for this CLI. We want the user interface for the CLI to be as consistent as possible.

Please reach out if you have any questions about my feedback. I would love to help you get this PR merged as I think the functionality is great!

Thanks for review 🙏 I have updated the PR please check again.

Copy link
Contributor

@t-eckert t-eckert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great! Thank you so much for adding this functionality. I added some comments on things that I would like you to change (they are small), but I went ahead and approved so that you can merge when you get the issues fixed up.

The most important comment that needs to be fixed is grabbing the correct namespace. You'll need to grab it from the Helm settings instead of the deployment configuration. This is because we want it to reflect the configuration in the users Kubectl. The namespace of the deployment is not that and is not generally where users will want to look for Envoy deployments (unless they are looking for gateway configurations).

cli/cmd/proxy/stats/command.go Show resolved Hide resolved
cli/cmd/proxy/stats/command.go Outdated Show resolved Hide resolved
cli/cmd/proxy/stats/command.go Outdated Show resolved Hide resolved
@david-yu
Copy link
Contributor

david-yu commented Nov 4, 2023

I think this is great, thank you for doing this. I can't tell from the PR, but does the CLI provide a new line right after the command is issued? I think that is necessary to at least provide some separation between CLI output and the CLI command itself.

To close this out we should also provide docs for this feature here https://developer.hashicorp.com/consul/docs/k8s/k8s-cli#proxy and add it after the proxy log command. We should be explicit to also note that this is cluster stats we are outputting as opposed to XDS Server stats: https://www.envoyproxy.io/docs/envoy/latest/configuration/observability/statistics

There may be additional feedback in the future but I think this is a great start and will tremendously help troubleshooting.

@david-yu david-yu linked an issue Nov 4, 2023 that may be closed by this pull request
@absolutelightning
Copy link
Contributor Author

I think this is great, thank you for doing this. I can't tell from the PR, but does the CLI provide a new line right after the command is issued? I think that is necessary to at least provide some separation between CLI output and the CLI command itself.

To close this out we should also provide docs for this feature here https://developer.hashicorp.com/consul/docs/k8s/k8s-cli#proxy and add it after the proxy log command. We should be explicit to also note that this is cluster stats we are outputting as opposed to XDS Server stats: https://www.envoyproxy.io/docs/envoy/latest/configuration/observability/statistics

There may be additional feedback in the future but I think this is a great start and will tremendously help troubleshooting.

Yes there is a new line after the command. It looks like this

asheshvidyut@asheshvidyut-H2GX766V9T ~/consul-k8s (NET-6409 %) » ./consul-k8s proxy stats public-api-567d949866-452xc -kubeconfig /Users/asheshvidyut/.kube/config -n default
cluster.frontend.default.dc1.internal.4b11bae3-b8ca-ee63-89bc-428cbfa6ef60.consul.version_text: ""
cluster.nginx.default.dc1.internal.4b11bae3-b8ca-ee63-89bc-428cbfa6ef60.consul.version_text: ""
cluster.payments.default.dc1.internal.4b11bae3-b8ca-ee63-89bc-428cbfa6ef60.consul.version_text: ""
cluster.product-api-db.default.dc1.internal.4b11bae3-b8ca-ee63-89bc-428cbfa6ef60.consul.version_text: ""
cluster.product-api.default.dc1.internal.4b11bae3-b8ca-ee63-89bc-428cbfa6ef60.consul.version_text: ""
cluster_manager.cds.version_text: ""
control_plane.identifier: ""
listener_manager.lds.version_text: ""
cluster.consul-dataplane.assignment_stale: 0 ....

Also I have created the PR in consul to update the docs. - hashicorp/consul#19515
Page can be viewed here - https://consul-git-net-6409-hashicorp.vercel.app/consul/docs/k8s/k8s-cli#proxy-stats

@david-yu david-yu added backport/1.3.x and removed pr/no-backport signals that a PR will not contain a backport label labels Nov 4, 2023
@david-yu
Copy link
Contributor

david-yu commented Nov 4, 2023

Could we backport to 1.3.x, 1.2.x and 1.1.x?

@david-yu david-yu added backport/1.1.x Backport to release/1.1.x branch backport/1.2.x This release branch is no longer active. labels Nov 4, 2023
@absolutelightning absolutelightning removed the request for review from hanshasselberg November 6, 2023 05:36
@david-yu
Copy link
Contributor

david-yu commented Nov 6, 2023

This can be merged without waiting for patch releases, only the docs need to wait for the releases.

@absolutelightning
Copy link
Contributor Author

@t-eckert - Not able to merge. Tests are failing which are not related to my change.

@absolutelightning absolutelightning merged commit b8512ee into main Nov 8, 2023
44 of 48 checks passed
@absolutelightning absolutelightning deleted the NET-6409 branch November 8, 2023 05:21
absolutelightning added a commit that referenced this pull request Nov 8, 2023
* init

* fix help and synopsis

* added some tests

* change log

* some fixes

* rename var name

* tests for get envoy stats

* fix tests

* Update cli/cmd/envoy-stats/envoy_stats.go

Co-authored-by: Thomas Eckert <[email protected]>

* proxy stats command

* fix command options

* pr comment resolved

* fix globaloptions

* fix lint

---------

Co-authored-by: Thomas Eckert <[email protected]>
absolutelightning added a commit that referenced this pull request Nov 8, 2023
* init

* fix help and synopsis

* added some tests

* change log

* some fixes

* rename var name

* tests for get envoy stats

* fix tests

* Update cli/cmd/envoy-stats/envoy_stats.go

Co-authored-by: Thomas Eckert <[email protected]>

* proxy stats command

* fix command options

* pr comment resolved

* fix globaloptions

* fix lint

---------

Co-authored-by: Thomas Eckert <[email protected]>
absolutelightning added a commit that referenced this pull request Nov 8, 2023
* init

* fix help and synopsis

* added some tests

* change log

* some fixes

* rename var name

* tests for get envoy stats

* fix tests

* Update cli/cmd/envoy-stats/envoy_stats.go

Co-authored-by: Thomas Eckert <[email protected]>

* proxy stats command

* fix command options

* pr comment resolved

* fix globaloptions

* fix lint

---------

Co-authored-by: Thomas Eckert <[email protected]>
absolutelightning added a commit that referenced this pull request Nov 8, 2023
* backport of commit de72bfd

* NET 6409 (#3158)

* init

* fix help and synopsis

* added some tests

* change log

* some fixes

* rename var name

* tests for get envoy stats

* fix tests

* Update cli/cmd/envoy-stats/envoy_stats.go

Co-authored-by: Thomas Eckert <[email protected]>

* proxy stats command

* fix command options

* pr comment resolved

* fix globaloptions

* fix lint

---------

Co-authored-by: Thomas Eckert <[email protected]>

* removed envoy stats

---------

Co-authored-by: absolutelightning <[email protected]>
Co-authored-by: Ashesh Vidyut <[email protected]>
Co-authored-by: Thomas Eckert <[email protected]>
absolutelightning added a commit that referenced this pull request Nov 8, 2023
* backport of commit de72bfd

* backport of commit 1f649bf

* backport of commit 3f9597f

* backport of commit 20615bf

* backport of commit 1c673af

* backport of commit 7abbbfa

* backport of commit c5fb109

* backport of commit 4218e93

* backport of commit c78acd3

* NET 6409 (#3158)

* init

* fix help and synopsis

* added some tests

* change log

* some fixes

* rename var name

* tests for get envoy stats

* fix tests

* Update cli/cmd/envoy-stats/envoy_stats.go

Co-authored-by: Thomas Eckert <[email protected]>

* proxy stats command

* fix command options

* pr comment resolved

* fix globaloptions

* fix lint

---------

Co-authored-by: Thomas Eckert <[email protected]>

* removed envoy stats

* removed envoy stats

---------

Co-authored-by: absolutelightning <[email protected]>
Co-authored-by: Ashesh Vidyut <[email protected]>
Co-authored-by: Thomas Eckert <[email protected]>
sarahalsmiller pushed a commit that referenced this pull request Jan 5, 2024
* init

* fix help and synopsis

* added some tests

* change log

* some fixes

* rename var name

* tests for get envoy stats

* fix tests

* Update cli/cmd/envoy-stats/envoy_stats.go

Co-authored-by: Thomas Eckert <[email protected]>

* proxy stats command

* fix command options

* pr comment resolved

* fix globaloptions

* fix lint

---------

Co-authored-by: Thomas Eckert <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport/1.1.x Backport to release/1.1.x branch backport/1.2.x This release branch is no longer active. backport/1.3.x consul-india PRs/Issues assigned to Consul India team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

consul-k8s CLI: Display envoy cluster stats using consul-k8s CLI
4 participants