Skip to content

Commit

Permalink
print
Browse files Browse the repository at this point in the history
  • Loading branch information
anusha-ctrl committed Jul 31, 2023
1 parent 8b87e94 commit a2ff6f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/simulator/load/loader.go
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ func ExecuteLoader(ctx context.Context, config config.Config) error {
}
log.Info("Tx agents completed successfully.")

getOutputFromMetricsServer(metricsPort)
printOutputFromMetricsServer(metricsPort)
return nil
}

Expand Down Expand Up @@ -200,7 +200,7 @@ func startMetricsServer(ctx context.Context, metricsPort string, reg *prometheus
}
}

func getOutputFromMetricsServer(metricsPort string) {
func printOutputFromMetricsServer(metricsPort string) {
// Get response from server
resp, err := http.Get(fmt.Sprintf("http://localhost:%s%s", metricsPort, MetricsEndpoint))
if err != nil {
Expand Down

0 comments on commit a2ff6f9

Please sign in to comment.