Fix a legal metric query adoption bug. (#6270)

This commit is contained in:
w 2021-01-28 17:41:17 +08:00 committed by GitHub
parent 0884c876fa
commit c0ed7d88da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -79,6 +79,7 @@ Release Notes.
* Add the text analyzer for querying log in the es storage.
* Chore: Remove duplicate codes in Envoy ALS handler.
* Remove the strict rule of OAL disable statement parameter.
* Fix a legal metric query adoption bug. Don't support global level metric query.
#### UI
* Fix un-removed tags in trace query.

View File

@ -58,6 +58,7 @@ public class MetricQuery implements GraphQLQueryResolver {
condition.setEntity(new MockEntity(null));
kv.setValue(query.readMetricsValue(condition, duration));
values.addKVInt(kv);
} else {
for (final String id : metrics.getIds()) {
KVInt kv = new KVInt();