Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(495)

Side by Side Diff: appengine/gaemiddleware/version.go

Issue 2870293002: Introduce luci-go components version metric. (Closed)
Patch Set: luci-go/appengine is actually not imported by anything >_< Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | appengine/tsmon/standardmetrics.go » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2017 The LUCI Authors. All rights reserved.
2 // Use of this source code is governed under the Apache License, Version 2.0
3 // that can be found in the LICENSE file.
4
5 package gaemiddleware
6
7 import (
8 "github.com/luci/luci-go/common/tsmon/versions"
9 )
10
11 // Version is a semantic version of base luci-go GAE library.
12 //
13 // It is bumped whenever we add new features or fix important bugs. It is
14 // reported to monitoring as 'luci/components/version' string metric with
15 // 'component' field set to 'github.com/luci/luci-go/appengine/gaemiddleware'.
16 //
17 // It allows to track what GAE apps use what version of the library, so it's
18 // easier to detect stale code running in production.
19 const Version = "1.0.0"
20
21 func init() {
22 versions.Register("github.com/luci/luci-go/appengine/gaemiddleware", Ver sion)
23 }
OLDNEW
« no previous file with comments | « no previous file | appengine/tsmon/standardmetrics.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698