168 lines
5.7 KiB
YAML
168 lines
5.7 KiB
YAML
# 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.
|
|
|
|
templates:
|
|
- name: "Topology Service"
|
|
type: "TOPOLOGY_SERVICE"
|
|
configuration: |-
|
|
{
|
|
"default":[
|
|
{
|
|
"width":12,
|
|
"title":"Service Apdex",
|
|
"height":"200",
|
|
"entityType":"Service",
|
|
"independentSelector":false,
|
|
"metricType":"REGULAR_VALUE",
|
|
"metricName":"service_apdex",
|
|
"queryMetricType":"readMetricsValues",
|
|
"chartType":"ChartLine",
|
|
"aggregation":"/",
|
|
"aggregationNum":"10000"
|
|
},
|
|
{
|
|
"width":12,
|
|
"title":"Service Avg Response Time",
|
|
"height":"200",
|
|
"entityType":"Service",
|
|
"independentSelector":false,
|
|
"metricType":"REGULAR_VALUE",
|
|
"metricName":"service_resp_time",
|
|
"queryMetricType":"readMetricsValues",
|
|
"chartType":"ChartLine",
|
|
"unit":"ms"
|
|
},
|
|
{
|
|
"width":12,
|
|
"title":"Successful Rate",
|
|
"height":"200",
|
|
"entityType":"Service",
|
|
"independentSelector":false,
|
|
"metricType":"REGULAR_VALUE",
|
|
"metricName":"service_sla",
|
|
"queryMetricType":"readMetricsValues",
|
|
"chartType":"ChartLine",
|
|
"unit":"%",
|
|
"aggregation":"/",
|
|
"aggregationNum":"100"
|
|
},
|
|
{
|
|
"width":12,
|
|
"title":"Service Load",
|
|
"height":"200",
|
|
"entityType":"Service",
|
|
"metricType":"REGULAR_VALUE",
|
|
"metricName":"service_cpm",
|
|
"queryMetricType":"readMetricsValues",
|
|
"chartType":"ChartLine",
|
|
"unit":"CPM - Calls Per Minute"
|
|
},
|
|
{
|
|
"width":12,
|
|
"title":"Response Time Percentile",
|
|
"height":"200",
|
|
"entityType":"Service",
|
|
"metricType":"LABELED_VALUE",
|
|
"metricName":"service_percentile",
|
|
"queryMetricType":"readLabeledMetricsValues",
|
|
"chartType":"ChartLine",
|
|
"metricLabels":"P50, P75, P90, P95, P99",
|
|
"labelsIndex":"0, 1, 2, 3, 4",
|
|
"unit":"ms"
|
|
}
|
|
],
|
|
"tcp":[
|
|
{
|
|
"width":12,
|
|
"title":"Service Apdex",
|
|
"height":"200",
|
|
"entityType":"Service",
|
|
"independentSelector":false,
|
|
"metricType":"REGULAR_VALUE",
|
|
"metricName":"service_apdex",
|
|
"queryMetricType":"readMetricsValues",
|
|
"chartType":"ChartLine",
|
|
"aggregation":"/",
|
|
"aggregationNum":"10000"
|
|
},
|
|
{
|
|
"width":12,
|
|
"title":"Response Time",
|
|
"height":"200",
|
|
"entityType":"Service",
|
|
"independentSelector":false,
|
|
"metricType":"REGULAR_VALUE",
|
|
"metricName":"service_resp_time",
|
|
"queryMetricType":"readMetricsValues",
|
|
"chartType":"ChartLine",
|
|
"unit":"ms"
|
|
},
|
|
{
|
|
"width":12,
|
|
"title":"Response Time Percentile",
|
|
"height":"200",
|
|
"entityType":"Service",
|
|
"metricType":"LABELED_VALUE",
|
|
"metricName":"service_percentile",
|
|
"queryMetricType":"readLabeledMetricsValues",
|
|
"chartType":"ChartLine",
|
|
"metricLabels":"P50, P75, P90, P95, P99",
|
|
"labelsIndex":"0, 1, 2, 3, 4",
|
|
"unit":"ms"
|
|
},
|
|
{
|
|
"width":12,
|
|
"title":"Successful Rate",
|
|
"height":"200",
|
|
"entityType":"Service",
|
|
"independentSelector":false,
|
|
"metricType":"REGULAR_VALUE",
|
|
"metricName":"service_sla",
|
|
"queryMetricType":"readMetricsValues",
|
|
"chartType":"ChartLine",
|
|
"unit":"%",
|
|
"aggregation":"/",
|
|
"aggregationNum":"100"
|
|
},
|
|
{
|
|
"width":12,
|
|
"title":"Service Load",
|
|
"height":"200",
|
|
"entityType":"Service",
|
|
"metricType":"REGULAR_VALUE",
|
|
"metricName":"service_cpm",
|
|
"queryMetricType":"readMetricsValues",
|
|
"chartType":"ChartLine",
|
|
"unit":"CPM - Calls Per Minute"
|
|
},
|
|
{
|
|
"width":12,
|
|
"title":"Throughput",
|
|
"height":"200",
|
|
"entityType":"Service",
|
|
"metricType":"REGULAR_VALUE",
|
|
"metricName":"service_throughput_received,service_throughput_sent",
|
|
"queryMetricType":"readMetricsValues",
|
|
"chartType":"ChartLine",
|
|
"unit":"PPM - Packets Per Minutes"
|
|
}
|
|
]
|
|
}
|
|
# Activated as the TOPOLOGY_INSTANCE type, makes this templates added into the UI page automatically.
|
|
# False means providing a basic template, user needs to add it manually.
|
|
activated: true
|
|
# True means wouldn't show up on the dashboard. Only keeps the definition in the storage.
|
|
disabled: false
|