Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Commit

Permalink
Let the first metric scope be namespaced something other than datacat…
Browse files Browse the repository at this point in the history
…alog
  • Loading branch information
chanadian committed Sep 16, 2019
1 parent 0da0ffb commit c83b04e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/rpc/datacatalogservice/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ func (s *DataCatalogService) AddTag(ctx context.Context, request *catalog.AddTag
func NewDataCatalogService() *DataCatalogService {
configProvider := runtime.NewConfigurationProvider()
dataCatalogConfig := configProvider.ApplicationConfiguration().GetDataCatalogConfig()
catalogScope := promutils.NewScope(dataCatalogConfig.MetricsScope).NewSubScope("service")
catalogScope := promutils.NewScope(dataCatalogConfig.MetricsScope).NewSubScope("datacatalog")
ctx := contextutils.WithAppName(context.Background(), "datacatalog")

// Set Keys
Expand Down

0 comments on commit c83b04e

Please sign in to comment.