Merged
Conversation
…e-logs # Conflicts: # mindsdb/integrations/handlers/sentry_handler/README.md # mindsdb/integrations/handlers/sentry_handler/connection_args.py # mindsdb/integrations/handlers/sentry_handler/sentry_handler.py # mindsdb/integrations/handlers/sentry_handler/sentry_tables.py # mindsdb/integrations/handlers/sentry_handler/tests/test_sentry_handler.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Observacao
A parte de
issuesdesta PR faz apenas uma reorganizacao estrutural do codigo. Nao ha mudanca funcional no comportamento da tabelaissuesalem do alinhamento ja feito com amain.Resumo
Esta PR faz duas entregas no handler do Sentry:
Parte 1: refatoracao do handler
O objetivo desta parte e evitar que o handler do Sentry vire uma god class conforme o suporte a Explore cresce.
Com isso:
sentry_handlerParte 2: suporte a Explore Logs
O handler passa a expor estas tabelas:
projectsissueslogslogs_timeserieslogs
A tabela
logsusa o Explore tabular do Sentry e expoe um schema curado na V1.Comportamento principal:
timestamp DESCmessageproject_ideenvironmentdo datasourceextra_jsonpara contexto adicional bruto do eventologs_timeseries
A tabela
logs_timeseriesusa o endpoint de serie temporal do Explore para perguntas de volume ao longo do tempo.Comportamento principal:
bucket_startevaluebucket_start ASC7dquando nao houver filtro temporal1hpara ate48he1dpara janelas maioresErros e resiliencia
O fluxo de Explore agora cobre explicitamente:
401como erro de autenticacao403como erro de permissao404ou indisponibilidade como erro de capability do Explore/logs429,502,503e504