Joshua MacDonald
4e8d667f6e
Support a single Resource per MeterProvider in the SDK ( #2120 )
...
* Remove resource from export.Record
* fix bridge/opencensus
* partial fixes in exporters/otlp/otlpmetric
* Use go-cmp to simplify exporter_test
* OTLP http/grpc
* prometheus
* fix stdout (pending PR 2015)
* oc bridge cleanups
* Lint and changelog
* pr num
* cleanup
* revert
* fix multiple
* always merge the environment
* lint
* precommit
* qualify package names in changelog
2021-08-12 15:44:58 -07:00
Anderson Queiroz
7a0cee7b3a
Replaces golint by revive and fix newly reported linter issues ( #1946 )
...
* replaces golint by revive and fix newly reported linter issues
* add pull request ID to CHANGELOG.md
* Update internal/matchers/temporal_matcher.go
Co-authored-by: Robert Pająk <pellared@hotmail.com>
* fix pull request issues
* explains why the linter is disabled
* Update semconv/http.go
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
* Update metric/unit/unit.go
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
* restores 'example/passthrough/go.sum' to original state
* fix after rebase
* export ErrInvalidAsyncRunner again and add nolint
* Update trace/tracestate.go
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
* Update sdk/metric/sdk.go
Co-authored-by: Aaron Clawson <Aaron.Clawson@gmail.com>
* Fix ContextWithoutBaggage comment
* Fix SpanEndOption comment
Co-authored-by: Robert Pająk <pellared@hotmail.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
Co-authored-by: Aaron Clawson <Aaron.Clawson@gmail.com>
Co-authored-by: Tyler Yahn <codingalias@gmail.com>
2021-06-08 10:10:01 -07:00
Hu Shuai
ea1434c3d4
Fix some golint issues ( #1947 )
...
Signed-off-by: Hu Shuai <hus.fnst@cn.fujitsu.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-05-24 08:08:29 -07:00
Robert Pająk
d23cc61b93
Refactor configs ( #1882 )
...
* trace: Refactor sampling config
* tracer: Refactor TracerProviderConfig
* Update the changelog
* Refactor sdk/metric/controller/basic config
* Refactor sdk/metric/processor/basic config
* Refactor sdk/resource config
* Refactor oteltest config
* Refactor exporters/otlp configs
* Refactor exporters/stdout config
* Refactor exporters/trace/jaeger configs
* Refactor exporters/trace/zipkin config
* Unexport stdout.NewConfig
* Refactor zipkin.go
* Refactor provider.go
2021-05-14 13:28:28 -07:00
Louis DeLosSantos
bd0bba43b5
exporter: swap pusher for exporter ( #1656 )
...
to provide consistent naming across the code base, deprecate pusher in
favor of exporter naming convention.
Signed-off-by: ldelossa <ldelossa@redhat.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-03-08 10:00:56 -08:00
ET
8fae0a644a
Create resource.Default() with required attributes/default values ( #1507 )
...
* Create resource.Default() with required attributes/default values
Add metric controller and tracer provider tests for resources
* Updated CHANGELOG
* PR comments
+ some small CHANGELOG PR addition, rewording
+ change default resource servicename to `unknown_service:go` (this
matches the Java codebase which uses `unknown_service:java`)
2021-02-15 12:28:37 -08:00
Joshua MacDonald
dfece3d2b9
Combine the Push and Pull metric controllers ( #1378 )
...
* Push->basic
* Repackage
* Rename away from push
* Make exporter optional; export from a separate goroutine
* Move pull_test into controller_test
* Precommit pass
* New OTLP/Prom example
* Precommit
* Fix the example
* Shorten the example
* Test starting controller w/o exporter
* Test export timeout
* Remove ancient example & lint
* go.mod revert & tidy
* Comments
* Tidy a diff
* Tidy a diff
* Move export kind selector in the new example
* Split this test into its original parts
* Reduce diff size
* Changelog
* Remove extra Add/Done pair
* Remove unused stopCh param; document the Stop behavior
* Typo
* Use ctx
* Missed v0.15
* Apply PR feedback
* Precommit pass
* 0.14 -> 0.15 in new file
* Remove diff chunk markers
* Fix OTLP example
* Upstream
* dashpole comments
* aneurysm9 feedback
* Tidy go.sum
2021-01-13 17:07:44 -05:00