Renamed TagMap() -> Tags(), MetaMap() -> Meta

This commit is contained in:
Holger Obermaier
2022-02-01 14:49:09 +01:00
parent 0e70b663ee
commit 00fdb189a4
4 changed files with 13 additions and 13 deletions

View File

@@ -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() {