Skip to content
This repository has been archived by the owner on Jun 14, 2018. It is now read-only.

Commit

Permalink
added temp logging for requests per second metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott Newton committed Jan 24, 2017
1 parent 94e329c commit 14efb9b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,7 @@ func sendToWriter(ingestionType string, msgBody string, uuid string, elasticWrit
}
request.ContentLength = -1
resp, reqErr := httpClient.Do(request)
log.Infof("Sent concept with uuid %v to writer", uuid)
if reqErr != nil {
return fmt.Errorf("reqURL=[%s] concept=[%s] uuid=[%s] error=[%v]", reqURL, ingestionType, uuid, reqErr)
}
Expand Down

0 comments on commit 14efb9b

Please sign in to comment.