GoogleCloudPlatform / GoogleCloudPlatform/cloud-logging-data-source-plugin

Older logs are not loaded

Abierto
#91 1 comentario 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
TypeScript
Estrellas
24
Forks
17
Merge medio
13 h 11 min
PR fusionados (30 d)
11

Descripción

# Expected behavior

I add a panel to the dashboard. Time range is set to whatever value I want, for example 1 hour.
Logs are displayed in the panel, newest on top. When I scroll to the bottom of the panel older logs are loaded. I can scroll and logs are loaded until I reach the end of the time frame I chose.

# Actual behavior

When I reach the bottom of the panel some older log entries are returned but how many seems to depend on the value of "max data points" in the panel configuration. If I have a lot of logs I can reach the bottom of the panel and the oldest ones are cut off. For example in a 1 hour window I can only see last 10 minutes of logs. Older entries are only loaded once.

Situtation is different in explore it seems. When I reach the bottom of the logs it says "Loading older logs" and loads them.

# Steps to reproduce

Create a logging panel that in a given time frame would show more logs than the value of "max data points" field. Some lines will not be shown.

I'm not sure if this behavior is the fault of the data source or the grafana logging panel.

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Comienza reproduciendo el issue #91 con un panel de logging de Grafana cuyos logs superen el máximo de puntos de datos configurado y, después, compara su comportamiento con Explore. Rastrea el punto de entrada del plugin para la carga de logs a fin de determinar si la paginación se detiene después del primer lote antiguo; se considera terminado cuando todos los logs del intervalo de tiempo seleccionado se cargan al desplazarse hasta el final.

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

Evaluación

Stack tecnológico
grafana, typescript
Área
observability
Tipo de issue
Error
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.