Open jinzhencs opened 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 } } ]
[ { "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.
yeah that's an odd one. Which version of OpenTSDB are you using?
{ "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.