Corrected typo

This commit is contained in:
Holger Obermaier 2022-01-25 12:02:56 +01:00
parent ffa2701914
commit 6bb214fc18

View File

@ -2,25 +2,26 @@ package metricRouter
import ( import (
"encoding/json" "encoding/json"
lp "github.com/ClusterCockpit/cc-metric-collector/internal/ccMetric"
mct "github.com/ClusterCockpit/cc-metric-collector/internal/multiChanTicker"
"gopkg.in/Knetic/govaluate.v2"
"log" "log"
"os" "os"
"sync" "sync"
"time" "time"
lp "github.com/ClusterCockpit/cc-metric-collector/internal/ccMetric"
mct "github.com/ClusterCockpit/cc-metric-collector/internal/multiChanTicker"
"gopkg.in/Knetic/govaluate.v2"
) )
type metricRounterTagConfig struct { type metricRouterTagConfig struct {
Key string `json:"key"` Key string `json:"key"`
Value string `json:"value"` Value string `json:"value"`
Condition string `json:"if"` Condition string `json:"if"`
} }
type metricRouterConfig struct { type metricRouterConfig struct {
AddTags []metricRounterTagConfig `json:"add_tags"` AddTags []metricRouterTagConfig `json:"add_tags"`
DelTags []metricRounterTagConfig `json:"delete_tags"` DelTags []metricRouterTagConfig `json:"delete_tags"`
IntervalStamp bool `json:"interval_timestamp"` IntervalStamp bool `json:"interval_timestamp"`
} }
type metricRouter struct { type metricRouter struct {