contest icon indicating copy to clipboard operation
contest copied to clipboard

add template userfunc for timestamp, with configurable format

Open mimir-d opened this issue 2 years ago • 0 comments

New feature: for usage in the test descriptor template json, add a new userfunc that takes the current server timestamp and renders it in the given format spec, as a string.

Proposal:

"param_formatted": "log_{{ timestamp '%H:%m:%s' }}",
"param_unix_stamp_by_default": "log_{{ timestamp }}"

mimir-d avatar Aug 23 '22 14:08 mimir-d