-
Notifications
You must be signed in to change notification settings - Fork 26
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
NETOBSERV-314: NETOBSERV-1274 index type and duplicate (improve query perfs) #409
Conversation
I'll share here some performance tests ... |
New images:
They will expire after two weeks. To deploy this build: # Direct deployment, from operator repo
IMAGE=quay.io/netobserv/network-observability-operator:5ff4147 make deploy
# Or using operator-sdk
operator-sdk run bundle quay.io/netobserv/network-observability-operator-bundle:v0.0.0-5ff4147 Or as a Catalog Source: apiVersion: operators.coreos.com/v1alpha1
kind: CatalogSource
metadata:
name: netobserv-dev
namespace: openshift-marketplace
spec:
sourceType: grpc
image: quay.io/netobserv/network-observability-operator-catalog:v0.0.0-5ff4147
displayName: NetObserv development catalog
publisher: Me
updateStrategy:
registryPoll:
interval: 1m |
Some quick perf tests below. tl;dr: it's not like chalk and cheese, but still a slight improvement...
|
Oh but I get muuuuch better results when I index resource types:
This one seems to be a win :-) |
@jotak: This pull request references NETOBSERV-314 which is a valid jira issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
New images:
They will expire after two weeks. To deploy this build: # Direct deployment, from operator repo
IMAGE=quay.io/netobserv/network-observability-operator:36c54f4 make deploy
# Or using operator-sdk
operator-sdk run bundle quay.io/netobserv/network-observability-operator-bundle:v0.0.0-36c54f4 Or as a Catalog Source: apiVersion: operators.coreos.com/v1alpha1
kind: CatalogSource
metadata:
name: netobserv-dev
namespace: openshift-marketplace
spec:
sourceType: grpc
image: quay.io/netobserv/network-observability-operator-catalog:v0.0.0-36c54f4
displayName: NetObserv development catalog
publisher: Me
updateStrategy:
registryPoll:
interval: 1m |
Codecov ReportPatch and project coverage have no change.
Additional details and impacted files@@ Coverage Diff @@
## main #409 +/- ##
=======================================
Coverage 55.70% 55.70%
=======================================
Files 46 46
Lines 5960 5960
=======================================
Hits 3320 3320
Misses 2410 2410
Partials 230 230
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. 📢 Have feedback on the report? Share it here. |
Interesting the type has so much impact. I would have not expect such ! Do you think we should introduce We should also introduce Code looks good to me. Thanks @jotak |
Actually I should mention this was with the default filters, that include "SrcType=Pod && DstType=Pod" ; without those filters we wouldn't get such a difference I guess
Yeah but always keeping in mind the cardinality aspect: latencies can have pretty much any value so that would certainly generate too big indexes. But when values are bounded, like states, causes or codes, yeah that could do it.
|
@jotak: This pull request references NETOBSERV-314 which is a valid jira issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@jotak: This pull request references NETOBSERV-314 which is a valid jira issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
New changes are detected. LGTM label has been removed. |
as discussed in jira, this is dev-only PR |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jotak The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@Amoghrd @nathan-weinberg marking this PR as breaking change as it requires this PR + netobserv/network-observability-console-plugin#380 to work correctly. Any pending console PR that doesn't contains these changes will show "No result found" in every tab |
Description
Index duplicate field in Loki to improve query performance.
This is a very low cardinality field (2), and very used in queries, so it is an obvious improvement to do
Dependencies
Checklist
If you are not familiar with our processes or don't know what to answer in the list below, let us know in a comment: the maintainers will take care of that.