OpenTSDB / opentsdb

A scalable, distributed Time Series Database.
http://opentsdb.net
GNU Lesser General Public License v2.1
5k stars 1.25k forks source link

same query but result error #1022

Open jinzhencs opened 7 years ago

jinzhencs commented 7 years ago

{ "start": "1h-ago", "queries": [ { "aggregator": "sum", "metric": "mcctest11", "downsample":"all-sum", "rate":"false", "filters": [ { "type":"wildcard", "tagk":"provider", "filter":"*", "groupBy":"true" }, { "type":"wildcard", "tagk":"service.name", "filter":"*", "groupBy":"false" } ] } ] }

result: [ { "metric": "mcctest11", "tags": { "service.name": "galileo_test", "provider": "cn" }, "aggregateTags": [], "dps": { "1499937109": 20951 } }, { "metric": "mcctest11", "tags": { "service.name": "galileo_test", "provider": "baiwu" }, "aggregateTags": [], "dps": { "1499937109": 19933 } }, { "metric": "mcctest11", "tags": { "service.name": "galileo_test", "provider": "tencent" }, "aggregateTags": [], "dps": { "1499937109": 20244 } } ]


{ "start": "1h-ago", "queries": [ { "aggregator": "sum", "metric": "mcctest11", "downsample":"all-sum", "rate":"false", "filters": [ { "type":"wildcard", "tagk":"provider", "filter":"*", "groupBy":"true" }, { "type":"literal_or", "tagk":"service.name", "filter":"galileo_test", "groupBy":"false" } ] } ] }

result

[]


very strange, boss say could be meta data error,

when i change galileo_test > galileo

two example result is same.

what is the problem?

i write data 30min agao.

manolama commented 7 years ago

yeah that's an odd one. Which version of OpenTSDB are you using?