| /** |
| * 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. |
| */ |
| |
| [ |
| { |
| "id":"mysql-service", |
| "configuration":{ |
| "children":[ |
| { |
| "x":0, |
| "y":0, |
| "w":24, |
| "h":33, |
| "i":"0", |
| "type":"Tab", |
| "children":[ |
| { |
| "name":"Inspections", |
| "children":[ |
| { |
| "x":0, |
| "y":0, |
| "w":6, |
| "h":13, |
| "i":"1", |
| "type":"Widget", |
| "metricTypes":[ |
| "readMetricsValues" |
| ], |
| "metrics":[ |
| "meter_mysql_qps" |
| ], |
| "graph":{ |
| "type":"Line", |
| "step":false, |
| "smooth":false, |
| "showSymbol":false, |
| "showXAxis":true, |
| "showYAxis":true |
| }, |
| "widget":{ |
| "title":"Current QPS" |
| } |
| }, |
| { |
| "x":6, |
| "y":0, |
| "w":6, |
| "h":13, |
| "i":"5", |
| "type":"Widget", |
| "metricTypes":[ |
| "readMetricsValues" |
| ], |
| "metrics":[ |
| "meter_mysql_tps" |
| ], |
| "graph":{ |
| "type":"Line", |
| "step":false, |
| "smooth":false, |
| "showSymbol":false, |
| "showXAxis":true, |
| "showYAxis":true |
| }, |
| "widget":{ |
| "title":"Current TPS" |
| } |
| }, |
| { |
| "x":12, |
| "y":0, |
| "w":6, |
| "h":13, |
| "i":"6", |
| "type":"Widget", |
| "metricTypes":[ |
| "readMetricsValues", |
| "readMetricsValues", |
| "readMetricsValues", |
| "readMetricsValues" |
| ], |
| "metrics":[ |
| "meter_mysql_commands_insert_rate", |
| "meter_mysql_commands_select_rate", |
| "meter_mysql_commands_delete_rate", |
| "meter_mysql_commands_update_rate" |
| ], |
| "graph":{ |
| "type":"Area", |
| "opacity":0.4, |
| "showXAxis":true, |
| "showYAxis":true |
| }, |
| "widget":{ |
| "title":"Commands Trend (rows per second)" |
| } |
| }, |
| { |
| "x":6, |
| "y":13, |
| "w":6, |
| "h":14, |
| "i":"7", |
| "type":"Widget", |
| "metricTypes":[ |
| "readMetricsValues", |
| "readMetricsValues", |
| "readMetricsValues", |
| "readMetricsValues" |
| ], |
| "metrics":[ |
| "meter_mysql_threads_cached", |
| "meter_mysql_threads_running", |
| "meter_mysql_threads_created", |
| "meter_mysql_threads_connected" |
| ], |
| "graph":{ |
| "type":"Area", |
| "opacity":0.4, |
| "showXAxis":true, |
| "showYAxis":true |
| }, |
| "widget":{ |
| "title":"Threads" |
| } |
| }, |
| { |
| "x":0, |
| "y":13, |
| "w":6, |
| "h":13, |
| "i":"8", |
| "type":"Widget", |
| "metricTypes":[ |
| "readMetricsValues", |
| "readMetricsValues" |
| ], |
| "metrics":[ |
| "meter_mysql_connects_available", |
| "meter_mysql_connects_aborted" |
| ], |
| "graph":{ |
| "type":"Line", |
| "step":false, |
| "smooth":false, |
| "showSymbol":false, |
| "showXAxis":true, |
| "showYAxis":true |
| }, |
| "widget":{ |
| "title":"Connects" |
| } |
| }, |
| { |
| "x":18, |
| "y":0, |
| "w":6, |
| "h":13, |
| "i":"10", |
| "type":"Widget", |
| "metricTypes":[ |
| "readMetricsValues" |
| ], |
| "metrics":[ |
| "meter_mysql_slow_queries_rate" |
| ], |
| "graph":{ |
| "type":"Line", |
| "step":false, |
| "smooth":false, |
| "showSymbol":false, |
| "showXAxis":true, |
| "showYAxis":true |
| }, |
| "widget":{ |
| "title":"Slow Queries Trend (queries per second)" |
| } |
| }, |
| { |
| "x":12, |
| "y":13, |
| "w":6, |
| "h":14, |
| "i":"11", |
| "type":"Widget", |
| "metricTypes":[ |
| "readMetricsValues", |
| "readMetricsValues" |
| ], |
| "metrics":[ |
| "meter_mysql_connection_errors_internal", |
| "meter_mysql_connection_errors_max_connections" |
| ], |
| "graph":{ |
| "type":"Line", |
| "step":false, |
| "smooth":false, |
| "showSymbol":false, |
| "showXAxis":true, |
| "showYAxis":true |
| }, |
| "widget":{ |
| "title":"Connection Errors" |
| } |
| } |
| ] |
| }, |
| { |
| "name":"Slow Statements", |
| "children":[ |
| { |
| "x":0, |
| "y":0, |
| "w":24, |
| "h":29, |
| "i":"0", |
| "type":"Widget", |
| "metricTypes":[ |
| "readRecords" |
| ], |
| "metrics":[ |
| "top_n_database_statement" |
| ], |
| "graph":{ |
| "type":"TopList", |
| "color":"purple" |
| }, |
| "widget":{ |
| "title":"Slow Statements (ms)" |
| }, |
| "metricConfig":[ |
| { |
| "topN":"50" |
| } |
| ] |
| } |
| ] |
| }, |
| { |
| "name":"Instances", |
| "children":[ |
| { |
| "x":0, |
| "y":0, |
| "w":24, |
| "h":29, |
| "i":"0", |
| "type":"Widget", |
| "graph":{ |
| "type":"InstanceList", |
| "dashboardName":"MySQL-Instance", |
| "fontSize":12 |
| }, |
| "metrics":[ |
| "meter_mysql_instance_uptime" |
| ], |
| "metricTypes":[ |
| "readMetricsValue", |
| "" |
| ], |
| "metricConfig":[ |
| { |
| "calculation":"secondToDay" |
| } |
| ] |
| } |
| ] |
| } |
| ] |
| } |
| ], |
| "layer":"MYSQL", |
| "entity":"Service", |
| "name":"MySQL-Service", |
| "id":"mysql-service", |
| "isRoot":false |
| } |
| } |
| ] |