Last active 1749652495

gistfile1.txt Raw
11. Actor queries loki for `app_name: my-website`, `2025-06-10T00:00:00 to 2025-06-11T00:00:00`
22. loki queries index store for `app_name: my-website, customer: dexory, range: [2025-06-10T00:00:00, 2025-06-11T00:00:00]`
33. index store returns logIDs `123`, `234`, `345`, `999`
44. loki queries cache and gets a hit on `123`
55. loki retrieves `234`, `345`, `999` from blob store
66. loki applies filters and transformations to `234`, `345`, `999`
7
87.1 loki returns `123`, `234`, `345`, `999` to actor
9
107.2 loki writes `234`, `345`, `999` to cache
118 cache writes `234`, errors because the payload isn't conformant, *doesn't remove erroneous addition*
12
13
14----
15
16step 6: this is where the stupid field thing happens. Consider:
17
181. Loki parses payload
192. Loki looks for dodgy key
203. If found, loki updates raw text (perhaps to make sure it doesn't accidentally create a non-conformant field), and this is where the stupid overwrite instead of insert comes in