1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2025-01-10 00:29:12 +02:00
opentelemetry-go/sdk/trace
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
..
internal Rename trace.TraceID & trace.TraceIDFromHex 2020-05-03 13:48:38 +08:00
attributesMap.go Unify api/label and api/kv in new label package (#1060) 2020-08-17 20:25:03 -07:00
batch_span_processor_test.go Correct SDK trace Exporter interface (#1078) 2020-09-09 10:19:03 -07:00
batch_span_processor.go Correct SDK trace Exporter interface (#1078) 2020-09-09 10:19:03 -07:00
benchmark_test.go Correct SDK trace Exporter interface (#1078) 2020-09-09 10:19:03 -07:00
config.go Update License header for all source files (#586) 2020-03-23 22:41:10 -07:00
doc.go Update License header for all source files (#586) 2020-03-23 22:41:10 -07:00
evictedqueue_test.go Update License header for all source files (#586) 2020-03-23 22:41:10 -07:00
evictedqueue.go Update License header for all source files (#586) 2020-03-23 22:41:10 -07:00
id_generator.go Rename trace.TraceID & trace.TraceIDFromHex 2020-05-03 13:48:38 +08:00
provider.go Rename ParentOrElse sampler to ParentBased and enhance it according to the spec (#1153) 2020-09-10 12:39:04 -07:00
sampling_test.go Rename ParentOrElse sampler to ParentBased and enhance it according to the spec (#1153) 2020-09-10 12:39:04 -07:00
sampling.go Rename ParentOrElse sampler to ParentBased and enhance it according to the spec (#1153) 2020-09-10 12:39:04 -07:00
simple_span_processor_test.go Correct SDK trace Exporter interface (#1078) 2020-09-09 10:19:03 -07:00
simple_span_processor.go Correct SDK trace Exporter interface (#1078) 2020-09-09 10:19:03 -07:00
span_processor_test.go Update License header for all source files (#586) 2020-03-23 22:41:10 -07:00
span_processor.go Remove the orphaned RegisterSpanProcessor and UnregisterSpanProcessor #1077 2020-08-22 12:38:13 +02:00
span.go Convert XConfigure into constructors (#1155) 2020-09-10 15:15:17 -04:00
trace_go11.go Update License header for all source files (#586) 2020-03-23 22:41:10 -07:00
trace_nongo11.go Update License header for all source files (#586) 2020-03-23 22:41:10 -07:00
trace_test.go Rename ParentOrElse sampler to ParentBased and enhance it according to the spec (#1153) 2020-09-10 12:39:04 -07:00
trace.go Update License header for all source files (#586) 2020-03-23 22:41:10 -07:00
tracer.go Convert XConfigure into constructors (#1155) 2020-09-10 15:15:17 -04:00
util_test.go Correct SDK trace Exporter interface (#1078) 2020-09-09 10:19:03 -07:00