Commit Graph

1 Commits

Author SHA1 Message Date
ET df25cc007e
Introduce a top-level `Version()` and `SemVersion()` function (#225)
* Introduce a top-level `Version()` and `SemVersion()` function.

These are intended to be used by submodules within the repo that need
to specify an "instrumentation version" when creating a tracer or meter.

* Included PR number in CHANGELOG

* Update contrib.go

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>

* use predeclared constant regex

* Add comment about how/when Version() string is updated

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2020-08-16 11:50:09 -04:00