Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
schema.sql-metrics.json Maven / Gradle / Ivy
{
"displayText": "SQL",
"name": "sql-metrics",
"ttl": "PT1H",
"timestampSpec": {
"column": "timestamp",
"format": "auto"
},
"dimensionsSpec": [
{
"name": "appName",
"displayText": "Application Name",
"required": true
},
{
"name": "instanceName",
"displayText": "Instance Name",
"required": true
},
{
"name": "server",
"displayText": "Database Server",
"required": true
},
{
"name": "database",
"displayText": "database",
"required": true
}
],
"metricsSpec": [
// ---count---
{
"type": "longSum",
"name": "callCount",
"displayText": "Call Count",
"unit": ""
},
{
"type": "longSum",
"name": "errorCount",
"displayText": "error count",
"unit": ""
},
{
"type": "longSum",
"name": "queryCount",
"displayText": "query count",
"unit": ""
},
{
"type": "longSum",
"name": "updateCount",
"displayText": "update count",
"unit": ""
},
// ---timer----------------------
{
"type": "longSum",
"name": "responseTime",
"displayText": "Response Time",
"unit": "nanosecond"
},
{
"type": "longMin",
"name": "minResponseTime",
"displayText": "Min Response Time",
"unit": "nanosecond"
},
{
"type": "longLast",
"name": "maxResponseTime",
"displayText": "Max Response Time",
"unit": "nanosecond"
},
{
"type": "post",
"name": "tps",
"expression": "callCount/{interval}",
"displayText": "TPS",
"unit": "",
"valueType": "double"
},
{
"type": "post",
"name": "avgResponseTime",
"expression": "responseTime/1000.0/1000/callCount",
"displayText": "AVG Response Time",
"unit": "millisecond",
"valueType": "double"
}
]
}