update help elma
This commit is contained in:
@ -1,20 +1,19 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="ru">
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<title>Трассировка серверных скриптов</title>
|
||||
<title>Trace server scripts</title>
|
||||
<meta name="generator" content="Help+Manual" />
|
||||
<meta name="keywords" content="" />
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="description" content="Инструмент Трассировка позволяет анализировать выполнение серверных скриптов, чтобы выявить причины задержек и устранить сбои. С его помощью в системе происходит сбор данных..." />
|
||||
<meta name="description" content="The Tracing tool helps analyze the execution of server scripts to identify the causes of delays and eliminate failures. This tool helps the system collect data about the order..." />
|
||||
<meta name="picture" content="" />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:title" content="Cправка по Low-code платформе ELMA365" />
|
||||
<meta property="og:url" content="https://elma365.com/ru/help" />
|
||||
<meta property="og:image" content="" />
|
||||
<meta property="og:site_name" content="ELMA365" />
|
||||
<meta property="og:title" content="Full documentation for BRIX365 platform. Low-code developer guide. User guide. Admin guide. Developer guide." />
|
||||
<meta property="og:url" content="https://brix365.com/en/help" />
|
||||
<meta property="og:image" content="" />
|
||||
<link rel="icon" href="favicon.png" type="image/png" />
|
||||
|
||||
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet" />
|
||||
@ -24,7 +23,6 @@
|
||||
<link rel="stylesheet" href="./article.css" />
|
||||
<link rel="stylesheet" href="./glossary.css" />
|
||||
<link rel="stylesheet" href="./theme.css" />
|
||||
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="helpman_settings.js"></script>
|
||||
<script type="text/javascript" src="helpman_topicinit.js"></script>
|
||||
@ -36,16 +34,16 @@
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-M6ETBEC1R9"></script><script>window.dataLayer=window.dataLayer || []; function gtag(){dataLayer.push(arguments);}gtag('js', new Date()); gtag('config', 'G-M6ETBEC1R9');</script>
|
||||
|
||||
<script>!function(e,t,c,n,r,a,m){e.ym=e.ym||function(){(e.ym.a=e.ym.a||[]).push(arguments)},e.ym.l=1*new Date;for(var s=0;s<document.scripts.length;s++)if(document.scripts[s].src===n)return;a=t.createElement(c),m=t.getElementsByTagName(c)[0],a.async=1,a.src=n,m.parentNode.insertBefore(a,m)}(window,document,"script","https://mc.yandex.ru/metrika/tag.js"),ym(83179930,"init",{clickmap:!0,trackLinks:!0,accurateTrackBounce:!0,webvisor:!0})</script><noscript><div><img alt=""src=https://mc.yandex.ru/watch/83179930 style=position:absolute;left:-9999px></div></noscript>
|
||||
|
||||
<header class="header elma-365">
|
||||
<div class="container">
|
||||
<a class="header__logo" href="https://elma365.com/ru/help">
|
||||
<img src="./logo.svg" alt="header logo">
|
||||
<a class="header__logo" href="https://brix365.com/en/help">
|
||||
<img src="./logo-en.svg" alt="header logo">
|
||||
</a>
|
||||
<!-- <div class="hero__search-form" id="search-panel">
|
||||
<form class="search-form" onsubmit="ym(83179930,'reachGoal','poisk')">
|
||||
<form class="search-form" onsubmit="ym(83180416,'reachGoal','poisk')">
|
||||
<label class="search-form__label">
|
||||
<span id="reset-search" class="search__icon"></span>
|
||||
<input class="search-form__input" type="text">
|
||||
@ -65,7 +63,7 @@
|
||||
</div>
|
||||
<div class="header__navi">
|
||||
|
||||
<ul class="header__list"><li><span class="solution-select"><span class="solution-select__selected"></span><svg width="7" height="4" viewBox="0 0 7 4" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 1L3.5 3.5L6 1" stroke="white" stroke-linecap="round" stroke-linejoin="round"/></svg><ul class="solution-select__list"><li><a class="project-link" href="https://elma365.com/ru/help/platform/get-trial.html">Платформа</a></li><li><a class="project-link" href="https://elma365.com/ru/help/ecm/ecm-functions.html">ECM</a></li><li><a class="project-link" href="https://elma365.com/ru/help/crm/crm_overview.html">CRM</a></li><li><a class="project-link" href="https://elma365.com/ru/help/service/service-functions.html">Service</a></li><li><a class="project-link" href="https://elma365.com/ru/help/projects/projects-functions.html">Проекты</a></li><li><a class="project-link" href="https://elma365.com/ru/help/business_solutions/-elma365-store.html">Бизнес-решения</a></li></ul></span></li><li><a href="https://api.elma365.com/ru/"target="_blank">API</a></li><li><a href="https://tssdk.elma365.com/"target="_blank">SDK</a></li><li><a href="https://community.elma365.com/" target="_blank">Community</a></li><li><a href="https://elma-academy.com/ru/" target="_blank">Академия</a></li><li><a href="https://elma365.com/ru/" target="_blank">Сайт ELMA365</a></li></ul>
|
||||
<ul class="header__list"><li><span class="solution-select"><span class="solution-select__selected"></span><svg width="7" height="4" viewBox="0 0 7 4" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 1L3.5 3.5L6 1" stroke="white" stroke-linecap="round" stroke-linejoin="round"/></svg><ul class="solution-select__list"><li><a class="project-link" href="https://brix365.com/en/help/platform/get-trial.html">Platform</a></li><li><a class="project-link" href="https://brix365.com/en/help/ecm/ecm-functions.html">ECM</a></li><li><a class="project-link" href="https://brix365.com/en/help/crm/crm_overview.html">CRM</a></li><li><a class="project-link" href="https://brix365.com/en/help/service/service-functions.html">Service</a></li><li><a class="project-link" href="https://brix365.com/en/help/projects/projects-functions.html">Projects</a></li><li><a class="project-link" href="https://brix365.com/en/help/business_solutions/-elma365-store.html">Business Solutions</a></li></ul></span></li><li><a href="https://api.brix365.com/en/" target="_blank">API</a></li><li><a href="https://tssdk.brix365.com/" target="_blank">SDK</a></li></ul>
|
||||
|
||||
|
||||
</div>
|
||||
@ -80,8 +78,8 @@
|
||||
|
||||
<aside class="sidebar" id="sidebar">
|
||||
<div class="sidebar__header">
|
||||
<a class="header__logo" href="https://elma365.com/ru/help">
|
||||
<img src="./logo-light.svg">
|
||||
<a class="header__logo" href="https://brix365.com/en/help">
|
||||
<img src="./logo-light-en.svg">
|
||||
</a>
|
||||
<span class="sidebar__close elma-365-close" id="close"></span>
|
||||
</div>
|
||||
@ -94,15 +92,15 @@
|
||||
<div class="article-inner">
|
||||
<div class="content">
|
||||
<header class="article__header">
|
||||
<div class="article__bread" style="display:flex; gap:10px;">
|
||||
<div class="article__bread" style="display:flex; gap:10px;">
|
||||
<span id="subcategory" class="search-res__item-category search-res__item-category_subcategory subcategory article__badge"></span>
|
||||
|
||||
<div class="topic__breadcrumbs">
|
||||
<p>Администрирование системы > <a href="devtools.html">Инструменты разработчика</a> / Трассировка серверных скриптов</p>
|
||||
<p>System settings > <a href="devtools.html">Developer tools</a> / Trace server scripts</p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="topic__title"><h1 class="p_Heading1"><span class="f_Heading1">Трассировка серверных скриптов</span></h1>
|
||||
<div class="topic__title"><h1 class="p_Heading1"><span class="f_Heading1">Trace server scripts</span></h1>
|
||||
</div>
|
||||
|
||||
</header>
|
||||
@ -111,87 +109,87 @@
|
||||
<a href="#h1-article" class="scroll-top"></a>
|
||||
</div>
|
||||
<!-- Placeholder for topic body. -->
|
||||
<p style="line-height: 1.28; margin: 0 0 11px 0;"><span style="font-size: 15px; font-family: Inter;">Инструмент </span><span style="font-size: 15px; font-family: Inter; font-weight: bold;">Трассировка</span><span style="font-size: 15px; font-family: Inter;"> позволяет анализировать выполнение серверных скриптов, чтобы выявить причины задержек и устранить сбои. С его помощью в системе происходит сбор данных о порядке вызова функций, времени исполнения каждого действия и возникших ошибках.</span></p>
|
||||
<p style="line-height: 1.28; margin: 0 0 11px 0;"><span style="font-size: 15px; font-family: Inter;">Данные сохраняются в виде трейсов — записей, в карточках которых можно ознакомиться с диаграммой пользовательского запроса и информацией о каждом его шаге. Все трейсы сохраняются в разделе </span><span style="font-size: 15px; font-family: Inter; font-weight: bold;">Администрирование > Инструменты разработчика</span><span style="font-size: 15px; font-family: Inter;">. Кроме того, информацию можно посмотреть в компоненте, по которому зафиксирован трейс.</span></p>
|
||||
<p style="line-height: 1.28; margin: 0 0 11px 0;"><span style="font-size: 15px; font-family: Inter;">Сбор данных доступен по серверным скриптам:</span></p>
|
||||
<p class="p_Normal">The <span style="font-weight: bold;">Tracing</span> tool helps analyze the execution of server scripts to identify the causes of delays and eliminate failures. This tool helps the system collect data about the order in which functions are called, the execution time of each activity, and errors occurred.</p>
|
||||
<p class="p_Normal">The data are saved in the form of traces. These are records where you can see the diagram of the user request and information about its each step.</p>
|
||||
<p class="p_Normal">All traces are saved in <span style="font-weight: bold;">Administration > Developer Tools.</span> In addition, you can view the information in the component for which the trace is recorded.</p>
|
||||
<p class="p_Normal">Data collection is available for the following server scripts:</p>
|
||||
<ul style="list-style-type:disc">
|
||||
<li style="line-height: 1.28; margin-top: 0; margin-right: 0; margin-bottom: 0;"><span style="font-size: 15px; font-family: Inter;">методов API в модулях;</span></li><li style="line-height: 1.28; margin-top: 0; margin-right: 0; margin-bottom: 0;"><span style="font-size: 15px; font-family: Inter;">действий в БП;</span></li><li style="line-height: 1.28; margin-top: 0; margin-right: 0; margin-bottom: 0;"><span style="font-size: 15px; font-family: Inter;">обработчиков событий;</span></li><li style="line-height: 1.28; page-break-after: avoid; margin-top: 0; margin-right: 0; margin-bottom: 0;"><span style="font-size: 15px; font-family: Inter;">бизнес-процессов;</span></li><li style="line-height: 1.28; margin-top: 0; margin-right: 0; margin-bottom: 11px;"><span style="font-size: 15px; font-family: Inter;">виджетов.</span></li></ul>
|
||||
<p style="line-height: 1.28; margin: 0 0 11px 0;"><span style="font-size: 15px; font-family: Inter;">Чтобы оптимизировать процесс сбора данных, вы можете выбрать, по каким компонентам системы включить трассировку. Например, собирать данные только по скриптам решения, над которым сейчас работаете.</span></p>
|
||||
<p style="line-height: 1.28; margin: 0 0 11px 0;"><span style="font-size: 15px; font-family: Inter;">Трейсы хранятся в системе в течение ограниченного срока. Вы можете экспортировать их, например, чтобы передать информацию об ошибке другому специалисту. Затем их можно повторно загрузить в ELMA365 для изучения</span><span style="font-size: 15px; font-family: 'Courier New',Courier,monospace;">.</span></p>
|
||||
<h2 class="p_Heading2"><span class="f_Heading2">Как использовать трассировку</span></h2>
|
||||
<p style="line-height: 1.28; margin: 0 0 11px 0;"><span style="font-size: 15px; font-family: Inter;">Вы можете применять трассировку в следующих случаях:</span></p>
|
||||
<li class="p_Normal">API methods in modules.</li><li class="p_Normal">Business process activities.</li><li class="p_Normal">Event handling.</li><li class="p_Normal">Business processes.</li><li class="p_Normal">Widgets.</li></ul>
|
||||
<p class="p_Normal">To optimize the data collection process, you can choose for which system components to enable tracing. For example, you can collect data only for the scripts of the solution you are currently working on.</p>
|
||||
<p class="p_Normal">Traces are stored in the system for a limited period. You can export them, e.g., to pass error information to another IT specialist. You can also reload the traces to BRIX for further review.</p>
|
||||
<h2 class="p_Heading2"><span class="f_Heading2">How to use tracing</span></h2>
|
||||
<p class="p_Normal">You can use tracing in the following cases:</p>
|
||||
<ul style="list-style-type:disc">
|
||||
<li style="line-height: 1.28; margin-top: 0; margin-right: 0; margin-bottom: 11px;"><span style="font-size: 15px; font-family: Inter;">чтобы узнать подробности возникшей ошибки и настроить её обработку;</span></li><li style="line-height: 1.28; margin-top: 0; margin-right: 0; margin-bottom: 11px;"><span style="font-size: 15px; font-family: Inter;">чтобы устранить причины медленного выполнения определённых участков скрипта и оптимизировать работу пользователей;</span></li><li style="line-height: 1.28; margin-top: 0; margin-right: 0; margin-bottom: 11px;"><span style="font-size: 15px; font-family: Inter;">чтобы оценить эффективность изменений после доработки решения</span><span style="font-size: 15px; font-family: 'Courier New',Courier,monospace;">.</span></li></ul>
|
||||
<p style="line-height: 1.28; margin: 0 0 11px 0;"><span style="font-size: 15px; font-family: Inter;">Рассмотрим, как использовать результаты трассировки, на примере оптимизации скриптов пользовательского бизнес‑процесса:</span></p>
|
||||
<ol style="list-style-type:decimal">
|
||||
<li value="1" style="line-height: 1.28; margin-top: 0; margin-right: 0; margin-bottom: 11px;"><span style="font-size: 15px; font-family: Inter;">Включите трассировку и добавьте бизнес-процесс в список отслеживаемых компонентов.</span></li><li value="2" style="line-height: 1.28; margin-top: 0; margin-right: 0; margin-bottom: 11px;"><span style="font-size: 15px; font-family: Inter;">Получите данные для анализа. Для этого можно использовать скрипты, имитирующие взаимодействие пользователей с процессом, или отслеживать реальную работу сотрудников</span><span style="font-size: 15px; font-family: 'Courier New',Courier,monospace;">.</span></li><li value="3" style="line-height: 1.28; margin-top: 0; margin-right: 0; margin-bottom: 11px;"><span style="font-size: 15px; font-family: Inter;">Проанализируйте данные трейсов. Обратите внимание на шаги, выполнение которых постоянно занимает длительное время, а также на повторяющиеся ошибки. Вы можете экспортировать трейсы, чтобы вернуться к их анализу позже.</span></li><li value="4" style="line-height: 1.28; margin-top: 0; margin-right: 0; margin-bottom: 11px;"><span style="font-size: 15px; font-family: Inter;">Внесите улучшения в скрипты процесса.</span></li><li value="5" style="line-height: 1.28; margin-top: 0; margin-right: 0; margin-bottom: 11px;"><span style="font-size: 15px; font-family: Inter;">Повторите шаги 1–3, чтобы снова проверить скорость выполнения скриптов и убедиться, что ошибки устранены. </span></li><li value="6" style="line-height: 1.28; margin-top: 0; margin-right: 0; margin-bottom: 11px;"><span style="font-size: 15px; font-family: Inter;">После завершения оптимизации можно прекратить сбор данных по бизнес-процессу, чтобы трейсы не занимали </span><span style="font-size: 15px; font-family: Inter; color: #1155cc;"><a href="360014165012.html" class="topiclink">место на диске</a></span><span style="font-size: 15px; font-family: Inter;">. Для этого исключите процесс из списка компонентов для отслеживания.</span></li></ol>
|
||||
<h2 class="p_Heading2"><span class="f_Heading2">Включить и настроить трассировку</span></h2>
|
||||
<li class="p_Normal">To find out the details of the error and customize its handling.</li><li class="p_Normal">To eliminate the reasons for slow execution of certain script sections and optimize the work of users.</li><li class="p_Normal">To evaluate the effectiveness of changes after the solution has been improved.</li></ul>
|
||||
<p class="p_Normal">Let's see how to use tracing results on the example of optimizing scripts of a user business process:</p>
|
||||
<ol style="list-style-type:upper-roman">
|
||||
<li value="1" class="p_Normal">Enable tracing and add a business process to the list of traced components.</li><li value="2" class="p_Normal">Obtain data for analysis. To do this, you can use scripts that simulate user interaction with the process, or you can trace the actual work of employees.</li><li value="3" class="p_Normal">Analyze the trace data. Please pay attention to the steps that consistently take a long time to complete, as well as recurring errors. You can export the traces to return to analyze them later.</li><li value="4" class="p_Normal">Make improvements to the process scripts.</li><li value="5" class="p_Normal">Repeat steps 1-3 to check the speed of execution of the scripts and make sure the errors have been resolved.</li><li value="6" class="p_Normal">Once the optimization is complete, you can stop collecting data on the business process so that the traces do not take up <a href="360014165012.html" class="topiclink">disk space</a>. To do this, exclude the process from the list of objects to track.</li></ol>
|
||||
<h2 class="p_Heading2"><span class="f_Heading2">Enable and customize tracing</span></h2>
|
||||
<p class="p_CodeExample" style="page-break-inside: avoid;"><span class="f_CodeExample">начало внимание</span></p>
|
||||
<p style="line-height: 1.28; page-break-after: avoid; margin: 0 0 11px 0;"><span style="font-size: 15px; font-family: Inter;">Настройка трассировки доступна только пользователям, входящим в группу </span><span style="font-size: 15px; font-family: Inter; color: #0563c1;"><a href="360006871932.html#administrators" class="topiclink">Администраторы</a></span><span style="font-size: 15px; font-family: 'Courier New',Courier,monospace;">.</span></p>
|
||||
<p class="p_Normal">Only users included in the <a href="360006871932.html#administrators" class="topiclink">Administrators</a> group can configure tracing.</p>
|
||||
<p class="p_CodeExample" style="page-break-inside: avoid;"><span class="f_CodeExample">конец внимание</span></p>
|
||||
<p style="line-height: 1.28; page-break-after: avoid; margin: 0 0 11px 0;"><span style="font-size: 15px; font-family: Inter;">Чтобы использовать трассировку:</span></p>
|
||||
<p class="p_Normal">To use tracing:</p>
|
||||
<ol style="list-style-type:upper-roman">
|
||||
<li value="1" style="line-height: 1.28;"><span style="font-size: 15px; font-family: Inter;">Перейдите в раздел </span><span style="font-size: 15px; font-family: Inter; font-weight: bold;">Администрирование > Инструменты разработчика</span><span style="font-size: 15px; font-family: Inter;"> и в блоке </span><span style="font-size: 15px; font-family: Inter; font-weight: bold;">Инструменты</span><span style="font-size: 15px; font-family: Inter;"> выберите </span><span style="font-size: 15px; font-family: Inter; font-weight: bold;">Трассировка</span><span style="font-size: 15px; font-family: 'Courier New',Courier,monospace;">.</span></li><li value="2" style="line-height: 1.28;"><span style="font-size: 15px; font-family: Inter;">В правом верхнем углу страницы нажмите значок шестерёнки.</span></li></ol>
|
||||
<p style="line-height: 1.28; margin: 0 0 0 34px;"><img alt="server-script-tracing-1" width="590" height="274" style="margin:0;width:590px;height:274px;border:none" src="server-script-tracing-1.png"/></p>
|
||||
<ol style="list-style-type:upper-roman" start="3">
|
||||
<li value="3" style="line-height: 1.28; page-break-after: avoid; margin-top: 0; margin-right: 0; margin-bottom: 0;"><span style="font-size: 15px; font-family: Inter;">На странице настроек включите режим трассировки.</span></li></ol>
|
||||
<p style="line-height: 1.28; margin: 0 0 0 34px;"><img alt="server-script-tracing-2" width="537" height="299" style="margin:0;width:537px;height:299px;border:none" src="server-script-tracing-2.png"/></p>
|
||||
<ol style="list-style-type:upper-roman" start="4">
|
||||
<li value="4" style="line-height: 1.28; margin-top: 0; margin-right: 0; margin-bottom: 0;"><span style="font-size: 15px; font-family: Inter;">Укажите, в рамках каких компонентов системы нужно отслеживать выполнение серверных скриптов: выберите решения, модули, разделы, а также отдельные их компоненты — бизнес‑процессы, виджеты, скрипты и т. д.</span></li></ol>
|
||||
<p style="line-height: 1.28; margin: 0 0 0 34px;"><span style="font-size: 15px; font-family: Inter;">Для этого в поле </span><span style="font-size: 15px; font-family: Inter; font-weight: bold;">Сохранять трейсы для объектов</span><span style="font-size: 15px; font-family: Inter;"> нажмите на выпадающее меню и установите флажок напротив компонентов в списке. При этом вы можете:</span></p>
|
||||
<p style="line-height: 1.28; margin: 0 0 0 34px;"><img alt="server-script-tracing-3" width="480" height="365" style="margin:0;width:480px;height:365px;border:none" src="server-script-tracing-3.png"/></p>
|
||||
<ol style="list-style-type:upper-roman" start="4"><ul style="list-style-type:disc">
|
||||
<li class="p_Normal">использовать поиск по названию;</li><li class="p_Normal">выполнять действия с вложенными компонентами:<ul style="list-style-type:circle">
|
||||
<li class="p_Normal"><img alt="tracing-select-all-icon" width="20" height="17" style="margin:0;width:20px;height:17px;border:none" src="tracing-select-all-icon.png"/> — выделить все компоненты;</li><li class="p_Normal"><img alt="tracing-deselect-all-icon" width="20" height="17" style="margin:0;width:20px;height:17px;border:none" src="tracing-deselect-all-icon.png"/> — отменить выделение;</li><li class="p_Normal"><img alt="tracing-collapse-icon" width="21" height="20" style="margin:0;width:21px;height:20px;border:none" src="tracing-collapse-icon.png"/> — свернуть список компонентов;</li><li class="p_Normal"><img alt="tracing-expand-icon" width="20" height="19" style="margin:0;width:20px;height:19px;border:none" src="tracing-expand-icon.png"/><span class="f_ImageCaption"> </span>— развернуть список.</li></ul>
|
||||
<li class="p_Normal"><span style="font-size: 15px; font-family: Inter;">сбросить список выбранных компонентов</span><span style="font-size: 15px; font-family: 'Courier New',Courier,monospace;">.</span></li></ul>
|
||||
<li value="5" class="p_Normal"><span style="font-size: 15px; font-family: Inter;">После указания компонентов для трассировки нажмите </span><span style="font-size: 15px; font-family: Inter; font-weight: bold;">Применить</span><span style="font-size: 15px; font-family: 'Courier New',Courier,monospace;">.</span></li><li value="6" class="p_Normal"><span style="font-size: 15px; font-family: Inter;">На странице настроек в полях </span><span style="font-size: 15px; font-family: Inter; font-weight: bold;">Политика хранения</span><span style="font-size: 15px; font-family: Inter;"> и </span><span style="font-size: 15px; font-family: Inter; font-weight: bold;">Политика хранения трейсов с ошибками</span><span style="font-size: 15px; font-family: Inter;"> указывается срок, после которого записи удаляются из системы:</span><ul style="list-style-type:disc">
|
||||
<li class="p_Normal"><span style="font-size: 15px; font-family: Inter;">для ELMA365 SaaS — установлен срок 15 минут. Его нельзя изменить;</span></li><li class="p_Normal"><span style="font-size: 15px; font-family: Inter;">для ELMA365 On-Premises — по умолчанию задан срок 10 дней. Это максимальное значение, его можно уменьшить.</span></li></ul>
|
||||
<li value="7" class="p_Normal"><span style="font-size: 15px; font-family: Inter;">Также на странице настроек можно узнать объём сохранённых данных и освободить место на диске, нажав </span><span style="font-size: 15px; font-family: Inter; font-weight: bold;">Очистить все трейсы</span><span style="font-size: 15px; font-family: 'Courier New',Courier,monospace;">.</span></li></ol>
|
||||
<p style="line-height: 1.28; margin: 0 0 11px 0;"><span style="font-size: 15px; font-family: Inter;">После включения трассировки вы увидите:</span></p>
|
||||
<li value="1" class="p_Normal">Go to <span style="font-weight: bold;">Administration > Developer Tools</span> and in the <span style="font-weight: bold;">Tools</span> block, select <span style="font-weight: bold;">Tracing</span>.</li><li value="2" class="p_Normal">In the upper right corner of the page, click the gear icon.<br />
|
||||
<img alt="server-script-tracing-1" width="806" height="347" style="margin:0;width:806px;height:347px;border:none" src="server-script-tracing-1.png"/></li><li value="3" class="p_Normal">On the settings page, enable the tracing mode.<br />
|
||||
<img alt="server-script-tracing-2" width="509" height="323" style="margin:0;width:509px;height:323px;border:none" src="server-script-tracing-2.png"/></li><li value="4" class="p_Normal">Specify within which system objects you want to track the execution of server scripts: select solutions, modules, workspaces, as well as their separate objects: business processes, widgets, scripts, etc.</li></ol>
|
||||
<p class="p_Normal" style="margin: 0 0 0 22px;">To do this, in the <span style="font-weight: bold;">Save traces for objects</span> field, click the drop-down menu and check the box next to the objects in the list. You can:<br />
|
||||
<img alt="server-script-tracing-3" width="491" height="501" style="margin:0;width:491px;height:501px;border:none" src="server-script-tracing-3.png"/></p>
|
||||
<ul style="list-style-type:disc">
|
||||
<li style="line-height: 1.28; margin-top: 0; margin-right: 0; margin-bottom: 0;"><span style="font-size: 15px; font-family: Inter;">все сохранённые трейсы на странице </span><span style="font-size: 15px; font-family: Inter; font-weight: bold;">Трассировка</span><span style="font-size: 15px; font-family: Inter;">;</span></li><li style="line-height: 1.28; margin-top: 0; margin-right: 0; margin-bottom: 0;"><span style="font-size: 15px; font-family: Inter;">трейсы по определённому компоненту:</span><ul style="list-style-type:circle">
|
||||
<li style="line-height: 1.28; margin-top: 0; margin-right: 0; margin-bottom: 0;"><span style="font-size: 15px; font-family: Inter;">по экземпляру бизнес-процесса — в его </span><span style="font-size: 15px; font-family: Inter; color: #0563c1;"><a href="360012498891.html#tracing" class="topiclink">карточке</a></span><span style="font-size: 15px; font-family: Inter;">, нажав на верхней панели значок </span><img alt="tracing-process-instance-icon" width="17" height="15" style="margin:0;width:17px;height:15px;border:none" src="tracing-process-instance-icon.png"/><span style="font-size: 15px; font-family: Inter;">;</span></li><li style="line-height: 1.28; margin-top: 0; margin-right: 0; margin-bottom: 0;"><span style="font-size: 15px; font-family: Inter;">по действию в БП — перейдя на странице управления модулем на вкладку </span><span style="font-size: 15px; font-family: Inter; color: #0563c1;"><a href="script-activity.html#tracing" class="topiclink">Действия в БП</a></span><span style="font-size: 15px; font-family: Inter;"> и открыв действие;</span></li><li style="line-height: 1.28; margin-top: 0; margin-right: 0; margin-bottom: 0;"><span style="font-size: 15px; font-family: Inter;">по обработчикам событий — в настройках модуля на вкладке </span><span style="font-size: 15px; font-family: Inter; color: #0563c1;"><a href="events_processing.html#tracing" class="topiclink">Обработка событий</a></span><span style="font-size: 15px; font-family: Inter;">;</span></li><li style="line-height: 1.28; margin-top: 0; margin-right: 0; margin-bottom: 0;"><span style="font-size: 15px; font-family: Inter;">по методам API в модуле — в настройках модуля на вкладке </span><span style="font-size: 15px; font-family: Inter; color: #0563c1;"><a href="extention-api.html#tracing" class="topiclink">Методы API</a></span>;</li><li style="line-height: 1.28; margin-top: 0; margin-right: 0; margin-bottom: 0;"><span style="font-size: 15px; font-family: Inter;">по виджету — из отчёта </span><span style="font-size: 15px; font-family: Inter; color: #0563c1;"><a href="devtools-report.html#tracing" class="topiclink">Инструменты разработчика</a></span><span style="font-size: 15px; font-family: Inter;">, нажав </span><span style="font-size: 15px; font-family: Inter; font-weight: bold;">Перейти в трейс</span><span style="font-size: 15px; font-family: 'Courier New',Courier,monospace;">.</span></li></ul></li></ul>
|
||||
<li class="p_Normal">Search by name.</li><li class="p_Normal">Perform following actions with nested objects:</li></ul>
|
||||
<ul style="list-style-type:disc"><ul style="list-style-type:circle">
|
||||
<li class="p_Normal"><img alt="server-script-tracing-4" width="31" height="27" style="margin:0;width:31px;height:27px;border:none" src="server-script-tracing-4.png"/>Select all objects.</li><li class="p_Normal"><img alt="server-script-tracing-5" width="31" height="27" style="margin:0;width:31px;height:27px;border:none" src="server-script-tracing-5.png"/> Cancel selection.</li><li class="p_Normal"><img alt="server-script-tracing-6" width="34" height="32" style="margin:0;width:34px;height:32px;border:none" src="server-script-tracing-6.png"/> Collapse the list of objects.</li><li class="p_Normal"><img alt="server-script-tracing-7" width="32" height="31" style="margin:0;width:32px;height:31px;border:none" src="server-script-tracing-7.png"/> Expand the list.</li></ul>
|
||||
<li class="p_Normal">Reset the list of selected objects.</li></ul>
|
||||
<ol style="list-style-type:upper-roman" start="5">
|
||||
<li value="5" class="p_Normal">After specifying the objects to trace, click <span style="font-weight: bold;">Apply</span>.</li><li value="6" class="p_Normal">On the settings page, in the <span style="font-weight: bold;">Retention policy</span> and <span style="font-weight: bold;">Error trace storage policy</span> fields specify the time period after which records are deleted from the system:</li></ol>
|
||||
<ul style="list-style-type:disc"><ul style="list-style-type:circle">
|
||||
<li class="p_Normal">For BRIX SaaS the time limit is set to 15 minutes. You cannot change it.</li><li class="p_Normal">For BRIX On-Premises the default time limit is 10 days. This is the maximum value. You can decrease it.</li></ul></li></ul>
|
||||
<ol style="list-style-type:upper-roman" start="5">
|
||||
<li value="7" class="p_Normal">On the settings page, you can also see the amount of saved data and free up disk space by clicking <span style="font-weight: bold;">Clear All Traces</span>.</li></ol>
|
||||
<p class="p_Normal">After enabling tracing, you will see:</p>
|
||||
<ul style="list-style-type:disc">
|
||||
<li class="p_Normal">All saved traces on the <span style="font-weight: bold;">Tracing</span> page.</li><li class="p_Normal">Traces for a specific object:</li></ul>
|
||||
<ul style="list-style-type:disc"><ul style="list-style-type:circle">
|
||||
<li class="p_Normal">By business process instance. On its <a href="360012498891.html#tracing" class="topiclink">page</a>, click the <img alt="server-script-tracing-13" width="26" height="23" style="margin:0;width:26px;height:23px;border:none" src="server-script-tracing-13.png"/> icon on the upper panel.</li><li class="p_Normal">By business process activity. Go to the <a href="script-activity.html#tracing" class="topiclink">Business Process Activities</a> tab on the module page and open the activity.</li><li class="p_Normal">By event handler. Go to the module settings on the <a href="events_processing.html#tracing" class="topiclink">Event Handling</a> tab.</li><li class="p_Normal">By API in the module. Go to the module settings on the <a href="extention-api.html#tracing" class="topiclink">API Methods</a> tab.</li><li class="p_Normal">By widget. On the <a href="devtools-report.html#tracing" class="topiclink">Developer Tools</a> report, click <span style="font-weight: bold;">Go to Trace</span>.</li></ul></li></ul>
|
||||
<p class="p_CodeExample" style="page-break-inside: avoid;"><span class="f_CodeExample">начало примечание</span></p>
|
||||
<p style="line-height: 1.28; margin: 0 0 11px 0;"><span style="font-size: 15px; font-family: Inter; font-weight: bold;">Примечание</span></p>
|
||||
<p style="line-height: 1.28; margin: 0 0 11px 0;"><span style="font-size: 15px; font-family: Inter;">Формирование результатов трассировки в системе происходит с задержкой от нескольких десятков секунд до нескольких минут. Не сразу могут отобразиться:</span></p>
|
||||
<p class="p_Normal"><span style="font-weight: bold;">Note</span></p>
|
||||
<p class="p_Normal">Formation of tracing results in the system is delayed from several tens of seconds to several minutes. The following may not be displayed at once:</p>
|
||||
<ul style="list-style-type:disc">
|
||||
<li style="line-height: 1.28; margin-top: 0; margin-right: 0; margin-bottom: 11px;"><span style="font-size: 15px; font-family: Inter;">трейсы по выполненному скрипту;</span></li><li style="line-height: 1.28; margin-top: 0; margin-right: 0; margin-bottom: 11px;"><span style="font-size: 15px; font-family: Inter;">информация по отдельным функциям и действиям в карточке зафиксированного трейса.</span></li></ul>
|
||||
<li class="p_Normal">Traces on the executed script.</li><li class="p_Normal">Information on separate functions and actions in the page of a recorded trace.</li></ul>
|
||||
<p class="p_Normal">The trace is recorded in the system and is displayed with a delay of about one minute after the script is executed.</p>
|
||||
<p class="p_CodeExample" style="page-break-inside: avoid;"><span class="f_CodeExample">конец примечание</span></p>
|
||||
<h2 class="p_Heading2"><span class="f_Heading2">Работа со страницей «Трассировка»</span></h2>
|
||||
<p style="line-height: 1.28; margin: 0 0 11px 0;"><span style="font-size: 15px; font-family: Inter;">В разделе </span><span style="font-size: 15px; font-family: Inter; font-weight: bold;">Администрирование > Инструменты разработчика </span><span style="font-size: 15px; font-family: Inter;">на странице</span><span style="font-size: 15px; font-family: Inter; font-weight: bold;"> Трассировка </span><span style="font-size: 15px; font-family: Inter;">можно открыть трейсы для просмотра, а также экспортировать их, чтобы вернуться к анализу данных позже</span><span style="font-size: 15px; font-family: 'Times New Roman',Times,Georgia,serif;">.</span></p>
|
||||
<h3 class="p_Heading3"><span class="f_Heading3">Поиск трейсов</span></h3>
|
||||
<p style="line-height: 1.28; margin: 0 0 11px 0;"><span style="font-size: 15px; font-family: Inter;">Чтобы найти нужную запись, можно использовать:</span></p>
|
||||
<p style="line-height: 1.28; margin: 0 0 11px 0;"><img alt="server-script-tracing-4" width="777" height="477" style="margin:0;width:777px;height:477px;border:none" src="server-script-tracing-4.png"/></p>
|
||||
<ol style="list-style-type:decimal">
|
||||
<li value="1" style="line-height: 1.28; margin-top: 0; margin-right: 0; margin-bottom: 11px;"><span style="font-weight: bold;">Поиск по идентификатору трейса</span> — нажмите в правом верхнем углу страницы значок лупы, вставьте идентификатор в появившееся поле и нажмите <span style="font-weight: bold;">Enter</span>. Откроется <a href="server-script-tracing.html#trace-content" class="topiclink">карточка трейса</a>.</li><li value="2" style="line-height: 1.28; margin-top: 0; margin-right: 0; margin-bottom: 11px;"><span style="font-weight: bold;">Фильтры</span> — укажите параметры для поиска трейсов:<ul style="list-style-type:disc">
|
||||
<li style="line-height: 1.28; margin-top: 0; margin-right: 0; margin-bottom: 11px;"><span style="font-size: 15px; font-family: Inter; font-weight: bold;">Типы объектов</span><span style="font-size: 15px; font-family: Inter;"> — укажите, по каким типам компонентов отобразить записи: методам API, действиям в бизнес‑процессах, обработчикам событий, бизнес‑процессам, виджетам;</span></li><li style="line-height: 1.28; margin-top: 0; margin-right: 0; margin-bottom: 11px;"><span style="font-size: 15px; font-family: Inter; font-weight: bold;">Объекты конфигурации </span><span style="font-size: 15px; font-family: Inter;">— выберите определённые компоненты системы, по которым нужно отобразить трейсы;</span></li><li style="line-height: 1.28; margin-top: 0; margin-right: 0; margin-bottom: 11px;"><span style="font-size: 15px; font-family: Inter; font-weight: bold;">Тип трейсов </span><span style="font-size: 15px; font-family: Inter;">— выберите, какие записи отобразить на странице: все или только с ошибками;</span></li><li style="line-height: 1.28; margin-top: 0; margin-right: 0; margin-bottom: 11px;"><span style="font-size: 15px; font-family: Inter; font-weight: bold;">Период </span><span style="font-size: 15px; font-family: Inter;">— задайте временной промежуток, к которому относятся записи. В списке отобразятся все трейсы, в которых хотя бы один шаг выполнялся в течение выбранного периода; </span></li><li style="line-height: 1.28; margin-top: 0; margin-right: 0; margin-bottom: 11px;"><span style="font-size: 15px; font-family: Inter; font-weight: bold;">Продолжительность </span><span style="font-size: 15px; font-family: Inter;">— введите длительность отслеживаемого действия в минутах, секундах и миллисекундах, например, не менее </span><span style="font-size: 15px; font-family: Inter; font-weight: bold;">30с</span><span style="font-size: 15px; font-family: Inter;"> и не более </span><span style="font-size: 15px; font-family: Inter; font-weight: bold;">1м</span><span style="font-size: 15px; font-family: 'Courier New',Courier,monospace;">.</span></li></ul></li></ol>
|
||||
<p style="line-height: 1.28; margin: 0 0 11px 0;"><span style="font-size: 15px; font-family: Inter;">Чтобы увидеть записи, подходящие под заданные условия, нажмите </span><span style="font-size: 15px; font-family: Inter; font-weight: bold;">Поиск</span><span style="font-size: 15px; font-family: Inter;">. Затем выберите в списке запись, чтобы открыть <a href="server-script-tracing.html#trace-content" class="topiclink">карточку трейса</a>.</span></p>
|
||||
<h3 class="p_Heading3"><span class="f_Heading3">Экспорт трейсов </span></h3>
|
||||
<p style="line-height: 1.28; margin: 0 0 11px 0;"><span style="font-size: 15px; font-family: Inter;">Вы можете сохранять трейсы на ПК. Это позволяет повторно посмотреть определённую ошибку, даже если запись удалена со страницы </span><span style="font-size: 15px; font-family: Inter; font-weight: bold;">Трассировка</span><span style="font-size: 15px; font-family: Inter;">, или передать данные для анализа другому специалисту.</span></p>
|
||||
<p style="line-height: 1.28; margin: 0 0 11px 0;"><span style="font-size: 15px; font-family: Inter;">Экспортировать можно:</span></p>
|
||||
<h2 class="p_Heading2"><span class="f_Heading2">Work with the Tracing page</span></h2>
|
||||
<p class="p_Normal">In <span style="font-weight: bold;">Administration > Developer Tools</span>, on the <span style="font-weight: bold;">Tracing</span> page, you can view traces and export them to return to analyze the data later.</p>
|
||||
<h3 class="p_Heading3"><span class="f_Heading3">Search for traces</span></h3>
|
||||
<p class="p_Normal">Use filters to find the records you need:</p>
|
||||
<p class="p_Normal"><img alt="server-script-tracing-8" width="889" height="445" style="margin:0;width:889px;height:445px;border:none" src="server-script-tracing-8.png"/></p>
|
||||
<ul style="list-style-type:disc">
|
||||
<li style="line-height: 1.28; margin-top: 0; margin-right: 0; margin-bottom: 11px;"><span style="font-size: 15px; font-family: Inter;">определённый трейс, открыв его </span><span style="font-size: 15px; font-family: Inter; color: #0563c1;"><a href="server-script-tracing.html#trace-content" class="topiclink">карточку</a></span><span style="font-size: 15px; font-family: Inter;"> и нажав значок </span><img alt="download-button" width="21" height="21" style="margin:0;width:21px;height:21px;border:none" src="download-button.png"/>;</li><li style="line-height: 1.28; margin-top: 0; margin-right: 0; margin-bottom: 11px;"><span style="font-size: 15px; font-family: Inter;">несколько трейсов одним архивом. Для этого:</span></li></ul>
|
||||
<ol style="list-style-type:decimal">
|
||||
<li value="1" style="line-height: 1.28; margin-top: 0; margin-right: 0; margin-bottom: 11px;"><span style="font-size: 15px; font-family: Inter;">Откройте страницу</span><span style="font-size: 15px; font-family: Inter; font-weight: bold;"> Трассировка</span><span style="font-size: 15px; font-family: Inter;"> и установите флажок напротив нужных записей в списке.</span></li><li value="2" style="line-height: 1.28; margin-top: 0; margin-right: 0; margin-bottom: 11px;"><span style="font-size: 15px; font-family: Inter;">Нажмите </span><span style="font-size: 15px; font-family: Inter; font-weight: bold;">Скачать трейсы</span><span style="font-size: 15px; font-family: 'Times New Roman',Times,Georgia,serif;">.</span></li></ol>
|
||||
<p style="line-height: 1.28; margin: 0 0 11px 34px;"><img alt="server-script-tracing-5" width="750" height="229" style="margin:0;width:750px;height:229px;border:none" src="server-script-tracing-5.png"/></p>
|
||||
<ol style="list-style-type:decimal">
|
||||
<li value="3" style="line-height: 1.28; margin-top: 0; margin-right: 0; margin-bottom: 11px;"><span style="font-size: 15px; font-family: Inter;">Сохраните сформированный </span><span style="font-size: 15px; font-family: Inter; font-weight: bold;">.zip</span><span style="font-size: 15px; font-family: Inter;">-архив с </span><span style="font-size: 15px; font-family: Inter; font-weight: bold;">.json</span><span style="font-size: 15px; font-family: Inter;">-файлом трейсов на компьютер.</span></li></ol>
|
||||
<h3 class="p_Heading3"><a id="import" class="hmanchor"></a><span class="f_Heading3">Импорт трейсов</span></h3>
|
||||
<p style="line-height: 1.28; margin: 0 0 11px 0;"><span style="font-size: 15px; font-family: Inter;">Загрузите в ELMA365 экспортированные трейсы, чтобы повторно открыть их карточки. Обратите внимание, трейсы импортируются только для просмотра и не сохраняются в системе.</span></p>
|
||||
<p style="line-height: 1.28; margin: 0 0 11px 0;"><span style="font-size: 15px; font-family: Inter;">Для этого:</span></p>
|
||||
<ol style="list-style-type:decimal">
|
||||
<li value="1" style="line-height: 1.28; margin-top: 0; margin-right: 0; margin-bottom: 11px;"><span style="font-size: 15px; font-family: Inter;">На странице </span><span style="font-size: 15px; font-family: Inter; font-weight: bold;">Трассировка</span><span style="font-size: 15px; font-family: Inter;"> нажмите в правом верхнем углу значок </span><img alt="tracing-upload-icon" width="18" height="17" style="margin:0;width:18px;height:17px;border:none" src="tracing-upload-icon.png"/>.</li><li value="2" style="line-height: 1.28; margin-top: 0; margin-right: 0; margin-bottom: 11px;"><span style="font-size: 15px; font-family: Inter;">В открывшемся окне выберите архив формата </span><span style="font-size: 15px; font-family: Inter; font-weight: bold;">.zip</span><span style="font-size: 15px; font-family: Inter;"> или </span><span style="font-size: 15px; font-family: Inter; font-weight: bold;">.json</span><span style="font-size: 15px; font-family: Inter;">-файл с трейсами</span><span style="font-size: 15px; font-family: 'Times New Roman',Times,Georgia,serif;">.</span></li></ol>
|
||||
<p style="line-height: 1.28; margin: 0 0 11px 0;"><span style="font-size: 15px; font-family: Inter;">После завершения импорта откроется список записей, который выглядит так же, как на странице </span><span style="font-size: 15px; font-family: Inter; font-weight: bold;">Трассировка</span><span style="font-size: 15px; font-family: Inter;">. Чтобы посмотреть данные трейса, нажмите на его название.</span></p>
|
||||
<h2 class="p_Heading2"><a id="trace-content" class="hmanchor"></a><span class="f_Heading2">Карточка трейса</span></h2>
|
||||
<p style="line-height: 1.28; margin: 0 0 11px 0;"><span style="font-size: 15px; font-family: Inter;">Открыв трейс, вы увидите диаграмму, на которой отображаются шаги выполнения скрипта. Все действия и вызванные функции показаны в виде цветных отрезков с сохранением вложенности.</span></p>
|
||||
<p style="line-height: 1.28; page-break-after: avoid; margin: 0 0 11px 0;"><span style="font-size: 15px; font-family: Inter;">Вы можете проанализировать длительность выполнения каждого запроса, а также изучить ошибки, используя информацию в карточке: </span></p>
|
||||
<p style="line-height: 1.28; page-break-after: avoid; margin: 0 0 11px 0;"><img alt="server-script-tracing-6" width="759" height="321" style="margin:0;width:759px;height:321px;border:none" src="server-script-tracing-6.png"/></p>
|
||||
<li class="p_Normal"><span style="font-weight: bold;">Object types</span>. Specify by which types of components to display records: API methods, business process activities, event handlers, business processes, widgets.</li><li class="p_Normal"><span style="font-weight: bold;">Configuration objects</span>. Select specific system components for which you want to display traces.</li><li class="p_Normal"><span style="font-weight: bold;">Trace type</span>. Select which records should be displayed on the page: all or only those with errors.</li><li class="p_Normal"><span style="font-weight: bold;">Period</span>. Specify the time period to which the records belong. The list will display all traces in which at least one step was performed during the selected period.</li><li class="p_Normal"><span style="font-weight: bold;">Duration</span>. Specify the duration of the tracked activity in minutes, seconds, and milliseconds, e.g., not less than 30s and not more than 1m.</li></ul>
|
||||
<p class="p_Normal">To see records that match the specified conditions, click <span style="font-weight: bold;">Search</span>. Then click the name of the trace to view its data. See detailed information in the <a href="server-script-tracing.html#trace-content" class="topiclink">Trace content</a> section.</p>
|
||||
<h3 class="p_Heading3"><span class="f_Heading3">Export traces</span></h3>
|
||||
<p class="p_Normal">You can save traces to your PC to analyze a particular error later even if a record is deleted from the <span style="font-weight: bold;">Tracing</span> page or to give the data to another specialist.</p>
|
||||
<p class="p_Normal">You can export:</p>
|
||||
<ul style="list-style-type:disc">
|
||||
<li class="p_Normal">A particular trace by opening its page and clicking the <img alt="download-icon" width="21" height="21" style="margin:0;width:21px;height:21px;border:none" src="download-icon.png"/><span class="f_ImageCaption"> </span>icon.</li><li class="p_Normal">Several traces in one archive. To do this:</li></ul>
|
||||
<ol style="list-style-type:upper-roman">
|
||||
<li value="1" style="line-height: 1.28;"><span style="font-size: 15px; font-family: Inter; font-weight: bold;">Строка поиска</span><span style="font-size: 15px; font-family: Inter;"> — поиск выполняется по всем полям трейса. Например, укажите название функции, чтобы узнать длительность запроса, или введите текст ошибки, чтобы найти шаг, на котором она произошла. Для переключения между результатами используйте стрелки рядом со строкой поиска.</span></li><li value="2" style="line-height: 1.28;"><span style="font-size: 15px; font-family: Inter; font-weight: bold;">Старт и длительность </span><span style="font-size: 15px; font-family: Inter;">— дата и время, когда скрипт начал выполняться, а также продолжительность выполнения в секундах</span><span style="font-size: 15px; font-family: Arial,'Lucida Sans Unicode','Lucida Grande','Lucida Sans';">.</span></li><li value="3" style="line-height: 1.28;"><span style="font-size: 15px; font-family: Inter; font-weight: bold;">Карта трейса</span><span style="font-size: 15px; font-family: Inter;"> — выделите промежуток на временной шкале, чтобы на диаграмме отобразились только входящие в него действия. Это позволит детально изучить определённый участок скрипта.</span></li><li value="4" style="line-height: 1.28;"><span style="font-size: 15px; font-family: Inter; font-weight: bold;">Операции</span><span style="font-size: 15px; font-family: Inter;"> — дерево всех выполненных действий. Нажмите на название шага, чтобы посмотреть подробную информацию: атрибуты функции, произошедшие события и ошибки</span><span style="font-size: 15px; font-family: Arial,'Lucida Sans Unicode','Lucida Grande','Lucida Sans';">.</span><span style="font-size: 15px; font-family: Inter;"> Данные отобразятся под диаграммой и могут выглядеть так:</span></li></ol>
|
||||
<p style="line-height: 1.28; margin: 0 0 11px 34px;"><img alt="server-script-tracing-7" width="699" height="326" style="margin:0;width:699px;height:326px;border:none" src="server-script-tracing-7.png"/></p>
|
||||
<p style="line-height: 1.28; margin: 0 0 11px 0;"><span style="font-size: 15px; font-family: Inter;">В карточке трейса также можно:</span></p>
|
||||
<li value="1" class="p_Normal">Open the <span style="font-weight: bold;">Tracing</span> page and select the check box next to the necessary records in the list.</li><li value="2" class="p_Normal">Click <span style="font-weight: bold;">Download Traces</span>.<br />
|
||||
<img alt="server-script-tracing-9" width="862" height="185" style="margin:0;width:862px;height:185px;border:none" src="server-script-tracing-9.png"/></li><li value="3" class="p_Normal">Save the generated <span style="font-weight: bold;">.zip</span> archive with the <span style="font-weight: bold;">.json</span> file of traces to your PC.</li></ol>
|
||||
<h3 class="p_Heading3"><span class="f_Heading3">Import traces</span></h3>
|
||||
<p class="p_Normal">Load the exported traces into BRIX to review them again. Please note, traces are imported for viewing only and are not saved in the system.</p>
|
||||
<p class="p_Normal">To download traces:</p>
|
||||
<ol style="list-style-type:upper-roman">
|
||||
<li value="1" class="p_Normal">On the<span style="font-weight: bold;"> Tracing</span> page click the <img alt="server-script-tracing-10" width="19" height="18" style="margin:0;width:19px;height:18px;border:none" src="server-script-tracing-10.png"/><span class="f_ImageCaption"> </span>icon in the upper right corner.</li><li value="2" class="p_Normal">In the opened window, select the <span style="font-weight: bold;">.zip</span> or <span style="font-weight: bold;">.json</span> file with the traces.</li></ol>
|
||||
<p class="p_Normal">This opens a list of records that looks similar to the <span style="font-weight: bold;">Tracing</span> page. To view the data of a trace, click its name.</p>
|
||||
<h2 class="p_Heading2"><a id="trace-content" class="hmanchor"></a><span class="f_Heading2">Trace page</span></h2>
|
||||
<p class="p_Normal">When you open a trace, you will see a diagram that shows the steps of the script execution. All actions and called functions are shown as colored segments with nesting preserved.</p>
|
||||
<p class="p_Normal">You can analyze the execution duration of each request and examine errors using the information on the page:</p>
|
||||
<p class="p_Normal"><img alt="server-script-tracing-11" width="743" height="383" style="margin:0;width:743px;height:383px;border:none" src="server-script-tracing-11.png"/></p>
|
||||
<ol style="list-style-type:upper-roman">
|
||||
<li value="1" class="p_Normal"><span style="font-weight: bold;">Search string</span>. You can search by all fields of the trace. For example, specify the name of a function to find out the duration of a request or enter the error text to find the step where the error occurred. Use the arrows next to the search bar to switch between results.</li><li value="2" class="p_Normal"><span style="font-weight: bold;">Start and Duration</span>. The date and time when the script started executing, and the duration of the execution in seconds.</li><li value="3" class="p_Normal"><span style="font-weight: bold;">Trace diagram</span>. Select the interval on the timeline so that only the activities included in it are displayed on the diagram. This will allow you to analyze a certain section of the script in detail.</li><li value="4" class="p_Normal"><span style="font-weight: bold;">Operations</span>. A tree of all performed activities. Click the step name to see detailed information: function attributes, events and errors occurred. The data will be displayed below the diagram and may look like this:<br />
|
||||
<img alt="server-script-tracing-12" width="859" height="228" style="margin:0;width:859px;height:228px;border:none" src="server-script-tracing-12.png"/></li></ol>
|
||||
<p class="p_Normal">On the trace page, you can:</p>
|
||||
<ul style="list-style-type:disc">
|
||||
<li style="line-height: 1.28; margin-top: 0; margin-right: 0; margin-bottom: 11px;"><span style="font-size: 15px; font-family: Inter;">скопировать ссылку на трейс, нажав рядом с его идентификатором значок </span><img alt="copy-icon" width="13" height="15" style="margin:0;width:13px;height:15px;border:none" src="copy-icon.png"/><span class="f_ImageCaption">. </span><span style="font-size: 15px; font-family: Inter;">По ссылке запись может открыть любой сотрудник, даже если он не входит в группу </span><span style="font-size: 15px; font-family: Inter; color: #0563c1;"><a href="360006871932.html#administrators" class="topiclink">Администраторы</a></span><span style="font-size: 15px; font-family: Inter;">;</span></li><li style="line-height: 1.28; margin-top: 0; margin-right: 0; margin-bottom: 11px;"><span style="font-size: 15px; font-family: Inter;">сохранить трейс на компьютер в виде архива с </span><span style="font-size: 15px; font-family: Inter; font-weight: bold;">.json</span><span style="font-size: 15px; font-family: Inter;">-файлом, нажав рядом со строкой поиска </span><img alt="download-button" width="21" height="21" style="margin:0;width:21px;height:21px;border:none" src="download-button.png"/><span class="f_ImageCaption">. </span><span style="font-size: 15px; font-family: Inter;">После этого запись можно </span><span style="font-size: 15px; font-family: Inter; color: #0563c1;"><a href="server-script-tracing.html#import" class="topiclink">импортировать в ELMA365</a></span><span style="font-size: 15px; font-family: Inter;"> для повторного просмотра, даже если она удалена из системы.</span></li></ul>
|
||||
<li class="p_Normal">Copy a link to a trace by clicking the <img alt="server-script-tracing-15" width="17" height="19" style="margin:0;width:17px;height:19px;border:none" src="server-script-tracing-15.png"/><span class="f_ImageCaption"> </span>icon next to its identifier. Any employee can open the record by the link, even if they are not a member of the <a href="360006871932.html#administrators" class="topiclink">Administrators</a> group.</li><li class="p_Normal">Save the trace to your PC as an archive with .json file by clicking the <img alt="download-icon" width="20" height="20" style="margin:0;width:20px;height:20px;border:none" src="download-icon.png"/> icon next to the search box. The record can then be imported into BRIX for reviewing, even if it is deleted from the system.</li></ul>
|
||||
|
||||
<div class="bottom-nav">
|
||||
|
||||
@ -201,14 +199,14 @@
|
||||
</a>
|
||||
|
||||
|
||||
<a id="next-link" class="topic__navi_next" href="licensing-elma365.html">
|
||||
<span class="bottom-nav__link">licensing-elma365.html</span> <span
|
||||
<a id="next-link" class="topic__navi_next" href="licences.html">
|
||||
<span class="bottom-nav__link">licences.html</span> <span
|
||||
class="bottom-nav__arrow bottom-nav__arrow--next"></span>
|
||||
</a>
|
||||
|
||||
</div>
|
||||
<!-- добавляет на страницу строку блок Была ли статья полезной? -->
|
||||
<div class="feedback-wrap"><div class="feedback" id="feedback"><span><b>Была ли статья полезной?</b></span><form action="" method="POST" class="feedback-form" id="feedback-form"><div class="feedback__popup feedback__popup-response" id="feedback__popup_thx">Спасибо за ваш отзыв!</div><div id="feedback-success-popup"><div class="wrap"><button type="button" class="feedback-popup-close">×</button><svg width="44" height="44" viewBox="0 0 44 44" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_212_2187)"><path d="M22 0.6875C10.2294 0.6875 0.6875 10.2294 0.6875 22C0.6875 33.7706 10.2294 43.3125 22 43.3125C33.7706 43.3125 43.3125 33.7706 43.3125 22C43.3125 10.2294 33.7706 0.6875 22 0.6875ZM22 40.5625C11.8023 40.5625 3.4375 32.3078 3.4375 22C3.4375 11.8024 11.6922 3.4375 22 3.4375C32.1977 3.4375 40.5625 11.6922 40.5625 22C40.5625 32.1976 32.3078 40.5625 22 40.5625ZM34.1713 16.933L18.6613 32.3186C18.257 32.7197 17.604 32.7171 17.203 32.3128L9.82283 24.873C9.42176 24.4686 9.42434 23.8157 9.82867 23.4146L10.5609 22.6884C10.9652 22.2873 11.6181 22.2899 12.0192 22.6942L17.9468 28.6697L31.9926 14.7366C32.3969 14.3356 33.0498 14.3382 33.4509 14.7425L34.1772 15.4747C34.5783 15.879 34.5757 16.532 34.1713 16.933Z" fill="#27AE60"></path></g><defs><clipPath id="clip0_212_2187"><rect width="44" height="44" fill="white"></rect></clipPath></defs></svg><p>Ваш отзыв успешно отправлен!</p><span>Спасибо за обратную связь.</span></div></div><div class="feedback__popup" id="feedback__popup_why"><button type="button" class="feedback-popup-close">×</button><div class="feedback__popup-header">Уточните, почему:</div><input type="radio" name="category" id="bad_recommendation" value="bad_recommendation"><label for="bad_recommendation">Рекомендации не помогли</label><input type="radio" name="category" id="difficult_text" value="difficult_text"><label for="difficult_text">Текст трудно понять</label><input type="radio" name="category" id="no_answer" value="no_answer"><label for="no_answer">Нет ответа на мой вопрос</label><input type="radio" name="category" id="bad_header" value="bad_header"><label for="bad_header">Содержание статьи не соответствует заголовку</label><input type="radio" name="category" id="other_reason" value="other_reason"><label for="other_reason">Другая причина</label></div><div class="feedback__popup" id="feedback__popup-other"><button type="button" class="feedback-popup-close">×</button> <div class="feedback__popup-header">Расскажите, что вам не понравилось в статье:</div><textarea class="feedback__textarea" name="other" id=""></textarea><input type="submit" class="feedback__other-btn" value="Отправить"></div><div class="feedback-form__btn-group"><input type="radio" name="useful" id="feedback__useful_yes" value="true"><label for="feedback__useful_yes"><img src="like.svg"/><span class="feedback-form__btn-group_yes-btn">Да</span></label><input type="radio" name="useful" id="feedback__useful_no" value="false"><label for="feedback__useful_no"><img src="dislike.svg"/><span class="feedback-form__btn-group_no-btn">Нет</span></label></div><select name="category"><option disabled>Выберите вариант</option><option value="bad_recommendation" selected>Рекомендации не помогли</option><option value="difficult_text">Текст трудно понять</option><option value="no_answer">Нет ответа на мой вопрос</option><option value="bad_header">Содержание статьи не соответствует заголовку</option><option value="other_reason">Другая причина</option></select><input type="submit"></form></div></div>
|
||||
<div class="feedback" id="feedback"><div class="feedback-help"><span><b>Was this helpful?</b></span><form action="" method="POST" class="feedback-form" id="feedback-form"><div class="feedback__popup feedback__popup-response" id="feedback__popup_thx" style="display: none;">Thanks for your feedback!</div><div class="feedback__popup" id="feedback__popup_why" style="display: none;"><div class="feedback__popup-header">Please specify why:</div><input type="radio" name="category" id="bad_recommendation" value="bad_recommendation"><label for="bad_recommendation">Recommendations did not help me</label><input type="radio" name="category" id="difficult_text" value="difficult_text"><label for="difficult_text">Article is hard to understand</label><input type="radio" name="category" id="no_answer" value="no_answer"><label for="no_answer">Didn`t answer my question</label><input type="radio" name="category" id="bad_header" value="bad_header"><label for="bad_header">Content does not match the topic</label><input type="radio" name="category" id="other_reason" value="other_reason"><label for="other_reason">Other</label></div><div class="feedback__popup" id="feedback__popup-other" style="display: none;"><div class="feedback__popup-header">How we can improve it?</div><textarea class="feedback__textarea" name="other" id=""></textarea><input type="submit" class="feedback__other-btn" value="Submit"></div><div class="feedback-form__btn-group"><input type="radio" name="useful" id="feedback__useful_yes" value="true"><label for="feedback__useful_yes"><img src="like.svg" class="small-img" alt="like"><spanclass="feedback-form__btn-group_yes-btn">Yes</spanclass="feedback-form__btn-group_yes-btn"></label><input type="radio" name="useful" id="feedback__useful_no" value="false"><label for="feedback__useful_no"><img src="dislike.svg" class="small-img" alt="dislike"><spanclass="feedback-form__btn-group_no-btn">No</spanclass="feedback-form__btn-group_no-btn"></label></div><select name="category"><option disabled="">Please specify why</option><option value="bad_recommendation" selected="">Recommendations did not help me</option><option value="difficult_text">Article is hard to understand</option><option value="no_answer">Didn`t answer my question</option><option value="bad_header">Content does not match the topic</option><option value="other_reason">Other</option></select><input type="submit"></form></div><div class="found_typo"><p style="margin: 0px; margin-top: 16px !important;"><span><b>Found a typo?</b></span> Select it and press <i>Ctrl+Enter</i> to send us feedback</p></div></div>
|
||||
|
||||
</section>
|
||||
</div>
|
||||
@ -216,7 +214,7 @@
|
||||
<input type="checkbox" />
|
||||
<div class="article__arrow"></div>
|
||||
<div class="table-of-contents elma365-right" id="toc2Content">
|
||||
<h3 class="h3-toc">В этой статье</h3>
|
||||
<h3 class="h3-toc">In this topic</h3>
|
||||
<nav id="toc2"></nav>
|
||||
</div>
|
||||
</aside>
|
||||
@ -227,63 +225,30 @@
|
||||
<div class="footer-container">
|
||||
<div class="footer-mobile">
|
||||
|
||||
<ul class="footer-mobile__list"><li><a href="https://api.elma365.com/ru/" target="_blank">API</a></li><li><a href="https://tssdk.elma365.com/" target="_blank">TS SDK</a></li><li><a href="https://community.elma365.com/" target="_blank">Community</a></li><li><a href="https://elma-academy.com/ru/elma365" target="_blank">Академия</a></li></ul><ul class="footer-mobile__list"><li><a href="https://elma365.com/ru/help/platform/get-trial.html">Платформа</a></li><li><a href="https://elma365.com/ru/help/ecm/ecm-functions.html">ECM</a></li><li><a href="https://elma365.com/ru/help/service/service-functions.html">Service</a></li><li><a href="https://elma365.com/ru/help/projects/projects-functions.html">Проекты</a></li></ul>
|
||||
<ul class="footer-mobile__list"><li><a href="https://brix365.com/en/" target="_blank">BRIX</a></li><li><a href="https://tssdk.brix365.com/en/latest/" target="_blank">SDK</a></li><li><a href="https://api.brix365.com/en/" target="_blank">API</a></li></ul><ul class="footer-mobile__list"><li><a href="https://brix365.com/en/help/platform/get-trial.html">Platform</a></li><li><a href="https://brix365.com/en/help/ecm/ecm-functions.html">ECM</a></li><li><a href="https://brix365.com/en/help/service/service-functions.html">Service</a></li><li><a href="https://brix365.com/en/help/projects/projects-functions.html">Projects</a></li></ul>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="container">
|
||||
<div class="footer-wrap">
|
||||
|
||||
<div><span class="mobile-question-popup">Отправить фидбэк</span><form method="POST" action class="question__popup question-xs" id="question__popup"><div class="question-wrap"><span class="close"></span><span class="title">Задать вопрос</span><label for="help_question" style="display: none;"></label><textarea name="help_question" id="help_question"></textarea><input type="submit" value="Отправить"></div></form><div class="hidden fade-in question-success-xs">Ваш фидбэк отправлен.</div></div>
|
||||
|
||||
<div class="footer-flex-b">
|
||||
<div class="footer-top">
|
||||
<span class="footer-copy">© 2025
|
||||
ELMA365
|
||||
|
||||
|
||||
</span>
|
||||
|
||||
<a href="https://navigator.sk.ru/orn/1122971" target="_blank">
|
||||
<img src="sk-resident.svg" alt="sk icon" class="footer-img" width="117" height="34">
|
||||
</a>
|
||||
|
||||
</div>
|
||||
<div class="footer-line">
|
||||
|
||||
<div class="footer-line-copy">
|
||||
<span class="footer-copy">© 2025
|
||||
ELMA365
|
||||
|
||||
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<ul class="footer-list">
|
||||
|
||||
<li class="footer-item"><a href="https://elma365.com/ru/" target="_blank" class="footer-link" style="color: #0D4A75;"><img src="browse.svg" alt="browse icon" class="footer-img">elma365.com</a></li><li class="footer-item"><a href="https://www.youtube.com/user/ELMABPM" target="_blank" class="footer-link"><img src="yt.svg" alt="youtube icon" class="footer-img"></a></li><li class="footer-item"><a href="https://vk.com/elma_bpm" target="_blank" class="footer-link"><img src="vk.svg" alt="vk icon" class="footer-img"></a></li><li class="footer-item"><a href="https://t.me/elmaday" target="_blank" class="footer-link"><img src="tg.svg" alt="telegram icon" class="footer-img"></a></li><li class="footer-item"><a href="https://dzen.ru/elma" target="_blank" class="footer-link"><img src="dzen.svg" alt="dzen icon" class="footer-img"></a></li>
|
||||
|
||||
|
||||
<li class="footer-item">
|
||||
<a href="https://navigator.sk.ru/orn/1122971" target="_blank">
|
||||
<img src="sk-resident.svg" alt="sk icon" class="footer-img" width="117" height="34">
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer-wrap">
|
||||
|
||||
<div><span class="mobile-question-popup">Send feedback</span><form method="POST" action class="question__popup question-xs" id="question__popup"><div class="question-wrap"><span class="close"></span><span class="title">Ask a question</span><label for="help_question" style="display: none;"></label><textarea name="help_question" id="help_question"></textarea><input type="submit" value="Send"></div></form><div class="hidden fade-in question-success-xs">Sent</div></div>
|
||||
|
||||
<div class="footer-flex-b">
|
||||
<span class="footer-copy">© 2025 BRIX</span>
|
||||
<ul class="footer-list">
|
||||
|
||||
<li class="footer-item">
|
||||
<a href="#" class="arrow-top" style="display: block;"></a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<a href="#" class="arrow-top"></a>
|
||||
</div>
|
||||
|
||||
</footer>
|
||||
<!-- <script type="text/javascript" src="jquery1.min.js"></script>-->
|
||||
<iframe name="hmnavigation" style="display:none!important"></iframe>
|
||||
<!--<script src="./jquery-ui.js"></script> -->
|
||||
<script src="./jquery-ui.min.js"></script>
|
||||
<script src="./jquery-ui.js"></script>
|
||||
<!--script src="//cdn.jsdelivr.net/npm/featherlight@1.7.14/release/featherlight.min.js" type="text/javascript" charset="utf-8"></script-->
|
||||
<script src="./jquery.tocify.min.js"></script>
|
||||
<script src="./TypoReporter.min.js"></script>
|
||||
|
Reference in New Issue
Block a user