Expose on_rate_limit as part of the transport contract
Mantenedores costumam responder em até 2 dias
@sl0thentr0py já está trabalhando nisso.
Desde 31/1/2024.
Avaliação
Esta issue ainda não foi avaliada.
Descrição
I see, thanks for the explanation of your use case.
So a few points
- we never do a retry ever on our side, a dropped event is a dropped event
- the server's rate limiting is merely interpreted as 'stop doing stuff for a while'
- technically it is breaking yes, but this is considered internal to the http transport implementation and not really part of the API contract
That said, there are a couple of options for you now
- make your own transport deriving from
Sentry::HTTPTransportand overridesend_datathere and do what you wish there - I can expose a
on_rate_limithook in the transport class similar toon_errorto make that easier so you just need to define that one method to retry
does that work?
Originally posted by @sl0thentr0py in https://github.com/getsentry/sentry-ruby/pull/2216#discussion_r1472958970
- Linguagem predominante
- Ruby
- Estrelas
- 990
- Forks
- 552
- Merge médio
- 2d 16h
- PRs com merge (30d)
- 29
Preparar o ambiente
Inicia o contêiner de desenvolvimento do projeto no navegador, com a sua própria conta do GitHub.
- Sem Dockerfile nem arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de getsentry/sentry-ruby
-
Bug Ruby
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
getsentry/sentry-ruby#3211 · 1 comentário ·
Mantenedores costumam responder em até 2 dias
-
Events dropped client-side for size are only logged at debug level and not recorded as lostTalvez já em andamento @sentry-junior assumiu hoje. AbertaBug Junior: repro Ruby
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
getsentry/sentry-ruby#3209 · 2 comentários · 1 reação ·
Mantenedores costumam responder em até 2 dias
-
with_child_span drops spans when blocks exit via break, return, or throwTalvez já em andamento @itsrayeedscodespace assumiu há 1 dia. AbertaBug Ruby Traces Waiting for: Product Owner
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 38/100
getsentry/sentry-ruby#3206 · 1 comentário ·
Mantenedores costumam responder em até 2 dias
-
Let apps choose how the client IP on events is determinedTalvez já em andamento @sl0thentr0py assumiu há 12 dias. AbertaImprovement Ruby
getsentry/sentry-ruby#3180 · 2 comentários · 1 reação · 1 responsável ·
Mantenedores costumam responder em até 2 dias
-
breaking change Next Major
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 58/100
getsentry/sentry-ruby#3176 · 1 comentário ·
Mantenedores costumam responder em até 2 dias
Todas as issues de getsentry/sentry-ruby
Issues semelhantes
-
enhancement
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 66/100
internetee/registry#2984 ·
Mantenedores costumam responder em até 6 dias
-
interest-zsv
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
hitobito/hitobito_zsv#6 ·
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
ecosyste-ms/issues#862 ·
Mantenedores costumam responder em até 1 dia
-
Redis Lua error `@user_script:52: ERR value is not an integer or out of range` when `window_size` is configuredTalvez já em andamento @mimosa assumiu hoje. Abertabug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 67/100
riscv/riscv-unified-db#2829 ·
Mantenedores costumam responder em até 1 dia