Add a target for waiting until PLC mirror catches up
This commit is contained in:
parent
c6fe0c2350
commit
c5f3a55ac8
4 changed files with 32 additions and 1 deletions
|
|
@ -72,6 +72,7 @@ func runMain(ctx context.Context) error {
|
|||
return fmt.Errorf("failed to create server: %w", err)
|
||||
}
|
||||
http.Handle("/", server)
|
||||
http.HandleFunc("/ready", server.Ready)
|
||||
|
||||
log.Info().Msgf("Starting HTTP listener on %q...", config.MetricsPort)
|
||||
http.Handle("/metrics", promhttp.Handler())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue