Skip to content
This repository was archived by the owner on Feb 13, 2025. It is now read-only.

Conversation

@hermanschaaf
Copy link
Contributor

This PR fixes a bug in aggr that causes math operations on the resulting series to fail. It also adds tests for such cases, and refactors the aggr tests to be table-driven.

Without this fix, math operations cause an error like expr: opentsdb: bad tag: color. The tests included here were failing before the fix with such an error.

CC @kylebrandt

Herman Schaaf added 3 commits September 11, 2018 10:31
Without this fix, math operations cause an error 'expr: opentsdb: bad tag: partner' to be returned
And refactor aggr tests to be table-driven
@hermanschaaf hermanschaaf changed the title Fix aggr tags Fix math operations on results of aggr Sep 11, 2018
@hermanschaaf
Copy link
Contributor Author

The tests are failing due to timeouts, doesn't seem to have any real issues.

@hermanschaaf
Copy link
Contributor Author

@kylebrandt how does this look to you? Would be nice to get the fix in 🙇

@kylebrandt
Copy link
Member

Looks like one of the test files just needs a gofmt

@hermanschaaf
Copy link
Contributor Author

Ah, was that the issue. Thanks, it's gofmt-ed now.

@hermanschaaf
Copy link
Contributor Author

Or not... maybe I need to upgrade to Go1.10 on this machine

@hermanschaaf
Copy link
Contributor Author

Alright, it's fixed now 👍 Sorry for the delay

@kylebrandt kylebrandt merged commit 1d6c31a into bosun-monitor:master Sep 20, 2018
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.

2 participants