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 clarification about possible values for duration/time fields #1522

Open
heitortsergent opened this issue Mar 14, 2024 · 0 comments
Open

Comments

@heitortsergent
Copy link
Collaborator

Prometheus remote write has the K6_PROMETHEUS_RW_PUSH_INTERVAL variable, which sets the push time interval based on a string value. The example in the docs says the default value is 5s, but doesn't explicitly state what are the available options for that field besides s.

We should review any duration/time fields that follow the same pattern and make sure their description is clear about what are the accepted values.

Chatting with @codebien, we use the ParseDuration which accepts s, m, h, and we also support d for days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant