This CLI tool compares series returned from Metrictank and proxy (Graphite). This is useful when writing native Metrictank functions.
mtcmptest [-url] [-range] [-verbose] <files>
urlspecifies the url of the query (e.g.http://metrictank.host.com/render)rangeis given in seconds. Translates tofromanduntilparameters, whereuntilis always current timeverboseis set for more output about requestsfilesis a list of json files in the following format:
{
"test-name-1": "target1",
"test-name-2": "target2",
}
- Sort series to not fail tests when series are in different orders
- Sanitize tags to always be strings
- Add performance comparison