Commit graph

6 commits

Author SHA1 Message Date
Fabian Reinartz f3e55cba1d Include goversion in build_info metric 2016-04-06 16:35:20 +02:00
Fabian Reinartz 77f5b9d268 Revert "Simplify runtime version code more" 2016-04-06 08:39:51 +02:00
Julius Volz 17ece74511 Simplify runtime version code more
It's no longer a build-time injected variable (as the comment above its
block indicates), so move it to the map below.
2016-04-05 23:57:22 +02:00
Fabian Reinartz 9f5ae819e2 Use runtime.Version() 2016-04-05 22:38:49 +02:00
Julius Volz 6b3c7de727 Export build information as metric.
There is more build information that could be put into labels, but
Version, Revision, and Branch seemed like the right level of detail to
me.
2015-07-07 23:29:59 -06:00
Fabian Reinartz 39edc2df7a version: move version information into separate package.
Version information is determined at build-time and thus there is
no need to pass it down from main. In its own package it can
be used from various other packages.
2015-06-16 14:48:29 +02:00