Skip to content

Commit

Permalink
provide prometheus container name
Browse files Browse the repository at this point in the history
  • Loading branch information
nivasan1 committed Mar 15, 2024
1 parent 8056fc5 commit 4b75ab1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core/monitoring/prometheus.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,12 @@ func SetupPrometheusTask(ctx context.Context, logger *zap.Logger, p provider.Pro
"--web.console.libraries=/usr/share/prometheus/console_libraries",
"--web.console.templates=/usr/share/prometheus/consoles",
},
ContainerName: "prometheus",
ProviderSpecificConfig: opts.ProviderSpecificConfig,
})
if err != nil {
return nil, err
}

parsedPrometheusConfig, err := parsePrometheusConfig(opts)
if err != nil {
Expand Down

0 comments on commit 4b75ab1

Please sign in to comment.