{"__v":0,"_id":"57fdc36f3dc6b90e003486ef","category":{"project":"566c97797831040d003eb3bc","version":"566c97797831040d003eb3bf","_id":"57fdc2b31646dc0e0010480a","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2016-10-12T04:57:23.468Z","from_sync":false,"order":6,"slug":"insights","title":"Insights"},"parentDoc":null,"project":"566c97797831040d003eb3bc","user":"57167c775d90dc170060ef97","version":{"__v":10,"_id":"566c97797831040d003eb3bf","project":"566c97797831040d003eb3bc","createdAt":"2015-12-12T21:54:01.970Z","releaseDate":"2015-12-12T21:54:01.970Z","categories":["566c977a7831040d003eb3c0","5716338cb5af590e00a0ff1d","57163947893cbe0e002d75fc","57163f41b5af590e00a0ff35","57cd74d2873de50e00724a2f","57cd7de8baaee30e0093ecc3","57d6ada046dcc30e007dd15e","57fdc2b31646dc0e0010480a","57fdd8b86c9d141900d87bf1","58767da4d89ef20f003b6f1e"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-10-12T05:00:31.527Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":1,"body":"GrapheneDB server metrics will allow you to track server errors and also request response times, as well as visualize incoming query and request throughput.\n\n[block:callout]\n{\n  \"type\": \"info\",\n  \"title\": \"Note\",\n  \"body\": \"Server metrics are part of the Insights bundle, which is available for production-ready databases: Standard and higher, and Quartz and higher in Heroku\"\n}\n[/block]\n### Data resolution and time windows\nThe measurements displayed in Metrics are aggregated in buckets of 15 minutes. To change the time window please click on the drop-down that is above the charts.\n\nThe available time windows are:\n\n* Last 3 hours\n* Last 6 hours\n* Last 12 hours\n* Last day\n* Last 3 days\n* Last week\n[block:callout]\n{\n  \"type\": \"info\",\n  \"title\": \"Selecting a time window\",\n  \"body\": \"Please note that Standard users time window is fixed to 3 hours.\"\n}\n[/block]\n## Errors\nServer errors are displayed in the chart as single red dots.\n\nThe size of the red dot will depend on the number of errors in the sampling interval window. Please read more about data resolution and sampling interval windows [here](https://dash.readme.io/project/graphenedb/v1.0/docs/about-insights).\n\nIf you hover over the error dot, additional information will be displayed.\n\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/dac7eed-errors.png\",\n        \"errors.png\",\n        975,\n        138,\n        \"#eeece9\"\n      ]\n    }\n  ]\n}\n[/block]\n## Response time\nResponse time is displayed as a single stacked plot, combining the median (50th percentile) and the 95th percentile of the response time for the selected time window.\n\n**Median response time**\nThe median response time displays the 50th percentile of HTTP requests (also Bolt) within the sampling interval, meaning that 50% of the requests to the database were completed within less time than the median, and 50% were completed within more.\n\n**95th response time**\nThe 95th percentile response time of HTTP requests (also Bolt) within the specified sampling interval, meaning that 95% of the requests to the database were completed within less time than the median, and 5% were completed within more.\n\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/e1c8c3e-responsetime.png\",\n        \"responsetime.png\",\n        975,\n        289,\n        \"#ebf1f3\"\n      ]\n    }\n  ]\n}\n[/block]\n## Requests\nNumber of requests served per minute for the selected time window. \n\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/289ed47-requests.png\",\n        \"requests.png\",\n        975,\n        278,\n        \"#f0f2f2\"\n      ]\n    }\n  ]\n}\n[/block]\n## Queries\nNumber of queries hitting the database per minute. Please note that a request can contain one or more queries.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/69d9345-queries.png\",\n        \"queries.png\",\n        975,\n        280,\n        \"#e3ebf2\"\n      ]\n    }\n  ]\n}\n[/block]","excerpt":"","slug":"server-metrics","type":"basic","title":"Server metrics"}
GrapheneDB server metrics will allow you to track server errors and also request response times, as well as visualize incoming query and request throughput. [block:callout] { "type": "info", "title": "Note", "body": "Server metrics are part of the Insights bundle, which is available for production-ready databases: Standard and higher, and Quartz and higher in Heroku" } [/block] ### Data resolution and time windows The measurements displayed in Metrics are aggregated in buckets of 15 minutes. To change the time window please click on the drop-down that is above the charts. The available time windows are: * Last 3 hours * Last 6 hours * Last 12 hours * Last day * Last 3 days * Last week [block:callout] { "type": "info", "title": "Selecting a time window", "body": "Please note that Standard users time window is fixed to 3 hours." } [/block] ## Errors Server errors are displayed in the chart as single red dots. The size of the red dot will depend on the number of errors in the sampling interval window. Please read more about data resolution and sampling interval windows [here](https://dash.readme.io/project/graphenedb/v1.0/docs/about-insights). If you hover over the error dot, additional information will be displayed. [block:image] { "images": [ { "image": [ "https://files.readme.io/dac7eed-errors.png", "errors.png", 975, 138, "#eeece9" ] } ] } [/block] ## Response time Response time is displayed as a single stacked plot, combining the median (50th percentile) and the 95th percentile of the response time for the selected time window. **Median response time** The median response time displays the 50th percentile of HTTP requests (also Bolt) within the sampling interval, meaning that 50% of the requests to the database were completed within less time than the median, and 50% were completed within more. **95th response time** The 95th percentile response time of HTTP requests (also Bolt) within the specified sampling interval, meaning that 95% of the requests to the database were completed within less time than the median, and 5% were completed within more. [block:image] { "images": [ { "image": [ "https://files.readme.io/e1c8c3e-responsetime.png", "responsetime.png", 975, 289, "#ebf1f3" ] } ] } [/block] ## Requests Number of requests served per minute for the selected time window. [block:image] { "images": [ { "image": [ "https://files.readme.io/289ed47-requests.png", "requests.png", 975, 278, "#f0f2f2" ] } ] } [/block] ## Queries Number of queries hitting the database per minute. Please note that a request can contain one or more queries. [block:image] { "images": [ { "image": [ "https://files.readme.io/69d9345-queries.png", "queries.png", 975, 280, "#e3ebf2" ] } ] } [/block]