mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-07-17 01:15:23 +00:00
remove unused codes
This commit is contained in:
parent
0f667d967e
commit
34f16e244d
@ -29,18 +29,3 @@ export const listMetrics = {
|
|||||||
}
|
}
|
||||||
`,
|
`,
|
||||||
};
|
};
|
||||||
|
|
||||||
export const queryHeatMap = {
|
|
||||||
variable: ["$condition: MetricsCondition!, $duration: Duration!"],
|
|
||||||
query: `
|
|
||||||
readHeatMap: readHeatMap(condition: $condition, duration: $duration) {
|
|
||||||
values {
|
|
||||||
id
|
|
||||||
values
|
|
||||||
}
|
|
||||||
buckets {
|
|
||||||
min
|
|
||||||
max
|
|
||||||
}
|
|
||||||
}`,
|
|
||||||
};
|
|
||||||
|
@ -14,14 +14,8 @@
|
|||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
import {
|
import { TypeOfMetrics, listMetrics } from "../fragments/dashboard";
|
||||||
TypeOfMetrics,
|
|
||||||
queryHeatMap,
|
|
||||||
listMetrics,
|
|
||||||
} from "../fragments/dashboard";
|
|
||||||
|
|
||||||
export const queryTypeOfMetrics = `query typeOfMetrics(${TypeOfMetrics.variable}) {${TypeOfMetrics.query}}`;
|
export const queryTypeOfMetrics = `query typeOfMetrics(${TypeOfMetrics.variable}) {${TypeOfMetrics.query}}`;
|
||||||
|
|
||||||
export const readHeatMap = `query queryData(${queryHeatMap.variable}) {${queryHeatMap.query}}`;
|
|
||||||
|
|
||||||
export const queryMetrics = `query queryData(${listMetrics.variable}) {${listMetrics.query}}`;
|
export const queryMetrics = `query queryData(${listMetrics.variable}) {${listMetrics.query}}`;
|
||||||
|
Loading…
Reference in New Issue
Block a user