Feature Request
Opening a feature request kicks off a discussion.
Proposal:
Return multiple metrics from Starlark processor plugin
Current behavior:
Currently can only return (create) one metric from the Starlark
Desired behavior:
- Return multiple metrics.
- Approaches:
- Add a new function
add() to add new metrics in the starlark processor. Use case: parse an array of json items and add one metric per item in the array
- Return an array or a tuple in the apply function. Currently we return the metric if we want to keep it. If we want to make multiple metrics from one, more natural to return multiple metrics rather than call an
add() function
Use case:
- Parse an array of json items and add one metric per item in the array
Feature Request
Opening a feature request kicks off a discussion.
Proposal:
Return multiple metrics from Starlark processor plugin
Current behavior:
Currently can only return (create) one metric from the Starlark
Desired behavior:
add()to add new metrics in the starlark processor. Use case: parse an array of json items and add one metric per item in the arrayadd()functionUse case: