1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2025-01-10 00:29:12 +02:00
opentelemetry-go/sdk
Matej Gera 0041e2d26e
Rename ParentOrElse sampler to ParentBased and enhance it according to the spec (#1153)
* Rename ParentOrElse to ParentBased and enhance it according to the spec

- Renaming of type and sampler function
- Enhancing ParentBased with sampler options
- Set default samplers for each applicable parent-based case
- Adjust ShouldSample(...) func accordingly

* Adjust existing tests for ParentBased and add new ones

- add tests for ParentBased sampler options and description
- renaming in trace_test.go

* Update CHANGELOG.md

* PR feedback

- More clearer naming of structs; add comments where missing
- Adhere to the configuration style guide

* PR feedback - punctuation
2020-09-10 12:39:04 -07:00
..
export Correct SDK trace Exporter interface (#1078) 2020-09-09 10:19:03 -07:00
instrumentation Update Tracer API with instrumentation version (#802) 2020-06-09 11:47:54 -07:00
internal Remove google.golang.org/grpc/codes dependency from API by adding an equivalent codes package (#1046) 2020-08-10 09:17:09 -07:00
metric #872 Make metric test helpers public (#1040) 2020-08-27 13:03:56 -07:00
resource Unify api/label and api/kv in new label package (#1060) 2020-08-17 20:25:03 -07:00
trace Rename ParentOrElse sampler to ParentBased and enhance it according to the spec (#1153) 2020-09-10 12:39:04 -07:00
go.mod Bump google.golang.org/grpc from 1.31.1 to 1.32.0 in /sdk (#1145) 2020-09-09 13:25:27 -04:00
go.sum Bump google.golang.org/grpc from 1.31.1 to 1.32.0 in /sdk (#1145) 2020-09-09 13:25:27 -04:00
opentelemetry.go Release v0.11.0 (#1089) 2020-08-24 22:38:37 -04:00
README.md Trace sdk (#65) 2019-08-02 13:52:55 -07:00