Commit Graph

25 Commits

Author SHA1 Message Date
Andreas Deininger 5f5a56ed01
docs: Fix typos (#14376) 2024-01-05 22:34:02 +01:00
Sven Rebhan 57fbc73814
fix(processors.starlark): Avoid negative refcounts for tracking metrics (#14395) 2023-12-07 08:45:09 -07:00
Thomas Casteleyn 193479a988
feat(config): Deprecate `fieldpass` and `fielddrop` modifiers (#14012) 2023-12-04 08:22:12 -07:00
James Sorensen f6478ed128
feat: Starlark processor example for processing sparkplug_b messages (#9513) 2021-10-05 08:37:41 -06:00
David Bennett da5991d16c
Add time.now() starlark processor example test. (#9133) 2021-04-19 11:14:53 -04:00
Nicolas Filotto c66ccee46f
Allow to specify nanoseconds to timestamp in Starlark Processor (#9105) 2021-04-08 14:02:29 -04:00
Helen Weller 885bf273a9
Starlark script for renaming prometheus remote write metrics (#9074) 2021-03-31 15:08:34 -04:00
Nicolas Filotto 991efd5e12
Add the math module to the Starlark Processor (#9042) 2021-03-24 14:51:15 -04:00
Nicolas Filotto f267f342ae
Add support of the time module in Starlark Processor (#9004) 2021-03-23 13:45:29 -04:00
Peter (Stig) Edwards 67e8d766c5
Add a starlark example showing how to obtain IOPS (#8996) 2021-03-18 11:39:29 -04:00
Sam Dillard 380911ffb3
Add Starlark parsing example of nested JSON (#8675)
* Add Starlark parsing example of nested JSON

* add correct Example Input and Output fields to make script testable

* removed logging from script

* remove logging.star load statement
2021-03-09 10:24:57 -06:00
Sam Dillard 858bcd4bba
Add field key length output by field type in schema_sizing Starlark script (#8934) 2021-03-05 10:20:24 -05:00
Sam Dillard 30a0fd04cd
Add Starlark script for estimating Line Protocol cardinality (#8852) 2021-03-02 16:55:27 -05:00
Nicolas Filotto 01fc69da47
Add the shared state to the global scope to get previous data (#8447) 2020-11-30 15:44:21 -05:00
Steven Soroka 42eacb3a42 add log warning to starlark drop-fields example 2020-11-27 12:20:21 -05:00
Sven Rebhan 0ce55bbd4a
Starlark example dropbytype (#8438) 2020-11-27 11:28:12 -05:00
Nicolas Filotto bbd4e80409
Show how to return a custom error with the Starlark processor (#8439) 2020-11-20 11:28:56 -05:00
Nicolas Filotto ee861fdeed
Show how to return several metrics with the Starlark processor (#8423) 2020-11-17 16:13:25 -05:00
Nicolas Filotto 0c15569174
Support logging in starlark (#8408) 2020-11-16 15:22:40 -05:00
Steven Soroka a475d765fb
add json parsing support to starlark (#8168) 2020-09-29 17:37:54 -04:00
Steven Soroka bbc2aa660d
improve the quality of starlark docs by executing them as tests (#8020) 2020-08-24 11:35:29 -04:00
Samantha Wang 901e63e37d
add example input/outputs to starlark examples (#7980)
* add sample input/outputs to starlark examples

* update ratio.star with example input/outputs

* Update rename.star

* update scale.star with input/output examples

* fix spacing

* fix spacing
2020-08-19 19:26:35 -04:00
Sam Dillard 6c4636b860
add pivot example for starlark processor (#7976) 2020-08-12 11:08:55 -04:00
Samantha Wang 903a065a0d
Add logic starlark example (#7864) 2020-07-20 19:45:25 -07:00
Daniel Nelson c7cce961c3
Add starlark processor (#7660) 2020-06-23 14:15:14 -07:00