You've already forked opentelemetry-go
							
							
				mirror of
				https://github.com/open-telemetry/opentelemetry-go.git
				synced 2025-10-31 00:07:40 +02:00 
			
		
		
		
	Minor change: ParentSampler -> ParentBased in Zipkin example description (#1171)
* ParentSampler -> ParentBased in Zipkin example description * update CHANGELOG
This commit is contained in:
		| @@ -40,6 +40,10 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm | ||||
|    recommend the use of `newConfig()` instead of `configure()`. (#1163) | ||||
| - The `otlp.Config` type has been unexported and changed to `otlp.config`, along with its initializer. (#1163) | ||||
|  | ||||
| ### Fixed | ||||
|  | ||||
| - Zipkin example no longer mentions `ParentSampler`, corrected to `ParentBased`. (#1171) | ||||
|  | ||||
| ## [0.11.0] - 2020-08-24 | ||||
|  | ||||
| ### Added | ||||
|   | ||||
| @@ -36,7 +36,7 @@ func initTracer(url string) { | ||||
| 	// Create Zipkin Exporter and install it as a global tracer. | ||||
| 	// | ||||
| 	// For demoing purposes, always sample. In a production application, you should | ||||
| 	// configure the sampler to a trace.ParentSampler(trace.TraceIDRatioBased) set at the desired | ||||
| 	// configure the sampler to a trace.ParentBased(trace.TraceIDRatioBased) set at the desired | ||||
| 	// ratio. | ||||
| 	err := zipkin.InstallNewPipeline( | ||||
| 		url, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user