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

Commit

Permalink
Merge pull request #4 from lyft/prometheus-namespace
Browse files Browse the repository at this point in the history
Change subscope to be named Datacatalog
  • Loading branch information
chanadian authored Sep 16, 2019
2 parents 0da0ffb + c83b04e commit 2ee1d75
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 2ee1d75

Please sign in to comment.