You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Change
Hello, mostly wanted to confirm that the Cost and CostEstimate support is not available in Java...?
The spec mentions about applications being able to limit utilization based on the complexity of expressions, but I'm not sure these facilities are actually part of the spec itself.
If it's not, would definitely be a great addition at some point. Thanks.
Presently, cel-go is the only stack that supports cost estimation and tracking. The spec doesn't actually mandate these as a feature, but it would be a nice enhancement for cel-java. It is a fair amount of change and we aren't able to prioritize this work anytime soon, but we'd otherwise be happy to take contributions.
Feature request checklist
Change
Hello, mostly wanted to confirm that the
Cost
andCostEstimate
support is not available in Java...?The spec mentions about applications being able to limit utilization based on the complexity of expressions, but I'm not sure these facilities are actually part of the spec itself.
If it's not, would definitely be a great addition at some point. Thanks.
Example
https://pkg.go.dev/github.com/google/cel-go/checker#Cost
Alternatives considered
None
The text was updated successfully, but these errors were encountered: