Remove Excessive Logging. Add missing labels for metrics. (#753)
Signed-off-by: Daniel Valdivia <18384552+dvaldivia@users.noreply.github.com>
This commit is contained in:
@@ -116,6 +116,8 @@ type WidgetLabel struct {
|
||||
var labels = []WidgetLabel{
|
||||
{Name: "instance"},
|
||||
{Name: "disk"},
|
||||
{Name: "server"},
|
||||
{Name: "api"},
|
||||
}
|
||||
|
||||
var widgets = []Metric{
|
||||
@@ -909,7 +911,6 @@ LabelsWaitLoop:
|
||||
|
||||
endpoint := fmt.Sprintf("%s/api/v1/%s?query=%s%s", getPrometheusURL(), apiType, url.QueryEscape(queryExpr), extraParamters)
|
||||
|
||||
log.Printf("%s \t - %d [%d] - %s\n\n", m.Title, target.Step, params.Step, endpoint)
|
||||
resp, err := http.Get(endpoint)
|
||||
if err != nil {
|
||||
log.Println(err)
|
||||
|
||||
Reference in New Issue
Block a user