GoogleCloudPlatform / GoogleCloudPlatform/cloud-logging-data-source-plugin
log query fails until query row is expanded
- Lenguaje dominante
- TypeScript
- Estrellas
- 24
- Forks
- 17
- Merge medio
- 13 h 11 min
- PR fusionados (30 d)
- 11
Descripción
I just logged [this issue](https://github.com/grafana/grafana/issues/112075) with grafana, but I'm crossposting it here since it seems likely the bug is in this datasource. To briefly summarize the issue: When a request is sent to this datasource with the `query` field filled out but the `queryText` field empty, the datasource doesn't return any results.
I see that [there is special handling for these fields in one part of the datasource](https://github.com/GoogleCloudPlatform/cloud-logging-data-source-plugin/blob/51163c30e658336622ec6ea38c41a039d4837dc2/src/QueryEditor.tsx#L44), but it seems the request doesn't hit this code under certain conditions.
For more info see the original issue I filed with grafana: https://github.com/grafana/grafana/issues/112075
### Components:
- Grafana Cloud
- GCP Cloud logging v1.5.1
Guía de contribución
Línea de trabajo
Comienza con el manejo especial en src/QueryEditor.tsx alrededor de la línea 44 y compara después la ruta de request utilizada cuando query está rellenado y queryText está vacío. Usa el issue 112075 de Grafana para los detalles de reproducción y verifica que la datasource devuelva resultados sin expandir la fila de query.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- google-cloud, typescript
- Área
- api, backend
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 45/100