/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ export const ProfileConstant = [ { label: "method", value: "Span", }, { label: "start-time", value: "Start Time", }, { label: "exec-ms", value: "Exec(ms)", }, { label: "exec-percent", value: "Exec(%)", }, { label: "self", value: "Self(ms)", }, { label: "api", value: "API", }, { label: "application", value: "Service", }, { label: "application", value: "Operation", }, ]; export const TraceConstant = [ { label: "method", value: "Method", }, { label: "start-time", value: "Start Time", }, { label: "exec-ms", value: "Exec(ms)", }, { label: "exec-percent", value: "Exec(%)", }, { label: "self", value: "Self(ms)", }, { label: "api", value: "API", }, { label: "application", value: "Service", }, ]; export const StatisticsConstant = [ { label: "method", value: "Endpoint Name", key: "endpointName", }, { label: "type", value: "Type", key: "type", }, { label: "max-time", value: "Max Time(ms)", key: "maxTime", }, { label: "min-time", value: "Min Time(ms)", key: "minTime", }, { label: "sum-time", value: "Sum Time(ms)", key: "sumTime", }, { label: "avg-time", value: "Avg Time(ms)", key: "avgTime", }, { label: "count", value: "Hits", key: "count", }, ];