Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
/* Run the watcher, which will tail the WAL until the quit channel is closed or an error case is hit. ( https://github.com/prometheus/prometheus/blob/48bccc50c8cca58098f4a9e2c4c54556cab31230/tsdb/wlog/watcher.go#L225) */ // Line 245 if err == nil { if err = w.readCheckpoint(lastCheckpoint, (*Watcher).readSegment); err != nil { return errors.Wrap(err, "readCheckpoint") } } // readSegment ultimately calls Append on QueueManager, which we saw above was assigned when creating the wacher. // Line 521 if len(samplesToSend) > 0 { w.writer.Append(samplesToSend) samplesToSend = samplesToSend[:0] }