Validate connection API

Abierto
#2,066 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 2 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
25/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
ruby
Área
api

Línea de trabajo

Comienza con la documentación que describe capture_message, ya que el issue lo identifica como la ruta de validación actual. Sigue cómo se transmite una captura y determina el comportamiento esperado de validación local y de phone-home. Se considera terminado cuando una API puede informar si la configuración y la transmisión tuvieron éxito, con un resultado utilizable para las páginas de diagnóstico y las pruebas del Helm chart.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Feature Ruby

Describe the idea
Right now, the only way to validate that things are well-configured is to do a capture_message call (per your docs) and then go look at the Sentry UI.

It would be very helpful to have an api like Sentry.validate_configuration that checked the settings locally and then actually phoned-home as well to make sure that the DSN and such were good.

Why do you think it's beneficial to most of the users
This would let one programatically confirm all was well. It would be very helpful in a diagnostics page in the app (important thing we have and care about) but also things like Helm chart tests.

Possible implementation
You could just do a capture_message internally but just wrap it in something blocking that confirms the transmission actually happened successfully. That would almost be ideal as it is the "real" codepath. Then on the back-end, you could filter those messages out, or even just default them to Ignored.

Lenguaje dominante
Ruby
Estrellas
990
Forks
552
Merge medio
2 d 16 h
PR fusionados (30 d)
29

Preparar el entorno

Abrir en Codespaces

Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de getsentry/sentry-ruby

Todos los issues de getsentry/sentry-ruby

Issues similares

Más issues de Ruby

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.