github.com/yankunsam/loki/v2@v2.6.3-0.20220817130409-389df5235c27/pkg/loghttp/legacy/tail.go (about) 1 package loghttp 2 3 import ( 4 "time" 5 6 "github.com/grafana/loki/pkg/logproto" 7 ) 8 9 // DroppedEntry represents a dropped entry in a tail call 10 type DroppedEntry struct { 11 Timestamp time.Time 12 Labels string 13 } 14 15 // TailResponse represents the http json response to a tail query 16 type TailResponse struct { 17 Streams []logproto.Stream `json:"streams"` 18 DroppedEntries []DroppedEntry `json:"dropped_entries"` 19 }