Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

No Format
GET /metrics/performance/address?period=hour&detailed=true

{
    "hostname": "suggestions.mydomain.ru",
    "version": "19.7",
    "revision": "cad9cab2d4b0",
    "period": {
        "type": "HOUR",
        "from": "2019-07-23 15:04:11",
        "to": "2019-07-23 16:17:41"
    },
    "metrics": [
        {
            "name": "address",
            "method": "SUGGEST",
            "request": {
                "count": 54,
                "client_errors": 0,
                "server_errors": 0,
                "timeouts": 0
            },
            "response_time": {
                "average": 495,
                "percentile_90": 1239,
                "percentile_95": 1535,
                "percentile_99": 3135
            },
            "search_time": {
                "average": 498,
                "percentile_90": 1239,
                "percentile_95": 1535,
                "percentile_99": 3135  
            },
            "enrich_time": {
                "average": 1006,
                "percentile_90": 2015,
                "percentile_95": 2015,
                "percentile_99": 2015
            }
        }
    ]
}
Expand
titleПример ответа до версии 19.6 (раскрыть)
No Format
GET /metrics/performance/bank?period=hour

[
    {
        "hostname": "suggestions.mydomain.ru",
        "name": "bank",
        "period": {
            "type": "HOUR",
            "from": "2018-12-07 11:35:12",
            "to": "2018-12-07 12:35:12",
        },
        "request": {
            "count": 5000,
            "client_errors": 0,
            "server_errors": 0,
            "timeouts": 0
        },
        "response_time": {
            "average": 50,
            "percentile_90": 80,
            "percentile_95": 85,
            "percentile_99": 100
        }
    }
]