Saltar para o conteúdo
BeryxTechBeryxTech
Voltar ao guia do aplicativo

Documentação do BeryX

A documentação técnica está em português de Portugal.

Problemas

Lista os problemas de qualidade dos teus datasets, com filtros por severidade, tipo, dimensão e estado. É aqui que fazes a triagem: cada problema mostra a ação que o BeryX recomenda para o estado em que está, e as outras explicam o que fazem antes de as usares.

O que podes fazer

  • Seguir a ação recomendada. Na coluna «Ações», cada problema tem uma ação em destaque e, por baixo, a frase que diz porquê. As outras estão em «Todas as ações», agrupadas em «Investigar», «Mudar o estado» e «Organizar», cada uma com o que faz neste tipo de problema. O que não faz sentido no estado fica de fora: num problema fechado só há «Reabrir» e «Ligar ticket existente», e num adiado «Cancelar adiamento» troca «Adiar 7 dias». A recomendação segue o estado e, num problema novo, também o tipo e a severidade.
    • Novo, crítico ou fora do SLA: «Reconhecer», para alguém o assumir já e a escalation do piquete parar.
    • Novo, numa anomalia ou numa anomalia de custo: «Explicar», para veres se a anomalia é real antes de decidir.
    • Novo, nos outros tipos: «Reconhecer», para a equipa saber que alguém o está a tratar.
    • Reconhecido: «Corrigir», com o código da correção e o PR; num problema sem dataset, «Resolver». A frase diz como se fecha depois: num problema de uma regra, «Resolver e verificar»; numa anomalia, lembra as outras saídas: «Ignorar» se foi falso alarme, «Esperado» se era previsto.
    • Adiado, resolvido, ignorado ou esperado: nenhuma. A frase diz quando volta à fila ou o que acontece se a falha voltar.
    • Só leitura no dataset: «Explicar» ou «Impacto». Quem edita o dataset é que muda o estado.
    • O BeryX nunca recomenda «Ignorar» nem «Esperado». Fechar um problema sem o corrigir é uma decisão de quem conhece os dados.
  • Fechar com «Resolver», «Esperado» ou «Ignorar», conforme o que aconteceu. Os três voltam atrás com «Reabrir».
    • Resolver: corrigiste a causa. Conta nos resolvidos e no tempo de resolução, e o BeryX pode propor em Sugestões a regra «nunca mais» (quando os nulos vieram de um segmento, duas: a desse segmento e, como alternativa, a da coluna inteira; só se cria a que aceitares). Numa anomalia, a deteção da métrica fica mais sensível.
    • Resolver e verificar: num problema de uma regra, dizes o que fizeste (um PR, uma correção na fonte ou outro) e o problema fica «A aguardar verificação». O scan seguinte volta a avaliar a regra: se passa, fica «Verificado no scan …», com a ligação ao scan; se falha, reabre com «Reaberto: a verificação falhou». «Resolver sem verificar» pede o motivo e fica marcado «Sem verificação». Nos problemas que o scan não verifica por uma regra (testes do dbt, syncs, refreshes de BI, reportados), o diálogo diz como se confirmam e resolve sem verificação. Quando o scan fecha sozinho um problema cuja regra voltou a passar, também fica verificado.
    • Esperado: o problema era real mas previsto, como uma migração ou o fecho do mês. Pede o motivo, não conta como resolvido e não muda a deteção. Se voltar a acontecer, o BeryX volta a avisar. Numa anomalia de uma métrica (volume, nulos, distintos, frescura), podes explicá-la com um evento datado (uma campanha, um lançamento) que cubra o dia dela e dure até 31 dias: o nome e os dias entram no calendário de eventos para esse dataset. Uma anomalia detetada nesses dias chega com a etiqueta «Evento: …», no problema e no alerta, e não propõe a regra «nunca mais» nem afina o limiar. A etiqueta é da deteção atual: uma deteção fora do evento tira-a. Reabrir a anomalia, ou apagar o evento, também, e a quem a reabriu a deteção seguinte não a repõe.
    • Ignorar: falso alarme, ou sem importância. Não conta como resolvido e, em muitos tipos, o detetor aprende com ele. Numa anomalia, sobe o limiar da métrica e, ignorada várias vezes, silencia-a. Nos monitores automáticos, no custo, nas políticas, nos syncs, nos refreshes de BI, no dbt, na modelação e no dataset sem uso, o BeryX deixa de abrir esse alerta nesse dataset. O que acontece numa regra ou nos duplicados está mais abaixo.
  • Filtrar por «Severidade», «Tipo», «Dimensão de qualidade» e «Estado» e marcar «Só os meus» para ver apenas os que te estão atribuídos. Por omissão, o estado é «Por resolver»: os abertos e os reconhecidos que não estão adiados.
  • Abrir «Explicar» numa anomalia para ver a métrica face à faixa normal, a dimensão culpada e o upstream, ou, numa anomalia de custo, o excesso e as queries culpadas, ou, num drift de distribuição, as categorias ou os quantis da coluna antes e depois (a lista, os avisos e os tickets só dizem as quotas e a variação; numa coluna sensível, os valores só aparecem a quem os pode ver); abrir «Impacto» para ver os datasets e os consumidores a jusante.
  • Pedir «Diagnosticar IA» para obter um diagnóstico de causa-raiz, que abre como relatório.
  • Abrir «Corrigir» para ver o código da correção, em SQL, pandas e PySpark (e o teste dbt), vindo do diagnóstico IA do problema ou do incidente e das sugestões do dataset, e copiá-lo. Com o repositório git ligado, um admin abre o PR com «Abrir PR» (ou «Aplicar por PR», na correção do relatório) depois de confirmar o repositório. O PR fica ligado ao problema, e o estado dele (aberto, merged, aplicado, verificado) aparece no mesmo sítio. Sem repositório, ficam o código e a ligação para Notificações › Repositório git. Nada é aplicado nas tuas fontes.
  • Mudar o estado com «Reconhecer», «Resolver», «Esperado», «Ignorar» ou «Reabrir», escolher o «Dono» ou «Adiar 7 dias»; ao resolver, o BeryX pode propor em Sugestões a regra «nunca mais» que teria apanhado o problema. «Diagnosticar IA» só existe nos problemas por resolver.
  • Selecionar vários problemas e aplicar de uma vez «Resolver e verificar», «Atribuir», «Adiar 7 dias» ou «Ignorar». No lote, os problemas de regra ficam a aguardar verificação e os outros ficam resolvidos sem verificação. Com o filtro «Adiado», «Cancelar adiamento» troca «Adiar 7 dias».
  • Ver por baixo do título os tickets ligados a cada problema, com a ferramenta, a chave e o estado, e abri-los. «Criar user story» abre «Corrigir» com o formulário da user story na ferramenta de tickets ligada (o nome dela aparece no texto): o tipo de item (user story, bug, tarefa, no Jira e no Azure DevOps) e o título e a descrição, que vazios levam o contexto (o impacto, o dono, a correção proposta e a ligação de volta ao BeryX). «Ligar ticket existente» liga, pelo URL, um ticket que já existe em qualquer ferramenta. Um problema pode ter vários tickets. Selecionados vários problemas, «Criar user stories» cria uma por problema, depois de confirmar; os que já têm uma aberta ficam com essa.
  • Ver os adiados. Um problema adiado sai da fila até à data e volta sozinho, mas continua por resolver: conta nos totais de abertos da Visão Geral, do Domínio e do Sonar, que somam os abertos, os reconhecidos e os adiados.
    • Ao lado dos filtros, «N adiados» diz quantos a lista esconde; carrega para os veres. O mesmo número aparece nas Atividades.
    • O filtro «Adiado» mostra-os, cada um com a data em que volta, e «Cancelar adiamento» devolve-os já à fila.
    • «Todos os estados» também os mostra.
  • Contar com o que o scan faz depois de fechares um problema. Uma regra e os duplicados de uma tabela são condições que o scan volta a medir, por isso o problema é sempre o mesmo. Nos outros tipos, cada deteção de drift ou de anomalia é uma ocorrência nova, e ignorar uma anomalia sobe o limiar da métrica.
    • Resolver: se o scan ainda detetar a falha, ou se ela voltar mais tarde, o mesmo problema reabre com o dono, a equipa e o histórico, e sai um alerta.
    • Esperado: fecha sem contar como resolvido, e reabre da mesma forma. Para não receber alertas de uma carga prevista, usa «Silenciar até…» no dataset.
    • Ignorar: o problema deixa de dar alertas. O scan não o reabre nem abre outro igual, mesmo com a regra a falhar. Só volta com «Reabrir».
    • Reabrir: se já houver um problema aberto igual, o BeryX recusa e pede-te que trates esse.
    • Depois de reabrir: por ti ou pelo BeryX, o problema volta à fila, mesmo que estivesse adiado. A idade do problema, o tempo de resolução e a subida pela escala contam desde a reabertura, e o relógio do SLA retoma onde parou. O prazo que uma pessoa escreveu fica; o que o SLA calculou recomeça.
    • Regra apagada ou desligada: o próximo scan fecha os problemas abertos dessa regra, com nota no histórico. Com o fecho automático desligado, ficam abertos e a descrição avisa. Se voltares a ligar a regra e ela falhar, o mesmo problema reabre.

Ver também

  • Incidentes — problemas em cascata agrupados pelo dataset de origem.
  • Sugestões — onde aceitas as regras «nunca mais» propostas ao resolver.
  • Relatórios IA — os diagnósticos de causa-raiz pedidos a partir daqui.

English

Issues

Lists the data quality issues in your datasets, with filters for severity, type, dimension and status. This is where you triage: each issue shows the action BeryX recommends for its current status, and the other actions explain what they do before you use them.

What you can do

  • Follow the recommended action. In the “Actions” column, each issue has one highlighted action and, below it, a sentence saying why. The others are under “All actions”, grouped into “Investigate”, “Change the status” and “Organise”, each with what it does for this type of issue. What makes no sense in the current status is left out: a closed issue only has “Reopen” and “Link existing ticket”, and on a snoozed issue “Cancel snooze” replaces “Snooze 7 days”. The recommendation follows the status and, on a new issue, the type and the severity too.
    • New, critical or outside the SLA: “Acknowledge”, so someone takes it on now and the on-call escalation stops.
    • New, on an anomaly or a cost anomaly: “Explain”, so you check whether the anomaly is real before deciding.
    • New, for the other types: “Acknowledge”, so the team knows someone is handling it.
    • Acknowledged: “Fix”, with the fix code and the PR; on an issue with no dataset, “Resolve”. The sentence says how it closes afterwards: on an issue from a rule, “Resolve and verify”; on an anomaly, it recalls the other ways out: “Ignore” if it was a false alarm, “Expected” if it was planned.
    • Snoozed, resolved, ignored or expected: none. The sentence says when it returns to the queue or what happens if the failure comes back.
    • Read-only on the dataset: “Explain” or “Impact”. Whoever edits the dataset changes the status.
    • BeryX never recommends “Ignore” or “Expected”. Closing an issue without fixing it is a decision for whoever knows the data.
  • Close with “Resolve”, “Expected” or “Ignore”, depending on what happened. All three can be undone with “Reopen”.
    • Resolve: you fixed the cause. It counts in resolved issues and in resolution time, and BeryX may propose the “never again” rule in Suggestions. On an anomaly, detection for the metric becomes more sensitive.
    • Resolve and verify: on an issue from a rule, you say what you did (a PR, a fix at the source or other) and the issue becomes “Awaiting verification”. The next scan evaluates the rule again: if it passes, it becomes “Verified in scan …”, with the link to the scan; if it fails, it reopens with “Reopened: verification failed”. “Resolve without verifying” asks for the reason and is marked “Not verified”. On issues the scan does not verify through a rule (dbt tests, syncs, BI refreshes, reported issues), the dialog says how they are confirmed and resolves without verification. When the scan closes on its own an issue whose rule passes again, it is also verified.
    • Expected: the issue was real but planned, such as a migration or the month-end close. It asks for the reason, does not count as resolved and leaves detection unchanged. If it happens again, BeryX alerts you again. On an anomaly of a metric (volume, nulls, distinct values, freshness), you can explain it with a dated event (a campaign, a launch) that covers its day and lasts up to 31 days: the name and the days go into the event calendar for that dataset. An anomaly detected on those days arrives with the “Event: …” label, on the issue and on the alert, and neither proposes the “never again” rule nor tunes the threshold. The label belongs to the current detection: a detection outside the event removes it. So does reopening the anomaly, or deleting the event, and the next detection does not put it back on one that was reopened.
    • Ignore: a false alarm, or not important. It does not count as resolved and, for many types, the detector learns from it. On an anomaly, it raises the metric's threshold and, ignored several times, mutes it. On automatic monitors, cost, policies, syncs, BI refreshes, dbt, modelling and unused datasets, BeryX stops opening that alert on that dataset. What happens on a rule or on duplicates is further down.
  • Filter by “Severity”, “Type”, “Quality dimension” and “Status” and tick “Only mine” to see just the ones assigned to you. The default status is “Unresolved”: open and acknowledged issues that are not snoozed.
  • Open “Explain” on an anomaly to see the metric against its normal band, the culprit dimension and the upstream datasets, or, on a cost anomaly, the excess and the culprit queries, or, on a distribution drift, the categories or the quantiles of the column before and after (the list, the notices and the tickets only state the shares and the change; on a sensitive column, the values only show to those who may see them); open “Impact” to see the downstream datasets and consumers.
  • Request “Diagnose with AI” for a root-cause diagnosis, which opens as a report.
  • Open “Fix” to see the fix code, in SQL, pandas and PySpark (and the dbt test), from the AI diagnosis of the issue or the incident and from the dataset suggestions, and copy it. With the git repository connected, an admin opens the PR with “Open PR” (or “Apply via PR”, for the report fix) after confirming the repository. The PR stays linked to the issue, and its status (open, merged, applied, verified) shows in the same place. Without a repository, you get the code and the link to Notifications › Git repository. Nothing is applied to your sources.
  • Change the status with “Acknowledge”, “Resolve”, “Expected”, “Ignore” or “Reopen”, pick the “Owner” or “Snooze 7 days”; when you resolve an issue, BeryX may propose in Suggestions the “never again” rule that would have caught it. “Diagnose with AI” is only there on unresolved issues.
  • Select several issues and apply “Resolve and verify”, “Assign”, “Snooze 7 days” or “Ignore” in one go. In the batch, rule issues wait for verification and the others are resolved without verification. With the “Snoozed” filter, “Cancel snooze” replaces “Snooze 7 days”.
  • See the tickets linked to each issue under its title, with the tool, the key and the status, and open them. “Create user story” opens “Fix” with the user story form in the connected ticket tool (its name shows in the text): the item type (user story, bug, task, on Jira and Azure DevOps) and the title and description, which when left empty carry the context (the impact, the owner, the proposed fix and the link back to BeryX). “Link existing ticket” links, by its URL, a ticket that already exists in any tool. An issue can have several tickets. With several issues selected, “Create user stories” creates one per issue, after confirming; those that already have an open one keep it.
  • See the snoozed issues. A snoozed issue leaves the queue until its date and returns on its own, but it is still unresolved: it counts in the open totals on the Overview, the Domain and the Sonar, which add up open, acknowledged and snoozed issues.
    • Next to the filters, “N snoozed” says how many the list hides; click it to see them. Activities shows the same number.
    • The “Snoozed” filter shows them, each with the date it returns, and “Cancel snooze” puts them back in the queue right away.
    • “All statuses” shows them too.
  • Know what the scan does after you close an issue. A rule and a table's duplicates are conditions the scan measures again, so the issue is always the same one. For the other types, each drift or anomaly detection is a new occurrence, and ignoring an anomaly raises the metric's threshold.
    • Resolve: if the scan still detects the failure, or it comes back later, the same issue reopens with its owner, team and history, and an alert goes out.
    • Expected: closes it without counting it as resolved, and it reopens the same way. To avoid alerts from a planned load, use “Mute until…” on the dataset.
    • Ignore: the issue stops raising alerts. The scan neither reopens it nor opens an identical one, even with the rule failing. It only comes back with “Reopen”.
    • Reopen: if an identical issue is already open, BeryX refuses and asks you to work on that one.
    • After reopening: by you or by BeryX, the issue goes back in the queue, even if it was snoozed. The issue's age, the resolution time and the climb up the on-call rota count from the reopening, and the SLA clock resumes where it stopped. A due date someone wrote stays; one the SLA calculated starts again.
    • Deleted or disabled rule: the next scan closes that rule's open issues, with a note in the history. With automatic closing off, they stay open and the description says why. If you enable the rule again and it fails, the same issue reopens.

See also

  • Incidents — cascading issues grouped by their source dataset.
  • Suggestions — where you accept the “never again” rules proposed on resolve.
  • AI Reports — the root-cause diagnoses requested from here.