Tyler Yahn
3be9813d56
Deprecate the exporters in the "trace" and "metric" sub-directories ( #1993 )
...
* Rename exporters/metric/prometheus
* Rename exporters/trace/jaeger
* Rename exporters/trace/zipkin
* Fix dependabot config and make test
* Update README docs
* Deprecate exporters instead of remove them
* Update dependabot with old modules
* Run crosslink
* Add lint override for known deprecated pkg
* Update PR number
2021-06-12 11:39:22 -07:00
Gustavo Silva Paiva
377f7ce402
remove WithTrace* options from otlptrace exporters ( #1997 )
...
* remove WithTrace* options from otlptrace exporters
* remove old WithTraces methods usage
2021-06-11 18:27:38 -04:00
Gustavo Silva Paiva
b33edaa552
OTLP metrics gRPC exporter ( #1991 )
...
* OTLP metrics gRPC exporter
* add newline
* address comments
2021-06-11 13:25:56 -07:00
Anthony Mirabella
64b640cc26
Remove old OTLP exporter ( #1990 )
...
* Remove trace export support from exporters/otlp
Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>
* Update otlp exporter example test to use metric/global package
Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>
* Update CHANGELOG
Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>
* completely excise exporters/otlp
Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>
2021-06-11 11:18:17 -04:00
Anthony Mirabella
7728a52135
Remove dependency on metrics packages ( #1988 )
...
* Declare internal/metric module to version it separately
Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>
* Remove dependency on metrics module from soon-to-be-stable modules
Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>
* Add PR ID to CHANGELOG
Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>
* rename metric/oteltest to metric/metrictest
Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>
* Fix metrictest package name in CHANGELOG
Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>
2021-06-10 15:05:25 -04:00
Anthony Mirabella
cdf67ddfa3
Update semantic conventions to v1.4.0, move to versioned package ( #1987 )
...
* Update semantic conventions to v1.4.0, move to versioned package
Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>
* precommit wants explicit import path renaming for semconv/v1.4.0
Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>
* Fix semconv import path in stdout exporter example
Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-06-10 13:03:43 -04:00
Tyler Yahn
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
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
Tigran Najaryan
46d9687a35
Add Schema URL support to Resource ( #1938 )
...
This implements specification requirement:
https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/resource/sdk.md#resource-creation
- Changes `resource.NewWithAttributes` to require a schema URL. The old function
is still available as `resource.NewSchemaless`. This is a breaking change.
We want to encourage using schema URL and make it a conscious choice to have a
resource without schema.
- Merge schema URLs acccording to the spec in resource.Merge.
- Several builtin resource detectors now correctly populate the schema URL.
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-06-08 09:46:42 -07:00
Alex
0827aa6265
Use mock server as jaeger agent listener. ( #1930 )
...
Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-06-08 09:33:57 -07:00
csuzhang
208860127a
Bugfix jaeger exporter test panic ( #1973 )
...
* fix jaeger exporter test panic with close closed channel
* add change to CHANGELOG.md
* Update CHANGELOG.md
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-06-08 08:34:43 -07:00
dependabot[bot]
4949bf0513
Bump github.com/cenkalti/backoff/v4 from 4.1.0 to 4.1.1 in /exporters/otlp/otlptrace ( #1972 )
...
* Bump github.com/cenkalti/backoff/v4 in /exporters/otlp/otlptrace
Bumps [github.com/cenkalti/backoff/v4](https://github.com/cenkalti/backoff ) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/cenkalti/backoff/releases )
- [Commits](https://github.com/cenkalti/backoff/compare/v4.1.0...v4.1.1 )
---
updated-dependencies:
- dependency-name: github.com/cenkalti/backoff/v4
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* Auto-fix go.sum changes in dependent modules
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-06-07 09:28:36 -07:00
dependabot[bot]
015b4c17de
Bump github.com/cenkalti/backoff/v4 from 4.1.0 to 4.1.1 in /exporters/otlp ( #1970 )
...
* Bump github.com/cenkalti/backoff/v4 in /exporters/otlp
Bumps [github.com/cenkalti/backoff/v4](https://github.com/cenkalti/backoff ) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/cenkalti/backoff/releases )
- [Commits](https://github.com/cenkalti/backoff/compare/v4.1.0...v4.1.1 )
---
updated-dependencies:
- dependency-name: github.com/cenkalti/backoff/v4
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* Auto-fix go.sum changes in dependent modules
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-06-07 09:07:48 -07:00
dependabot[bot]
13eb12ac3c
Bump github.com/prometheus/client_golang from 1.10.0 to 1.11.0 in /exporters/metric/prometheus ( #1974 )
...
* Bump github.com/prometheus/client_golang in /exporters/metric/prometheus
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang ) from 1.10.0 to 1.11.0.
- [Release notes](https://github.com/prometheus/client_golang/releases )
- [Changelog](https://github.com/prometheus/client_golang/blob/master/CHANGELOG.md )
- [Commits](https://github.com/prometheus/client_golang/compare/v1.10.0...v1.11.0 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* Auto-fix go.sum changes in dependent modules
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: MrAlias <MrAlias@users.noreply.github.com>
2021-06-07 08:41:38 -07:00
Gustavo Silva Paiva
2371bb0a09
add otlp trace http exporter ( #1963 )
...
* add otlp trace http exporter
* remove `WithTraces*` options
* address discussions
* run make precommit
* rename WithURLPath option
2021-06-07 07:57:58 -07:00
dependabot[bot]
aed458026f
Bump go.opentelemetry.io/proto/otlp from 0.8.0 to 0.9.0 in /exporters/otlp/otlptrace ( #1959 )
...
* Bump go.opentelemetry.io/proto/otlp in /exporters/otlp/otlptrace
Bumps [go.opentelemetry.io/proto/otlp](https://github.com/open-telemetry/opentelemetry-proto-go ) from 0.8.0 to 0.9.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-proto-go/releases )
- [Commits](https://github.com/open-telemetry/opentelemetry-proto-go/compare/v0.8.0...v0.9.0 )
Signed-off-by: dependabot[bot] <support@github.com>
* Fix failed `go mod tidy`
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
2021-06-01 20:41:37 -04:00
dependabot[bot]
c4ebae6ae2
Bump go.opentelemetry.io/proto/otlp ( #1960 )
...
Bumps [go.opentelemetry.io/proto/otlp](https://github.com/open-telemetry/opentelemetry-proto-go ) from 0.8.0 to 0.9.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-proto-go/releases )
- [Commits](https://github.com/open-telemetry/opentelemetry-proto-go/compare/v0.8.0...v0.9.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-01 20:16:10 -04:00
dependabot[bot]
b1d2be3be7
Bump google.golang.org/grpc from 1.37.1 to 1.38.0 in /exporters/otlp/otlptrace ( #1958 )
...
* Bump google.golang.org/grpc in /exporters/otlp/otlptrace
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.37.1 to 1.38.0.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.37.1...v1.38.0 )
Signed-off-by: dependabot[bot] <support@github.com>
* Auto-fix go.sum changes in dependent modules
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-06-01 16:05:25 -07:00
dependabot[bot]
435a63b3c5
Bump github.com/google/go-cmp from 0.5.5 to 0.5.6 ( #1954 )
...
* Bump github.com/google/go-cmp from 0.5.5 to 0.5.6
Bumps [github.com/google/go-cmp](https://github.com/google/go-cmp ) from 0.5.5 to 0.5.6.
- [Release notes](https://github.com/google/go-cmp/releases )
- [Commits](https://github.com/google/go-cmp/compare/v0.5.5...v0.5.6 )
Signed-off-by: dependabot[bot] <support@github.com>
* Auto-fix go.sum changes in dependent modules
* Auto-fix go.sum changes in dependent modules
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-06-01 11:53:02 -07:00
dependabot[bot]
6c46af6698
Bump github.com/google/go-cmp from 0.5.5 to 0.5.6 in /exporters/trace/jaeger ( #1953 )
...
* Bump github.com/google/go-cmp in /exporters/trace/jaeger
Bumps [github.com/google/go-cmp](https://github.com/google/go-cmp ) from 0.5.5 to 0.5.6.
- [Release notes](https://github.com/google/go-cmp/releases )
- [Commits](https://github.com/google/go-cmp/compare/v0.5.5...v0.5.6 )
Signed-off-by: dependabot[bot] <support@github.com>
* Auto-fix go.sum changes in dependent modules
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-06-01 10:52:41 -07:00
Gustavo Silva Paiva
dfe2b6f143
OTLP trace gRPC exporter ( #1922 )
...
* draft: otlp exporter trace grpc
* address comments and improve usability
* change passthrough example to go 1.15
* code cleanups
* copy dependencies to `otlptrace`
* fix typo on makefile
* address comments
* update code with latest changes
* fix comments
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-05-27 13:47:01 -07:00
dependabot[bot]
5a8f7ff74f
Bump go.opentelemetry.io/proto/otlp from 0.8.0 to 0.9.0 in /exporters/otlp ( #1943 )
...
* Bump go.opentelemetry.io/proto/otlp in /exporters/otlp
Bumps [go.opentelemetry.io/proto/otlp](https://github.com/open-telemetry/opentelemetry-proto-go ) from 0.8.0 to 0.9.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-proto-go/releases )
- [Commits](https://github.com/open-telemetry/opentelemetry-proto-go/compare/v0.8.0...v0.9.0 )
Signed-off-by: dependabot[bot] <support@github.com>
* Auto-fix go.sum changes in dependent modules
* Remove use of depreciated StringKeyValue
* Revert example/passthrough/go.sum
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: MrAlias <MrAlias@users.noreply.github.com>
Co-authored-by: Tyler Yahn <codingalias@gmail.com>
2021-05-27 12:59:50 -07:00
Tigran Najaryan
bd935866f4
Add schema URL support to Tracer ( #1889 )
...
This adds support for schema URL to the Tracer according to the specification:
https://github.com/open-telemetry/opentelemetry-specification/pull/1666
(Link to replaced by the link to the spec after that PR is merged)
For the future: once the proto is updated we will need to populate the
schema_url field in the messages.
2021-05-27 15:22:38 -04:00
dependabot[bot]
acbb188201
Bump google.golang.org/grpc from 1.37.1 to 1.38.0 in /exporters/otlp ( #1942 )
...
* Bump google.golang.org/grpc from 1.37.1 to 1.38.0 in /exporters/otlp
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.37.1 to 1.38.0.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.37.1...v1.38.0 )
Signed-off-by: dependabot[bot] <support@github.com>
* Auto-fix go.sum changes in dependent modules
* Revert example/passthrough/go.sum
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
Co-authored-by: Tyler Yahn <codingalias@gmail.com>
2021-05-24 11:25:14 -07:00
Tyler Yahn
0eeb8f87e9
Refactor Tracestate ( #1931 )
...
* Refactor TraceState
* Update tracecontext propagator to use new TraceState
* Add TraceStateFromKeyValues to oteltest
* Use oteltest to test TraceState
* Replace IsEmpty with Len for TraceState
* Replace ParseTraceState with ParseTraceStateString
* Clean up naming
* Add immutability test for TraceState
* Add changes to changelog
* Fixes
* Document argument type change in changelog
* Address feedback
Remove circularity of TestTraceStateLen.
2021-05-24 07:53:26 -07:00
David Ashpole
d3b1280863
Add Passthrough example ( #1912 )
...
* Add passthrough example
* Update example/passthrough/handler/handler.go
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
* Update example/passthrough/README.md
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: Robert Pająk <pellared@hotmail.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
Co-authored-by: Robert Pająk <pellared@hotmail.com>
2021-05-18 14:03:10 -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
Tyler Yahn
d8ac212c02
Fix sporadic test failure in otlp exporter http driver ( #1906 )
...
* Fix sporadic test failure in otlp exporter http driver
* Shorten driver timeout
2021-05-13 09:10:03 -07:00
dependabot[bot]
fb88e926db
Bump google.golang.org/grpc from 1.37.0 to 1.37.1 in /exporters/otlp ( #1914 )
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.37.0 to 1.37.1.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.37.0...v1.37.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-12 19:59:19 -04:00
Marco Hofstetter
21c1641831
Add support for scheme in OTEL_EXPORTER_OTLP_ENDPOINT ( #1886 )
...
* Add support for scheme in OTEL_EXPORTER_OTLP_ENDPOINT according to the spec
* Changes after review from pellared
* Changes after review from pellared - 2
* Changes after review from pellared - 3
Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
2021-05-12 19:17:37 -04:00
Robert Pająk
cabf0c0782
Fix default Jaeger collector endpoint ( #1898 )
...
* Fix default Jeager collector endpoint
* Update CHANGELOG.md
2021-05-11 21:20:16 -04:00
dependabot[bot]
1e3fa3a3e0
Bump go.opentelemetry.io/proto/otlp from 0.7.0 to 0.8.0 in /exporters/otlp ( #1872 )
...
* Bump go.opentelemetry.io/proto/otlp in /exporters/otlp
Bumps [go.opentelemetry.io/proto/otlp](https://github.com/open-telemetry/opentelemetry-proto-go ) from 0.7.0 to 0.8.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-proto-go/releases )
- [Commits](https://github.com/open-telemetry/opentelemetry-proto-go/compare/v0.7.0...v0.8.0 )
Signed-off-by: dependabot[bot] <support@github.com>
* Update go.sum for OTLP using examples
* Upgrade OTLP use
* Add error when sink gets unknown metric type
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tyler Yahn <codingalias@gmail.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
2021-05-10 14:20:07 -04:00
dependabot[bot]
696af78754
Bump github.com/benbjohnson/clock from 1.0.3 to 1.1.0 in /sdk/metric ( #1532 )
...
* Bump github.com/benbjohnson/clock from 1.0.3 to 1.1.0 in /sdk/metric
Bumps [github.com/benbjohnson/clock](https://github.com/benbjohnson/clock ) from 1.0.3 to 1.1.0.
- [Release notes](https://github.com/benbjohnson/clock/releases )
- [Commits](https://github.com/benbjohnson/clock/compare/v1.0.3...v1.1.0 )
Signed-off-by: dependabot[bot] <support@github.com>
* Auto-fix go.sum changes in dependent modules
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-05-10 09:36:03 -07:00
Hu Shuai
97eea6c32f
Fix some golint issues ( #1894 )
...
Signed-off-by: Hu Shuai <hus.fnst@cn.fujitsu.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-05-10 08:27:59 -07:00
Gábor Lipták
d20e722830
CI builds validate against last two versions of Go, dropping 1.14 and adding 1.16 ( #1865 )
...
Signed-off-by: Gábor Lipták <gliptak@gmail.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-05-06 17:14:11 -04:00
Tyler Yahn
cbcd4b1a3d
Redefine ExportSpans of SpanExporter with ReadOnlySpan ( #1873 )
...
* Remove TODO from ReadOnlySpan interface
* Remove the Tracer method from the ReadOnlySpan
This is not required by the specification nor the use of this interface.
* Remove IsRecording from the ReadOnlySpan interface
A read-only span value does not need to know if updates to it will be
recorded. It by definition cannot be updated so no point in
communicating if an update would be recorded.
* Document the ReadOnlySpan interface
* Rename messageEvent* to just event*
* Move the SpanSnapshot into its own file
* Update ReadOnlySpan interface with meta info methods
Add the DroppedAttributes, DroppedLinks, DroppedEvents, and
ChildSpanCount methods to the interface to return additional information
about the span not specified by the specification, but that we are
already providing.
* Add SpanStub to the sdk/trace/tracetest pkg
* Redefine ExportSpans of SpanExporter with ReadOnlySpan
* Rename SpanSnapshot to snapshot and purge docs
* Remove Snapshot method from snapshot type
This method is a hold-over from previous version of the ReadOnlySpan
interface is not needed.
* Update CHANGELOG with changes
2021-05-04 16:45:13 -07:00
Alex
c99d5e999c
Split large jaeger span batch to admire the udp packet size limit ( #1853 )
...
* Split large jaeger span batch to admire the udp packet size
* Refactory EmitBatch and produce complaining error msg when serialization fails
* Add tests for large jaeger spans
Update CHANGELOG.md
* Update CHANGELOG.md
* Fix compatibility-test on windows.
* Add test case for exporting spans with multiple errors.
2021-05-04 14:31:41 -04:00
Iris Song
42a845093e
Unembed SpanContext ( #1877 )
...
* Unembed SpanContext
rebase branch
* Update CHANGELOG
2021-05-03 20:10:02 -04:00
Tyler Yahn
b7d02db147
Add Status type to SDK ( #1874 )
...
Add Status type to SDK
Use this type to encapsulate the Span status similar to the Event type
encapsulating a Span event and the Link type a span link.
Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
2021-05-03 12:00:54 -07:00
Tyler Yahn
9bc28f6bc6
Fix existing markdown lint issues ( #1866 )
...
* Remove empty sdk README
* Fix markdown lint issues
* Update markdownlint config to ignore single title header
* Remove broken link
2021-04-30 10:51:19 -07:00
Aaron Clawson
7674eebf56
Removed different types of Detectors for Resources. ( #1810 )
...
* Removed different types of Detectors for Resources.
This change simplifies different types of collectors into one list. The
order of this list determines how they are applied. Defaults are
applied when the user does not supply any detectors. To achieve
default behavior and additional behavior a DefaultDetectors struct has been
created
* missed prometheus test.
* Changed behavior around WithDetectors(nil)
Added examples of use of WithDetectors.
* Added NoOp example
* Changed test to reflect acutal default case
This changes because WithDetector() no longer is the same as not using WithDetector()
* Unexports the noOp detector
* Updated changelog
* Fixes to spelling mistakes.
* Added NewEmptyResouce and unexported builtin detectors
* Fix for prometheus example
* Resource has two Rs
I need to get a new R key it seems.
Co-authored-by: Sam Xie <xsambundy@gmail.com>
* Replaced NewEmptyResource() with New()
* Fix test function name
* Comment fixups.
* Apply suggestions from code review
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
Co-authored-by: Sam Xie <xsambundy@gmail.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-04-29 11:12:48 -07:00
Gustavo Silva Paiva
f92a6d8361
Implement retry policy for the OTLP/gRPC exporter ( #1832 )
...
This was heavily inspired by the retry policy from the https://github.com/open-telemetry/opentelemetry-collector code.
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-04-29 11:07:21 -07:00
Tyler Yahn
8e55f10ad5
Move the Event type from the API to the SDK ( #1846 )
...
* Move the Event type from the API to the SDK
This type is not used in the API. It is used in the SDK and then through
the processing pipelines. Move it to the package that originates its use.
* Add changes to changelog
* Update CHANGELOG.md
Co-authored-by: Gustavo Silva Paiva <guustavo.paiva@gmail.com>
Co-authored-by: Gustavo Silva Paiva <guustavo.paiva@gmail.com>
2021-04-29 10:29:48 -07:00
bryan-aguilar
0f4e454c91
Change NewSplitDriver paramater and initialization ( #1798 )
...
* Change NewSplitDriver paramater and initialization
* Update CHANGELOG.md
Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
* Update CHANGELOG.md
Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
* Update exporters/otlp/protocoldriver.go
Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
* Update exporters/otlp/protocoldriver.go
Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
* Update exporters/otlp/protocoldriver.go
Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
* Update exporters/otlp/protocoldriver.go
Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
* Move splitdriver option into options.go and rename
* Update CHANGELOG.md
Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
* Change option name and nil test to snapshots
* Update exporters/otlp/protocoldriver.go
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
* Update exporters/otlp/protocoldriver.go
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
* Update exporters/otlp/protocoldriver.go
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
* Update exporters/otlp/protocoldriver.go
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
* Update exporters/otlp/options.go
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
* Update exporters/otlp/options.go
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
* Update exporters/otlp/options.go
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
* Update exporters/otlp/options.go
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
* Change SplitDriverOption to match spec
* Update changelog entry
Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-04-23 14:51:55 -04:00
Tyler Yahn
02d8bdd5d9
Release v0.20.0 ( #1837 )
...
* Prepare for releasing v0.20.0
* Update changelog
* Add version validation test
* lint
2021-04-23 11:19:07 -07:00
Tyler Yahn
0fdc3d78a2
Remove bundler from Jaeger exporter ( #1830 )
...
* Remove bundler from Jaeger exporter
* Update dependencies
* Add changes to changelog
* Add PR number to changelog
2021-04-22 10:47:27 -04:00
Sai Nadendla
e43d9c00bc
Update Default Value for Jaeger Exporter Endpoint ( #1824 )
...
* Update Default Value for OTEL_EXPORTER_JAEGER_ENDPOINT Env Var
* update comments
* fix documentation
* update CHANGELOG
* add missing tab
* fix lint issue
Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
2021-04-21 15:02:06 -04:00
Tyler Yahn
543c8144b9
Remove the WithSDKOptions from the Jaeger exporter ( #1825 )
...
* Remove the WithSDKOptions from the Jaeger exporter
* Lint
* Setup SDK in Jaeger example
2021-04-20 16:48:34 -07:00
Gustavo Silva Paiva
70bc9eb391
Adds support for timeout on the otlp/gRPC exporter ( #1821 )
...
* initial support for timeout on otlp grpc exporter
* fix tests
* run make
* update changelog
* update changelog
* apply suggestions
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-04-20 10:02:02 -07:00
Tyler Yahn
081cc61d98
Update Jaeger exporter convenience functions ( #1822 )
...
* Update Jaeger exporter convenience functions
* Update changelog PR numbers
* Update CHANGELOG.md
Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
* Revert removed raw exporter test
Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
2021-04-20 09:31:59 -07:00