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

add template userfunc for timestamp, with configurable format #142

Open
mimir-d opened this issue Aug 23, 2022 · 0 comments
Open

add template userfunc for timestamp, with configurable format #142

mimir-d opened this issue Aug 23, 2022 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@mimir-d
Copy link
Member

mimir-d commented Aug 23, 2022

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 mimir-d added enhancement New feature or request good first issue Good for newcomers labels Aug 23, 2022
@mimir-d mimir-d self-assigned this Aug 23, 2022
@mimir-d mimir-d removed their assignment May 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant