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 16:51:43 +02:00
parent cae6a1c3ac
commit e77aea4c44
12 changed files with 116 additions and 10 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ func New(opts ...Option) (s *Service, err error) {
indexMapping.DefaultAnalyzer = keyword.Name
s = &Service{
id: cfg.GRPC.Namespace + "." + "store",
id: cfg.Service.Namespace + "." + cfg.Service.Name,
log: logger,
Config: cfg,
}