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

Feature linear regression2 rpm #2046

Merged
merged 6 commits into from
Dec 28, 2022
Merged

Conversation

robert-milan
Copy link
Contributor

Needed to update testing frameworks for e2e tests

pub-djedruszczak and others added 5 commits December 26, 2022 11:33
* Add base implementation, lots todo

* Pass start and end through context jankily

* Use source timespan

* Copy series, set tag

* Rename, respect source start/end

* Use binary search to find first data point

* Some clean up, fix start bug

* Make test stricter, fix bug

* Add tests for invalid args

* Move test, small clean up

* Some cleanup

* Some cleanup

* Replace missing data points with NaN values

* Rename foreceast

* Use data point pool

* Use range fors, fix linear regression tag and name

* Set outgoing context from/to

* Try to figure out why interval is wrong

* Carpet bomb, pass correct timestamp to analysis

* Sort of working with ranges

* Fix datapoints size

* Make output size consistent with Graphite

* Remove interval deduction

* Some cleanup

* Some cleanup

* Add output series to data map

* Refactor tests

* Math is hard

* Add relative test

* Add normalization test

* Remove debug statement

* Some cleanup

* Some cleanup

* Clean up input validation

* Clean up documentation

* Remove debug statement

* Fix relative test

* Some cleanup

* Some cleanup

* Replace normalization

* Add linear regression benchmarks

* Add base implementation, lots todo

* Pass start and end through context jankily

* Use source timespan

* Copy series, set tag

* Rename, respect source start/end

* Use binary search to find first data point

* Some clean up, fix start bug

* Make test stricter, fix bug

* Add tests for invalid args

* Move test, small clean up

* Some cleanup

* Some cleanup

* Replace missing data points with NaN values

* Rename foreceast

* Use data point pool

* Use range fors, fix linear regression tag and name

* Set outgoing context from/to

* Try to figure out why interval is wrong

* Carpet bomb, pass correct timestamp to analysis

* Sort of working with ranges

* Fix datapoints size

* Make output size consistent with Graphite

* Remove interval deduction

* Some cleanup

* Some cleanup

* Add output series to data map

* Refactor tests

* Math is hard

* Add relative test

* Add normalization test

* Remove debug statement

* Some cleanup

* Some cleanup

* Clean up input validation

* Clean up documentation

* Remove debug statement

* Fix relative test

* Some cleanup

* Some cleanup

* Replace normalization

* Add linear regression benchmarks

* Use tz.GetFromTo

* Set tz.TimeZone in tests

* Fix bench

* Remove invalid input tests

* Update comment

* Make stable
Copy link
Collaborator

@shanson7 shanson7 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, otherwise LGTM

stacktest/docker/docker.go Outdated Show resolved Hide resolved
@robert-milan robert-milan merged commit 216c073 into master Dec 28, 2022
@robert-milan robert-milan deleted the feature-linearRegression2-rpm branch December 28, 2022 13:29
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.

None yet

3 participants