-
Notifications
You must be signed in to change notification settings - Fork 337
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
chore(*) improve DP insights API filtering #1104
Conversation
Signed-off-by: Nikolay Nikolaev <[email protected]>
@nickolaev, Also we need to add the filter option for |
Please give an example of the CLI command. |
we are already having an option in CLI to filter |
Signed-off-by: Nikolay Nikolaev <[email protected]>
Signed-off-by: Nikolay Nikolaev <[email protected]>
return isnil(a) | ||
} | ||
default: | ||
return func(a interface{}) bool { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If a query has ?gateway=some_garbage_value
does it mean it returns gateways? Can we somehow validate this?
Signed-off-by: Nikolay Nikolaev <[email protected]>
Summary
Improve the API to have better filtering for dataplane insights, such that this request will now work ->
curl http://localhost:5681/dataplanes+insights?gateway=false&ingress=false