mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2025-04-10 07:25:54 +02:00
Corrected typo
This commit is contained in:
parent
ffa2701914
commit
6bb214fc18
@ -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 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user