collector/summary.go
Method summaryCollector.Update
has 82 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func (c *summaryCollector) Update(ch chan<- prometheus.Metric) error {
params := url.Values{}
params.Add("start", "today")
params.Add("end", "today")
params.Add("cache", "false")