blob: 21df8c774bb8a4cec859289675f5f8455b9e3d17 [file] [log] [blame]
/**
* 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":"postgresql-service",
"configuration":{
"children":[
{
"x":0,
"y":0,
"w":24,
"h":37,
"i":"0",
"type":"Tab",
"children":[
{
"name":"Inspections",
"children":[
{
"x":0,
"y":0,
"w":6,
"h":10,
"i":"9",
"type":"Widget",
"metricTypes":[
"readLabeledMetricsValues"
],
"metrics":[
"meter_pg_fetched_rows_rate"
],
"graph":{
"type":"Area",
"opacity":0.4,
"showXAxis":true,
"showYAxis":true
},
"widget":{
"title":"Fetched Rows Trend (rows per second)"
}
},
{
"x":6,
"y":0,
"w":6,
"h":10,
"i":"10",
"type":"Widget",
"metricTypes":[
"readLabeledMetricsValues"
],
"metrics":[
"meter_pg_inserted_rows_rate"
],
"graph":{
"type":"Area",
"opacity":0.4,
"showXAxis":true,
"showYAxis":true
},
"widget":{
"title":"Inserted Rows Trend (rows per second)"
}
},
{
"x":6,
"y":20,
"w":6,
"h":10,
"i":"11",
"type":"Widget",
"metricTypes":[
"readMetricsValues",
"readMetricsValues",
"readMetricsValues",
"readMetricsValues",
"readMetricsValues"
],
"metrics":[
"meter_pg_buffers_clean",
"meter_pg_buffers_backend",
"meter_pg_buffers_checkpoint",
"meter_pg_buffers_backend_fsync",
"meter_pg_buffers_alloc"
],
"graph":{
"type":"Line",
"step":false,
"smooth":false,
"showSymbol":false,
"showXAxis":true,
"showYAxis":true
},
"widget":{
"title":"Buffers Trend (per second)"
}
},
{
"x":12,
"y":0,
"w":6,
"h":10,
"i":"12",
"type":"Widget",
"metricTypes":[
"readLabeledMetricsValues"
],
"metrics":[
"meter_pg_updated_rows_rate"
],
"graph":{
"type":"Line",
"step":false,
"smooth":false,
"showSymbol":false,
"showXAxis":true,
"showYAxis":true
},
"widget":{
"title":"Updated Rows Trend (rows per second)"
}
},
{
"x":18,
"y":0,
"w":6,
"h":10,
"i":"13",
"type":"Widget",
"metricTypes":[
"readLabeledMetricsValues"
],
"metrics":[
"meter_pg_deleted_rows_rate"
],
"graph":{
"type":"Area",
"opacity":0.4,
"showXAxis":true,
"showYAxis":true
},
"widget":{
"title":"Deleted Rows Trend (rows per second)"
}
},
{
"x":0,
"y":10,
"w":6,
"h":10,
"i":"14",
"type":"Widget",
"metricTypes":[
"readLabeledMetricsValues"
],
"metrics":[
"meter_pg_returned_rows_rate"
],
"graph":{
"type":"Area",
"opacity":0.4,
"showXAxis":true,
"showYAxis":true
},
"widget":{
"title":"Returned Rows Trend (rows per second)"
}
},
{
"x":6,
"y":30,
"w":6,
"h":10,
"i":"15",
"type":"Widget",
"metricTypes":[
"readLabeledMetricsValues"
],
"metrics":[
"meter_pg_temporary_files_rate"
],
"graph":{
"type":"Line",
"step":false,
"smooth":false,
"showSymbol":false,
"showXAxis":true,
"showYAxis":true
},
"widget":{
"title":"Temporary Files Trend (per second)"
}
},
{
"x":12,
"y":10,
"w":6,
"h":10,
"i":"16",
"type":"Widget",
"metricTypes":[
"readLabeledMetricsValues"
],
"metrics":[
"meter_pg_committed_transactions_rate"
],
"graph":{
"type":"Line",
"step":false,
"smooth":false,
"showSymbol":false,
"showXAxis":true,
"showYAxis":true
},
"widget":{
"title":"Committed Transactions Trend (per second)"
}
},
{
"x":6,
"y":10,
"w":6,
"h":10,
"i":"17",
"type":"Widget",
"metricTypes":[
"readLabeledMetricsValues"
],
"metrics":[
"meter_pg_rolled_back_transactions_rate"
],
"graph":{
"type":"Line",
"step":false,
"smooth":false,
"showSymbol":false,
"showXAxis":true,
"showYAxis":true
},
"widget":{
"title":"Rolled Back Transactions Trend (per second)"
}
},
{
"x":0,
"y":20,
"w":6,
"h":10,
"i":"18",
"type":"Widget",
"metricTypes":[
"readLabeledMetricsValues"
],
"metrics":[
"meter_pg_cache_hit_rate"
],
"graph":{
"type":"Line",
"step":false,
"smooth":false,
"showSymbol":false,
"showXAxis":true,
"showYAxis":true
},
"widget":{
"title":"Cache Hit Rate (%)"
}
},
{
"x":12,
"y":30,
"w":6,
"h":10,
"i":"19",
"type":"Widget",
"metricTypes":[
"readMetricsValues",
"readMetricsValues",
"readMetricsValues",
"readMetricsValues"
],
"metrics":[
"meter_pg_checkpoint_sync_time_rate",
"meter_pg_checkpoints_timed_rate",
"meter_pg_checkpoint_req_rate",
"meter_pg_checkpoint_write_time_rate"
],
"graph":{
"type":"Line",
"step":false,
"smooth":false,
"showSymbol":false,
"showXAxis":true,
"showYAxis":true
},
"widget":{
"title":"Checkpoint Stat Trend (per second)"
}
},
{
"x":18,
"y":10,
"w":6,
"h":10,
"i":"20",
"type":"Widget",
"metricTypes":[
"readLabeledMetricsValues"
],
"metrics":[
"meter_pg_conflicts_rate"
],
"graph":{
"type":"Line",
"step":false,
"smooth":false,
"showSymbol":false,
"showXAxis":true,
"showYAxis":true
},
"widget":{
"title":"Conflicts Trend (per second)"
}
},
{
"x":0,
"y":30,
"w":6,
"h":10,
"i":"21",
"type":"Widget",
"metricTypes":[
"readLabeledMetricsValues"
],
"metrics":[
"meter_pg_deadlocks_rate"
],
"graph":{
"type":"Line",
"step":false,
"smooth":false,
"showSymbol":false,
"showXAxis":true,
"showYAxis":true
},
"widget":{
"title":"Deadlocks Trend (per second)"
}
},
{
"x":12,
"y":20,
"w":6,
"h":10,
"i":"22",
"type":"Widget",
"metricTypes":[
"readLabeledMetricsValues"
],
"metrics":[
"meter_pg_active_sessions"
],
"graph":{
"type":"Line",
"step":false,
"smooth":false,
"showSymbol":false,
"showXAxis":true,
"showYAxis":true
},
"widget":{
"title":"Active Sessions"
}
},
{
"x":18,
"y":30,
"w":6,
"h":10,
"i":"23",
"type":"Widget",
"metricTypes":[
"readLabeledMetricsValues"
],
"metrics":[
"meter_pg_locks_count"
],
"graph":{
"type":"Line",
"step":false,
"smooth":false,
"showSymbol":false,
"showXAxis":true,
"showYAxis":true
},
"widget":{
"title":"Locks"
}
},
{
"x":18,
"y":20,
"w":6,
"h":10,
"i":"24",
"type":"Widget",
"metricTypes":[
"readLabeledMetricsValues"
],
"metrics":[
"meter_pg_idle_sessions"
],
"graph":{
"type":"Line",
"step":false,
"smooth":false,
"showSymbol":false,
"showXAxis":true,
"showYAxis":true
},
"widget":{
"title":"Idle Sessions"
}
}
]
},
{
"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":32,
"i":"0",
"type":"Widget",
"metricTypes":[
"readMetricsValue",
"readMetricsValue",
"readMetricsValue",
"readMetricsValue",
"readMetricsValue"
],
"metrics":[
"meter_pg_instance_shared_buffers",
"meter_pg_instance_effective_cache",
"meter_pg_instance_seq_page_cost",
"meter_pg_instance_random_page_cost",
"meter_pg_instance_work_mem"
],
"graph":{
"type":"InstanceList",
"dashboardName":"PostgreSQL-Instance",
"fontSize":12
},
"metricConfig":[
{
"calculation":"byteToMB",
"label":"Shared Buffers (MB)"
},
{
"label":"Effective Cache (GB)",
"calculation":"byteToGB"
},
{
"label":"Seq Page Cost"
},
{
"label":"Random Page Cost"
},
{
"label":"Work Mem (MB)",
"calculation":"byteToMB"
}
]
}
]
}
]
}
],
"layer":"POSTGRESQL",
"entity":"Service",
"name":"PostgreSQL-Service",
"id":"postgresql-service"
}
}
]