4883cb119d
Refactor exporter creation functions ( #1985 )
...
* Remove InstallNewPipeline/NewExportPipeline funcs
* Rename stdout NewExporter to New
* Rename prometheus NewExporter func to New
* Rename Jaeger exporter NewRawExporter func to New
* Rename zipkin exporter NewRawExporter func to New
* Rename otlp exporter creation funcs
* Rename processortest exporter creation funcs
* Update PR number in changelog
* Fix spelling error
* Rename remaining NewUnstartedExporter in otlp
* Remove unused testing file
2021-06-10 09:22:47 -07:00
ecf65d7968
Rename otel/label -> otel/attribute ( #1541 )
...
* Rename otel/label -> otel/attr
Leave the imported name alone, to avoid a large diff and conflicts
* Better import comment
* Update CHANGELOG.md
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com >
* otel/attr -> otel/attribute
* Missed the changelog entry
* Get rid of import renaming
* Merge remaining conflicts
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com >
Co-authored-by: Anthony Mirabella <a9@aneurysm9.com >
2021-02-18 12:59:37 -05:00
c56227771d
Histogram aggregator functional options ( #1434 )
...
* Add a Config/Option for histogram
* Just one option here
* Test fixes
* Support and test int64 histograms
* Changelog
* Lint
* Un-export three things.
2021-01-15 18:29:02 -05:00
49f699d657
Remove Quantile aggregation, DDSketch aggregator; add Exact timestamps ( #1412 )
...
* Remove quantile definition
* Complete removal of Quantile-related function
* Comment in selector/simple/simple.go
* Remove 'quantile' in mmsc
* Rename array->exact
* Update changelog
* Add PR number
* Rename exact benchmark
* New test for exact timestamps
* Add timestamp tests
* More test
* From feedback
* Apply suggestions from code review
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com >
* Samples->Points
* Rename
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com >
2021-01-12 10:19:13 -08:00
75d4911c95
Move metric code to a separate package ( #1321 )
...
* Move metrics code to metric package
* Update changelog
2020-11-12 07:28:32 -08:00
f9984f2d4e
Support configurable AggregationTemporality in exporters; add OTLP missing sum point temporality/monotonic fields ( #1296 )
...
* Restructure ExportKindSelector helpers; eliminate PassThroughExportKind; add StatelessExportKindSelector()
* WithExportKindSelector(); Additional testing
* Changelog update
* Test the new selectors
* From review feedback
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com >
2020-11-10 07:44:42 -08:00
e22a48de5a
chore: adds vanity import for files that don't have it. ( #1297 )
2020-11-04 09:10:58 -08:00
818c7b14b3
Move metric api package into otel
( #1252 )
...
* Update metric Kind to InstrumentKind
* Update all the other modules with Kind rename
* Update metric Descriptor with instrument Kind rename
* Update other modules with Descriptor method rename
* Update OTLP exporter test field name
* Rename kind filenames
* Add changes to CHANGELOG
* Fix documentation for Grouping and PrecomputedSum
* Rename meter.go to metric.go
* Move descriptor.go into metric.go
* Move must.go into metric.go
* Move instruments into metric_instrument.go
* Rename metric api_test.go to metric_test.go
* Move instrumentkind_test.go into metric_test.go
* Rename sdkapi.go metric_sdkapi.go
* Move api/metric into otel
* Update to use moved packages
* Rename otel.go to error_handler.go
* Add changes to CHANGELOG
* Fix merge conflict resolution error
2020-10-17 09:48:21 -07:00
f995380e58
Unify api/label
and api/kv
in new label
package ( #1060 )
...
* Move `api/label` to `label`
* Move `api/kv` package contents into `label` package
* Unify label package name
* Move `api/internal/rawhelpers.go` to `internal`
* Propagate replacing `api/kv` with `label` pkg
* golint
* Fix over-aggressive change
* Update Changelog
2020-08-17 20:25:03 -07:00
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
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
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