Skip to content
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

Cost Estimate support #390

Open
3 tasks done
jam01 opened this issue Jul 5, 2024 · 1 comment
Open
3 tasks done

Cost Estimate support #390

jam01 opened this issue Jul 5, 2024 · 1 comment

Comments

@jam01
Copy link

jam01 commented Jul 5, 2024

Feature request checklist

  • There are no issues that match the desired change
  • The change is large enough it can't be addressed with a simple Pull Request
  • If this is a bug, please file a Bug Report.

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.

Example
https://pkg.go.dev/github.com/google/cel-go/checker#Cost

Alternatives considered
None

@l46kok
Copy link
Collaborator

l46kok commented Jul 8, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants