blob: 85c804a3f87c188650c40c4a112cdb9ad255cba3 [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":"7da9d2e6-7c10-4ab4-ba86-fd73889608ff",
"configuration":{
"children":[
{
"x":0,
"y":0,
"w":24,
"h":33,
"i":"0",
"type":"Tab",
"children":[
{
"name":"Inspections",
"children":[
{
"x":0,
"y":0,
"w":4,
"h":6,
"i":"0",
"type":"Widget",
"metricTypes":[
"readMetricsValue"
],
"metrics":[
"meter_pg_shared_buffers"
],
"graph":{
"type":"Card",
"fontSize":40,
"textAlign":"center",
"showUnit":true
},
"metricConfig":[
{
"calculation":"byteToMB"
}
],
"widget":{
"title":"Shared Buffers (MB)"
}
},
{
"x":4,
"y":0,
"w":5,
"h":6,
"i":"1",
"type":"Widget",
"metricTypes":[
"readMetricsValue"
],
"metrics":[
"meter_pg_effective_cache"
],
"graph":{
"type":"Card",
"fontSize":40,
"textAlign":"center",
"showUnit":true
},
"metricConfig":[
{
"calculation":"byteToGB"
}
],
"widget":{
"title":"Effective Cache (GB)"
}
},
{
"x":4,
"y":6,
"w":5,
"h":6,
"i":"2",
"type":"Widget",
"metricTypes":[
"readMetricsValue"
],
"metrics":[
"meter_pg_maintenance_work_mem"
],
"graph":{
"type":"Card",
"fontSize":40,
"textAlign":"center",
"showUnit":true
},
"widget":{
"title":"Maintenance Work Mem (MB)"
},
"metricConfig":[
{
"calculation":"byteToMB"
}
]
},
{
"x":14,
"y":6,
"w":5,
"h":6,
"i":"3",
"type":"Widget",
"metricTypes":[
"readMetricsValue"
],
"metrics":[
"meter_pg_work_mem"
],
"graph":{
"type":"Card",
"fontSize":40,
"textAlign":"center",
"showUnit":true
},
"metricConfig":[
{
"calculation":"byteToMB"
}
],
"widget":{
"title":"Work Mem (MB)"
}
},
{
"x":9,
"y":0,
"w":5,
"h":6,
"i":"4",
"type":"Widget",
"metricTypes":[
"readMetricsValue"
],
"metrics":[
"meter_pg_seq_page_cost"
],
"graph":{
"type":"Card",
"fontSize":40,
"textAlign":"center",
"showUnit":true
},
"widget":{
"title":"Seq Page Cost"
}
},
{
"x":14,
"y":0,
"w":5,
"h":6,
"i":"5",
"type":"Widget",
"metricTypes":[
"readMetricsValue"
],
"metrics":[
"meter_pg_random_page_cost"
],
"graph":{
"type":"Card",
"fontSize":40,
"textAlign":"center",
"showUnit":true
},
"widget":{
"title":"Random Page Cost"
}
},
{
"x":0,
"y":6,
"w":4,
"h":6,
"i":"6",
"type":"Widget",
"metricTypes":[
"readMetricsValue"
],
"metrics":[
"meter_pg_max_wal_size"
],
"graph":{
"type":"Card",
"fontSize":40,
"textAlign":"center",
"showUnit":true
},
"widget":{
"title":"Max WAL Size (GB)"
},
"metricConfig":[
{
"calculation":"byteToGB"
}
]
},
{
"x":9,
"y":6,
"w":5,
"h":6,
"i":"7",
"type":"Widget",
"metricTypes":[
"readMetricsValue"
],
"metrics":[
"meter_pg_max_parallel_workers"
],
"graph":{
"type":"Card",
"fontSize":40,
"textAlign":"center",
"showUnit":true
},
"widget":{
"title":"Max Parallel Workers"
}
},
{
"x":19,
"y":0,
"w":5,
"h":6,
"i":"8",
"type":"Widget",
"metricTypes":[
"readMetricsValue"
],
"metrics":[
"meter_pg_max_worker_processes"
],
"graph":{
"type":"Card",
"fontSize":40,
"textAlign":"center",
"showUnit":true
},
"widget":{
"title":"Max Worker Processes"
}
},
{
"x":0,
"y":12,
"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)"
},
"value":"9",
"label":"9"
},
{
"x":6,
"y":12,
"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)"
},
"value":"10",
"label":"10"
},
{
"x":6,
"y":32,
"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)"
},
"value":"11",
"label":"11"
},
{
"x":12,
"y":12,
"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)"
},
"value":"12",
"label":"12"
},
{
"x":18,
"y":12,
"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)"
},
"value":"13",
"label":"13"
},
{
"x":0,
"y":22,
"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)"
},
"value":"14",
"label":"14"
},
{
"x":6,
"y":42,
"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
},
"value":"15",
"label":"15",
"widget":{
"title":"Temporary Files Trend (per second)"
}
},
{
"x":12,
"y":22,
"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)"
},
"value":"16",
"label":"16"
},
{
"x":6,
"y":22,
"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)"
},
"value":"17",
"label":"17"
},
{
"x":0,
"y":32,
"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 (%)"
},
"value":"18",
"label":"18"
},
{
"x":12,
"y":42,
"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)"
},
"value":"19",
"label":"19"
},
{
"x":18,
"y":22,
"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)"
},
"value":"20",
"label":"20"
},
{
"x":0,
"y":42,
"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)"
},
"value":"21",
"label":"21"
},
{
"x":12,
"y":32,
"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"
},
"value":"22",
"label":"22"
},
{
"x":18,
"y":42,
"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"
},
"value":"23",
"label":"23"
},
{
"x":18,
"y":32,
"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"
},
"value":"24",
"label":"24"
}
]
},
{
"name":"Slow Statements",
"children":[
{
"x":0,
"y":0,
"w":24,
"h":29,
"i":"0",
"type":"Widget",
"metricTypes":[
"readSampledRecords"
],
"metrics":[
"top_n_database_statement"
],
"graph":{
"type":"TopList",
"color":"purple"
},
"widget":{
"title":"Slow Statements (ms)"
},
"metricConfig":[
{
"topN":"50"
}
]
}
]
}
]
}
],
"layer":"POSTGRESQL",
"entity":"Service",
"name":"PostgreSQL-Service",
"id":"7da9d2e6-7c10-4ab4-ba86-fd73889608ff"
}
}
]