diff options
author | Rasmus Dahlberg <rasmus.dahlberg@kau.se> | 2020-11-05 11:46:10 +0100 |
---|---|---|
committer | Rasmus Dahlberg <rasmus.dahlberg@kau.se> | 2020-11-05 11:46:10 +0100 |
commit | 8bb721bed66d09e27c9577d88d40cb1e48a8783d (patch) | |
tree | 8a754d85e950bb5f71c27dc055944e468dc90d25 /handler.go | |
parent | eda3037a9c52596da61d6bb4f06e7cd4d5964756 (diff) |
moved sth and sdi metrics into the signer component
Diffstat (limited to 'handler.go')
-rw-r--r-- | handler.go | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -80,7 +80,6 @@ func addEntry(ctx context.Context, i *Instance, w http.ResponseWriter, r *http.R if err != nil { return http.StatusInternalServerError, err } - lastSdiTimestamp.Set(float64(time.Now().Unix()), i.LogParameters.id()) if err := writeJsonResponse(rsp, w); err != nil { return http.StatusInternalServerError, err } @@ -217,8 +216,6 @@ func getSth(ctx context.Context, i *Instance, w http.ResponseWriter, _ *http.Req if err != nil { return http.StatusInternalServerError, err } - lastSthTimestamp.Set(float64(time.Now().Unix()), i.LogParameters.id()) - lastSthSize.Set(float64(sth.SignedTreeHeadV1.TreeHead.TreeSize), i.LogParameters.id()) if err := writeJsonResponse(rsp, w); err != nil { return http.StatusInternalServerError, err } |