add version command and add build information to metrics

Signed-off-by: David Christofas <dchristofas@owncloud.com>
This commit is contained in:
David Christofas
2020-09-25 17:05:51 +02:00
parent cae6a1c3ac
commit c05b5a3a81
12 changed files with 103 additions and 5 deletions
+1
View File
@@ -21,6 +21,7 @@ func NewService(opts ...Option) grpc.Service {
grpc.Address(options.Address),
grpc.Context(options.Context),
grpc.Flags(options.Flags...),
grpc.Version(options.Config.Server.Version),
)
var thumbnail proto.ThumbnailServiceHandler