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

Older logs are not loaded

Ouverte
#91 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
TypeScript
Étoiles
24
Forks
17
Merge moyen
13 h 11 min
PR mergées (30 j)
11

Description

# 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.

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Commencez par reproduire l’issue #91 avec un panneau de journalisation Grafana dont les logs dépassent le nombre maximal de points de données configuré, puis comparez son comportement avec Explore. Suivez le point d’entrée du plugin pour le chargement des logs afin de déterminer si la pagination s’arrête après le premier lot plus ancien ; c’est terminé lorsque tous les logs de la plage temporelle sélectionnée sont chargés en faisant défiler jusqu’en bas.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
grafana, typescript
Domaine
observability
Type d'issue
Bug
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
35/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.