Register RepoRuntime View in PubSub worker. (#565)

Co-authored-by: Azeem Shaikh <azeems@google.com>
This commit is contained in:
Azeem Shaikh 2021-06-09 18:21:34 -07:00 committed by GitHub
parent 88f645bb76
commit f9a72fa225
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -117,6 +117,7 @@ func startMetricsExporter() (monitoring.Exporter, error) {
if err := view.Register(
&stats.CheckRuntime,
&stats.RepoRuntime,
&stats.OutgoingHTTPRequests); err != nil {
return nil, fmt.Errorf("error during view.Register: %w", err)
}