Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
jaytaph committed Mar 10, 2021
1 parent a82d240 commit 61728f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/prometheus.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func ExportMetric() *events.APIGatewayV2HTTPResponse {
parts := strings.Split(*s, " ")

hits := result.Items[i]["hits"].N
body += fmt.Sprintf("keyresolver_request{method=\"%s\", path=\"%s\", code=%s} = %s\n", parts[0], parts[1], parts[2], *hits)
body += fmt.Sprintf("keyresolver_request{method=\"%s\", path=\"%s\", code=%s} %s\n", parts[0], parts[1], parts[2], *hits)
}
}

Expand Down

0 comments on commit 61728f5

Please sign in to comment.