GoogleCloudPlatform / GoogleCloudPlatform/cloud-logging-data-source-plugin
Older logs are not loaded
- Ngôn ngữ chính
- TypeScript
- Star
- 24
- Fork
- 17
- Merge trung bình
- 13 giờ 11 phút
- Pull request đã merge (30 ngày)
- 11
Mô tả
# 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.
Hướng dẫn đóng góp
Hướng nghiên cứu
Bắt đầu bằng cách tái hiện issue #91 với một bảng logging của Grafana có các log vượt quá số điểm dữ liệu tối đa đã cấu hình, sau đó so sánh hành vi của nó với Explore. Truy vết điểm vào để plugin tải log nhằm xác định liệu phân trang có dừng sau batch cũ hơn đầu tiên hay không; hoàn tất khi tất cả log trong khoảng thời gian đã chọn được tải khi cuộn xuống cuối.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- grafana, typescript
- Lĩnh vực
- observability
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100