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

Update API configs. (#1921)

* Added Reason to Contributing and Updated TracerConfig

* PR comment fixup

* Changed how span Options work.

* Fix Markdown linting

* Added meter configs.

* Fixes from PR comments

* fix for missing instrument

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
This commit is contained in:
Aaron Clawson
2021-05-27 09:53:56 -05:00
committed by GitHub
parent 270cc6030a
commit c1f460e097
24 changed files with 452 additions and 282 deletions

View File

@@ -116,7 +116,7 @@ func (p *TracerProvider) Tracer(name string, opts ...trace.TracerOption) trace.T
}
il := instrumentation.Library{
Name: name,
Version: c.InstrumentationVersion,
Version: c.InstrumentationVersion(),
}
t, ok := p.namedTracer[il]
if !ok {