Skip to content
This repository has been archived by the owner on Aug 23, 2023. It is now read-only.

add values policy to mt-fakemetrics #1773

Merged
merged 7 commits into from
Apr 16, 2020
Merged

Conversation

robert-milan
Copy link
Contributor

@robert-milan robert-milan commented Apr 15, 2020

This PR adds a value-policy option to mt-fakemetrics. It is explained in greater detail in the tool's README file.

It adds 3 options initially:

  1. single
  2. multiple
  3. timestamp

If no policy is specified the default behavior of generating a random float is still used.

Copy link
Contributor

@replay replay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One minor comment to address,

otherwise LGTM and it works in my tests

cmd/mt-fakemetrics/policy/policy.go Outdated Show resolved Hide resolved
@robert-milan robert-milan merged commit 3ae28ab into master Apr 16, 2020
@robert-milan robert-milan deleted the use-policies-in-fakemetrics branch April 16, 2020 14:41
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants