- Notas de Versão
- Introdução
- Instalação e atualização
- Requisitos de hardware e software
- Habilitando o agrupamento em tabelas
- Configurações adicionais
- Ferramenta de administrador do Insights
- Atualização
- Solução de problemas
- Insights no Orchestrator
- Portal do Insights
For large deployments where the number of processes and queues in production approaches the per tenant limit, the number of tables created in the Insights data cube can impact performance. To manage the custom tables Insights creates for a tenant the Insights Admin Custom Table Management tool can be used to remove unneeded tables.
Table Grouping can be used to combine data from multiple Queues or Processes into a single custom table. A grouped custom table only counts as a single table against the custom table limit, regardless of how many Queues or Process are included in the group. If grouping is used on a Queue or Process which already has a custom table enabled, then the previous custom table can be cleaned up via the Clean Up Tables Tab after the grouping is applied. If the previous table is not cleaned up it will still count towards the table limit.
- Using the
UiPath.InsightsAdminToolfirst used to enable the tenant(s), select the Group Data Tables feature. - Selecione o(s) tenant(s) para o(s) qual(is) habilitar o agrupamento de tabelas.
- Provide the Grouping Definition File.
Arquivo de Definição de Agrupamento
Você deve fornecer um arquivo .json com seus agrupamentos de tabelas desejados ao executar o UiPath.InsightsAdminTool, usando a seguinte definição de esquema:
{
"definitions": {},
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "http://example.com/root.json",
"type": "object",
"title": "The Root Schema",
"required": [
"groups"
],
"properties": {
"groups": {
"$id": "#/properties/groups",
"type": "array",
"title": "The Groups Schema",
"items": {
"$id": "#/properties/groups/items",
"type": "object",
"title": "The Items Schema",
"required": [
"tenantId",
"elasticubeNameTemplate",
"groupName",
"dataSource"
],
"properties": {
"tenantId": {
"$id": "#/properties/groups/items/properties/tenantId",
"type": "integer",
"title": "The Tenantid Schema",
"default": 0,
"examples": [
3
]
},
"elasticubeNameTemplate": {
"$id": "#/properties/groups/items/properties/elasticubeNameTemplate",
"type": "string",
"title": "The Elasticubenametemplate Schema",
"default": "",
"examples": [
"{TENANT}-Cube"
],
"pattern": "^{TENANT}-(.<em>)$"
},
"groupName": {
"$id": "#/properties/groups/items/properties/groupName",
"type": "string",
"title": "The Groupname Schema",
"default": "",
"examples": [
"Group_1"
],
"pattern": "^(.</em>)$"
},
"dataSource": {
"$id": "#/properties/groups/items/properties/dataSource",
"type": "string",
"title": "The Datasource Schema",
"default": "",
"enum": [
"Process",
"Queue"
],
"pattern": "^(.<em>)$"
},
"likeGrouping": {
"$id": "#/properties/groups/items/properties/likeGrouping",
"type": "object",
"title": "The Likegrouping Schema",
"required": [
"likeClause"
],
"properties": {
"likeClause": {
"$id": "#/properties/groups/items/properties/likeGrouping/properties/likeClause",
"type": "string",
"title": "The Likeclause Schema",
"default": "",
"examples": [
"%1",
"test",
"%"
],
"pattern": "^(.</em>)$"
},
"excludeLikeClause": {
"$id": "#/properties/groups/items/properties/likeGrouping/properties/excludeLikeClause",
"type": "string",
"title": "The Excludelikeclause Schema",
"default": "",
"examples": [
"%1",
"test",
"%"
],
"pattern": "^(.<em>)$"
}
}
},
"inGrouping": {
"$id": "#/properties/groups/items/properties/likeGrouping",
"type": "object",
"title": "The Ingrouping Schema",
"required": [
"elements"
],
"properties": {
"elements": {
"$id": "#/properties/groups/items/properties/likeGrouping/properties/likeClause",
"type": "array",
"title": "The Elements Schema",
"default": "",
"pattern": "^(.</em>)$"
}
}
}
}
}
}
}
}
{
"definitions": {},
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "http://example.com/root.json",
"type": "object",
"title": "The Root Schema",
"required": [
"groups"
],
"properties": {
"groups": {
"$id": "#/properties/groups",
"type": "array",
"title": "The Groups Schema",
"items": {
"$id": "#/properties/groups/items",
"type": "object",
"title": "The Items Schema",
"required": [
"tenantId",
"elasticubeNameTemplate",
"groupName",
"dataSource"
],
"properties": {
"tenantId": {
"$id": "#/properties/groups/items/properties/tenantId",
"type": "integer",
"title": "The Tenantid Schema",
"default": 0,
"examples": [
3
]
},
"elasticubeNameTemplate": {
"$id": "#/properties/groups/items/properties/elasticubeNameTemplate",
"type": "string",
"title": "The Elasticubenametemplate Schema",
"default": "",
"examples": [
"{TENANT}-Cube"
],
"pattern": "^{TENANT}-(.<em>)$"
},
"groupName": {
"$id": "#/properties/groups/items/properties/groupName",
"type": "string",
"title": "The Groupname Schema",
"default": "",
"examples": [
"Group_1"
],
"pattern": "^(.</em>)$"
},
"dataSource": {
"$id": "#/properties/groups/items/properties/dataSource",
"type": "string",
"title": "The Datasource Schema",
"default": "",
"enum": [
"Process",
"Queue"
],
"pattern": "^(.<em>)$"
},
"likeGrouping": {
"$id": "#/properties/groups/items/properties/likeGrouping",
"type": "object",
"title": "The Likegrouping Schema",
"required": [
"likeClause"
],
"properties": {
"likeClause": {
"$id": "#/properties/groups/items/properties/likeGrouping/properties/likeClause",
"type": "string",
"title": "The Likeclause Schema",
"default": "",
"examples": [
"%1",
"test",
"%"
],
"pattern": "^(.</em>)$"
},
"excludeLikeClause": {
"$id": "#/properties/groups/items/properties/likeGrouping/properties/excludeLikeClause",
"type": "string",
"title": "The Excludelikeclause Schema",
"default": "",
"examples": [
"%1",
"test",
"%"
],
"pattern": "^(.<em>)$"
}
}
},
"inGrouping": {
"$id": "#/properties/groups/items/properties/likeGrouping",
"type": "object",
"title": "The Ingrouping Schema",
"required": [
"elements"
],
"properties": {
"elements": {
"$id": "#/properties/groups/items/properties/likeGrouping/properties/likeClause",
"type": "array",
"title": "The Elements Schema",
"default": "",
"pattern": "^(.</em>)$"
}
}
}
}
}
}
}
}
Onde:
groupName- O nome que a tabela terá no cubo do Insights. No máximo, 75 grupos podem ser criados.tenantId- O ID do tenant ao qual o agrupamento é aplicado.dataSource- Se a fonte de dados é umProcessouQueue.- Opcional:
elasticcubeNameTemplate- O nome do cubo do Insights, padrão{TENANT}-Cube. Especifique se as tabelas agrupadas devem ir para um cubo diferente. Por exemplo,{TENANT}-DocCube. O nome do tenant será substituído quando a tabela for criada, então se o tenantDefaultestiver sendo direcionado, a tabela será adicionada aDefault-DocCube.
Por exemplo:
{
"groups": [
{
"groupName": "Group_1",
"tenantId": 3,
"dataSource": "Process",
"likeGrouping": {
"likeClause": "%1"
}
},
{
"groupName": "Group_3",
"tenantId": 3,
"dataSource": "Process",
"likeGrouping": {
"likeClause": "%3",
"excludeLikeClause": "%Environment_1%"
}
},
{
"groupName": "Doc_1+2",
"tenantId": 3,
"elasticubeNameTemplate": "{TENANT}-DocCube",
"dataSource": "Queue",
"inGrouping": {
"elements": ["Doc", "Doc2"]
}
},
{
"groupName": "TestQueues",
"tenantId": 3,
"elasticubeNameTemplate": "{TENANT}-Test-Cube",
"dataSource": "Queue",
"likeGrouping": {
"likeClause": "%Test"
}
}
]
}
{
"groups": [
{
"groupName": "Group_1",
"tenantId": 3,
"dataSource": "Process",
"likeGrouping": {
"likeClause": "%1"
}
},
{
"groupName": "Group_3",
"tenantId": 3,
"dataSource": "Process",
"likeGrouping": {
"likeClause": "%3",
"excludeLikeClause": "%Environment_1%"
}
},
{
"groupName": "Doc_1+2",
"tenantId": 3,
"elasticubeNameTemplate": "{TENANT}-DocCube",
"dataSource": "Queue",
"inGrouping": {
"elements": ["Doc", "Doc2"]
}
},
{
"groupName": "TestQueues",
"tenantId": 3,
"elasticubeNameTemplate": "{TENANT}-Test-Cube",
"dataSource": "Queue",
"likeGrouping": {
"likeClause": "%Test"
}
}
]
}
- O arquivo de definição de agrupamento não suporta mais de um valor para
likeClause. No entanto, você pode passar vários valores separados por vírgulas paraexcludeLikeClause. - O Insights não pode oferecer suporte a tabelas com mais de 40 colunas; então, você não deve criar grupos onde o número de campos personalizados por tabela será maior do que esse número.
- Quando um novo processo ou fila é adicionado no Orchestrator e executado, se ele corresponder a um nome de grupo existente, o processo ou a fila será adicionado ao agrupamento e será incluído automaticamente no Insights.
- Se um processo ou fila corresponder a vários agrupamentos, ele será incluído em todos os agrupamentos aos quais corresponda.
- Quando um novo arquivo de agrupamento é carregado, ele exclui os agrupamentos anteriores.