mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2025-08-14 14:52:58 +02:00
Renamed TagMap() -> Tags(), MetaMap() -> Meta
This commit is contained in:
@@ -141,10 +141,10 @@ func (r *metricRouter) EvalCondition(cond string, point lp.CCMetric) (bool, erro
|
||||
// Add metric name, tags, meta data, fields and timestamp to the parameter list
|
||||
params := make(map[string]interface{})
|
||||
params["name"] = point.Name()
|
||||
for key, value := range point.TagMap() {
|
||||
for key, value := range point.Tags() {
|
||||
params[key] = value
|
||||
}
|
||||
for key, value := range point.MetaMap() {
|
||||
for key, value := range point.Meta() {
|
||||
params[key] = value
|
||||
}
|
||||
for _, f := range point.FieldList() {
|
||||
|
Reference in New Issue
Block a user