Create whitelist for all labels not used for controller or service selection to improve query performance and memory usage. #2641
Labels
E3
Estimated level of Effort (1 is easiest, 4 is hardest)
kubecost
Relevant to Kubecost's downstream project
needs-follow-up
opencost
OpenCost issues vs. external/downstream
P2
Estimated Priority (P0 is highest, P4 is lowest)
Is your feature request related to a problem? Please describe.
See #2637 . Labels can be a considerable portion of opencost and the backing prometheus memory footprint.
Describe the solution you'd like
Estimated impact: I'm guessing this would reduce the size of the stored data in prometheus by 30% or so, so likely a 30% speedup in query time and query memory usage.
Describe alternatives you've considered
There may be other improvements about what to store in memory from the k8s api; but that work won't impact prometheus memory.
The text was updated successfully, but these errors were encountered: