Skip to content

Commit

Permalink
add metrics group
Browse files Browse the repository at this point in the history
  • Loading branch information
majst01 committed Feb 26, 2024
1 parent d2a8f58 commit 8af8fa7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,9 +170,9 @@ func run() error {
return err
}

imageCollector := metrics.MustImageMetrics(logger, c.GetImageRootPath())
kernelCollector := metrics.MustKernelMetrics(logger, c.GetKernelRootPath())
bootImageCollector := metrics.MustBootImageMetrics(logger, c.GetBootImageRootPath())
imageCollector := metrics.MustImageMetrics(logger.WithGroup("metrics"), c.GetImageRootPath())
kernelCollector := metrics.MustKernelMetrics(logger.WithGroup("metrics"), c.GetKernelRootPath())
bootImageCollector := metrics.MustBootImageMetrics(logger.WithGroup("metrics"), c.GetBootImageRootPath())

dummyRegion := "dummy" // we don't use AWS S3, we don't need a proper region
ss, err := session.NewSession(&aws.Config{
Expand Down

0 comments on commit 8af8fa7

Please sign in to comment.