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

feat(processors.starlark): Allow persistence of global state #15170

Merged
merged 2 commits into from
Apr 25, 2024

Conversation

srebhan
Copy link
Member

@srebhan srebhan commented Apr 16, 2024

Summary

Add the possibility to persist the state of the starlark processor. To use the feature you should not define the global state explicitly but rather rely on the implicit declaration!

Checklist

  • No AI generated code was used in this PR

Related issues

resolves #14704

@telegraf-tiger telegraf-tiger bot added area/starlark feat Improvement on an existing feature such as adding a new setting/mode to an existing plugin plugin/processor labels Apr 16, 2024
@telegraf-tiger
Copy link
Contributor

@srebhan srebhan added the ready for final review This pull request has been reviewed and/or tested by multiple users and is ready for a final review. label Apr 22, 2024
@srebhan srebhan assigned powersj and DStrand1 and unassigned srebhan Apr 22, 2024
@powersj powersj removed their assignment Apr 23, 2024
@DStrand1 DStrand1 merged commit 2743339 into influxdata:master Apr 25, 2024
26 checks passed
@github-actions github-actions bot added this to the v1.31.0 milestone Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/starlark feat Improvement on an existing feature such as adding a new setting/mode to an existing plugin plugin/processor ready for final review This pull request has been reviewed and/or tested by multiple users and is ready for a final review.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

starlark global state - save into statefile?
3 participants