Служебные инструменты · perfmon

Производительность сайта · чтение · Чтение · perfmon_cache_job_preview

perfmon_site_perfmon_m074_readЧтение

Действия модуля perfmon.

Действия

В tools/call передайте имя инструмента, значение action и параметры действия во вложенном объекте arguments.

Предварительная проверка · Задание тестирования кеша

perfmon_cache_job_preview

Действия модуля perfmon.

maintenance_window
строка · обязательный параметр
acknowledge_quiescence
логическое значение · обязательный параметр
Схема параметров JSON
{
  "type": "object",
  "properties": {
    "maintenance_window": {
      "type": "string",
      "pattern": "^[a-f0-9]{32}$",
      "minLength": 32,
      "maxLength": 32
    },
    "acknowledge_quiescence": {
      "type": "boolean",
      "enum": [
        true
      ]
    }
  },
  "required": [
    "maintenance_window",
    "acknowledge_quiescence"
  ],
  "additionalProperties": false
}

Скачать исходное примечание

Проверить состояние · Задание тестирования кеша

perfmon_cache_job_status

Действия модуля perfmon.

job_id
строка · обязательный параметр
Схема параметров JSON
{
  "type": "object",
  "properties": {
    "job_id": {
      "type": "string",
      "pattern": "^[a-f0-9]{64}$",
      "minLength": 64,
      "maxLength": 64
    }
  },
  "required": [
    "job_id"
  ],
  "additionalProperties": false
}

Скачать исходное примечание

Предварительная проверка · Тест записи в базу данных

perfmon_db_write_benchmark_preview

Действия модуля perfmon.

Параметры не требуются. Передайте пустой объект {}.

Схема параметров JSON
{
  "type": "object",
  "additionalProperties": false,
  "properties": {},
  "required": []
}

Скачать исходное примечание

Проверить состояние · Тест записи в базу данных

perfmon_db_write_benchmark_status

Действия модуля perfmon.

expected_revision
строка · обязательный параметр
request_id
строка · обязательный параметр
Схема параметров JSON
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "expected_revision": {
      "type": "string",
      "pattern": "^[a-f0-9]{64}$(?![\\s\\S])"
    },
    "request_id": {
      "type": "string",
      "pattern": "^[a-f0-9]{32}$(?![\\s\\S])"
    }
  },
  "required": [
    "expected_revision",
    "request_id"
  ]
}

Скачать исходное примечание

Предварительная проверка · Тест производительности почты

perfmon_mail_benchmark_preview

Действия модуля perfmon.

recipient
строка · обязательный параметр
message_count
целое число · обязательный параметр
Схема параметров JSON
{
  "type": "object",
  "properties": {
    "recipient": {
      "type": "string",
      "enum": [
        "hosting_test@bitrix.ru"
      ]
    },
    "message_count": {
      "type": "integer",
      "enum": [
        1
      ]
    }
  },
  "required": [
    "recipient",
    "message_count"
  ],
  "additionalProperties": false
}

Скачать исходное примечание

Проверить состояние · Тест производительности почты

perfmon_mail_benchmark_status

Действия модуля perfmon.

recipient
строка · обязательный параметр
message_count
целое число · обязательный параметр
expected_revision
строка · обязательный параметр
request_id
строка · обязательный параметр
Схема параметров JSON
{
  "type": "object",
  "properties": {
    "recipient": {
      "type": "string",
      "enum": [
        "hosting_test@bitrix.ru"
      ]
    },
    "message_count": {
      "type": "integer",
      "enum": [
        1
      ]
    },
    "expected_revision": {
      "type": "string",
      "minLength": 64,
      "maxLength": 64,
      "pattern": "^[a-f0-9]{64}$(?![\\s\\S])"
    },
    "request_id": {
      "type": "string",
      "minLength": 32,
      "maxLength": 32,
      "pattern": "^[a-f0-9]{32}$(?![\\s\\S])"
    }
  },
  "required": [
    "recipient",
    "message_count",
    "expected_revision",
    "request_id"
  ],
  "additionalProperties": false
}

Скачать исходное примечание

Предварительная проверка · Преобразование схемы базы данных

perfmon_schema_translation_preview

Действия модуля perfmon.

table
строка · обязательный параметр

Existing exact-case base table. Native helper-aliasing dot/backtick identifiers are unsupported.

offset
целое число
limit
целое число
expected_sha256
строка
Схема параметров JSON
{
  "type": "object",
  "properties": {
    "table": {
      "type": "string",
      "minLength": 1,
      "maxLength": 64,
      "pattern": "^[^.`\\x00]+$",
      "description": "Existing exact-case base table. Native helper-aliasing dot/backtick identifiers are unsupported."
    },
    "offset": {
      "type": "integer",
      "minimum": 0,
      "maximum": 4194304,
      "default": 0
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 65536,
      "default": 4096
    },
    "expected_sha256": {
      "type": "string",
      "pattern": "^[a-f0-9]{64}$"
    }
  },
  "required": [
    "table"
  ],
  "additionalProperties": false
}

Скачать исходное примечание