envoyproxy / envoyproxy/envoy

Add the filtering parameters of the cluster in the cluster admin interface

Open
#14,702 1 comment 0 reactions 1 assignee Claimed by @Lynskylate View on GitHub
area/admin help wanted
Dominant language
C++
Stars
28.9k
Forks
5.6k
Avg merge
1d 20h
Merged PRs (30d)
437

Description

*Title*: *Add the filtering parameters of the cluster in the cluster admin interface*

*Description*:
Current we curl clusters interface(localhost:15000/clusters) will return all clusters' stats , the response will be too large when the cluster is large. I want to add a cluster_name_prefix param to get only the statistics of the cluster I care about.I don’t know if this requirement is a public requirement, if you don’t mind if I add this feature, I will propose a pr to realize it

The final result is as follows
```bash
curl localhost:15000/clusters?cluster_prefix=test_service
test_service_1::127.0.0.1:15000::cx_active::0
test_service_1::127.0.0.1:15000::cx_connect_fail::0
test_service_2::127.0.0.1:15000::cx_active::0
test_service_2::127.0.0.1:15000::cx_connect_fail::0
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.