Joshua MacDonald
5d1dd4ee23
Add a dimensionality-reducing metric Processor ( #1057 )
...
* Add a dimensionality-reducing metric processor
* Precommit
* Add package docs
* Remove dead code
2020-08-13 15:47:17 -07:00
Joshua MacDonald
1cdf4ee8e6
Create a export.Checkpointer API; refactor metric export pipeline test helpers ( #1055 )
...
* Add regexp filter in api/label, test
* Add regexp option to sdk.Config
* Return indistinct values only when keyRe != nil
* Filter in sdk
* Add an accumulator filter test
* SDK tests pass
* Precommit
* Undo set filters
* Backout related filter changes
* Add a new test
* Checkpoint
* Comments
* Comments in label.Set
* Lint
* Add Checkpointer
* Test refactor continues
* Refactor reducer test
* Checkpoint
* Update push_test
* Update pull controller
* Comment
* Remove pending PRs
* Remove exportertest pkg
* Revert basic changes
* Revert testing changes
* Restore processortest changes
* Precommit & comments
* Comments on pull semantics
* Comments
* Fix buggy test; incorrect expectation following error
* Finish this test
* Comments
* Apply suggestions from code review
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2020-08-13 13:12:32 -07:00
Joshua MacDonald
3a05cd9325
Change Metric Processor to merge multiple observations ( #1024 )
...
* Add regexp filter in api/label, test
* Add regexp option to sdk.Config
* Return indistinct values only when keyRe != nil
* Filter in sdk
* Add an accumulator filter test
* SDK tests pass
* Precommit
* Undo set filters
* Backout related filter changes
* Add a new test
* Fix build
* Apply suggestions from code review
Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
* Update comments
* Apply suggestions from code review
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2020-08-11 10:25:47 -07:00
Eundoo Song
4d0101ae12
Rename test packages ( #1049 )
...
* Rename processor/test to processortest
* Rename controller/test to controllertest
* Rename testharness to apitest
* Rename testtrace to tracetest
2020-08-10 13:35:15 -07:00
Tyler Yahn
c6611f4478
Move export test package to SDK ( #962 )
...
* Move export test package to SDK
* Rename package to metrictest
Follow Go std lib conventions in test package naming.
* Update import paths
2020-07-24 20:32:52 -07:00
Joshua MacDonald
3475d5575e
Fix incorrect aggregation; Prometheus exporter behavior ( #903 )
...
* Avoid applying stale udpates; add a test
* Add Memory option to basic processor
* Always use memory in the pull controller
* Test the memory option
* Precommit
* Add a Prometheus-specific test
* More comment on Memory option
* Link to 862
* Remove sleep
* Update changelog
* Comment on stale and stateless aggregators
* Update sdk/metric/processor/basic/config.go
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
Co-authored-by: Liz Fong-Jones <lizf@honeycomb.io>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2020-07-07 12:52:35 -07:00
Joshua MacDonald
2966505271
Rename Integrator to Processor ( #863 )
...
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2020-06-23 12:00:15 -07:00