apache / apache/openwhisk

Feature request: API to see how many invocations of a trigger remain

Open
#1,398 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Scala
Stars
6.8k
Forks
1.2k
Avg merge
2d 14h
Merged PRs (30d)
2

Description

When creating a trigger a developer can specify a `maxTriggers` parameter. If one isn't supplied, the trigger will run 1,000 times. The upper limit is 10,000 invocations.

Currently the `wsk trigger get` CLI command does not show how many invocations remain. Can this be enhanced to show the maxTriggers set at creation time, and how many remain?

This would give the developer a way to delete/recreate the trigger programmatically if needed when it's anticipated that the trigger is approaching its "end of life."

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.