1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2025-12-01 23:12:29 +02:00

Rename *Provider names (#1190)

* Rename *Provider names

There is overlap in naming with MeterProviders and TracerProviders. This
is means the specification is not implemented and these types can not
exist in the same package (#1179). This makes each type and related
functions and types explicit.

* Add changes to CHANGELOG
This commit is contained in:
Tyler Yahn
2020-09-23 15:16:13 -07:00
committed by GitHub
parent 5dd2962202
commit 7d71867644
49 changed files with 276 additions and 256 deletions

View File

@@ -22,7 +22,7 @@ import (
var testConfig = sdktrace.Config{DefaultSampler: sdktrace.AlwaysSample()}
func basicProvider(t *testing.T) *sdktrace.Provider {
tp := sdktrace.NewProvider(sdktrace.WithConfig(testConfig))
func basicTracerProvider(t *testing.T) *sdktrace.TracerProvider {
tp := sdktrace.NewTracerProvider(sdktrace.WithConfig(testConfig))
return tp
}