mirror of
https://github.com/ossf/scorecard.git
synced 2024-11-09 17:32:13 +03:00
Register RepoRuntime View in PubSub worker. (#565)
Co-authored-by: Azeem Shaikh <azeems@google.com>
This commit is contained in:
parent
88f645bb76
commit
f9a72fa225
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user