"schema": {"$defs":{"__flowInline1":{"$id":"file:///Users/phil/projects/flow/ops-catalog/logs.schema.yaml","$schema":"https://json-schema.org/draft-07/schema","description":"Logs related to the processing of a Flow capture, derivation, or materialization","properties":{"fields":{"additionalProperties":true,"description":"Map of keys and values that are associated with this log entry.","type":"object"},"level":{"enum":["error","warn","info","debug","trace"]},"message":{"type":"string"},"shard":{"$ref":"shard.schema.yaml"},"ts":{"description":"Timestamp corresponding to the start of the transaction","format":"date-time","type":"string"}},"required":["shard","ts","level"],"title":"Flow task logs","type":"object"},"__flowInline2":{"$id":"file:///Users/phil/projects/flow/ops-catalog/shard.schema.yaml","$schema":"https://json-schema.org/draft-07/schema","description":"Identifies a specific shard of a task, which may be the source of a log message or metrics","properties":{"build":{"description":"The id of the build that this shard was running at the time the log was written","pattern":"[0-9a-f]{16}","type":"string"},"keyBegin":{"description":"The inclusive beginning of the shard's assigned key range","pattern":"[0-9a-f]{8}","type":"string"},"kind":{"description":"The type of the catalog task","enum":["capture","derivation","materialization"]},"name":{"description":"The name of the catalog task (without the task type prefix)","type":"string"},"rClockBegin":{"description":"The inclusive beginning of the shard's assigned rClock range","pattern":"[0-9a-f]{8}","type":"string"}},"required":["kind","name","keyBegin","rClockBegin"],"title":"Flow shard id","type":"object"}},"$id":"file:///Users/phil/projects/flow/ops-catalog/events.schema.yaml","$ref":"logs.schema.yaml","$schema":"https://json-schema.org/draft-07/schema","description":"Events are special logs that are intended to be consumed by the control plane","properties":{"fields":{"additionalProperties":true,"properties":{"error":{"description":"If the event represents an error, this field contains the error message.\n","type":"string"},"eventTarget":{"description":"The target of the event is a catalog name that the event pertains to.\n","type":"string"},"eventType":{"description":"Identifies this log message as an event of the given type. Events\nare special logs that are meant to be observed by the Flow control plane.\n","type":"string"}},"required":["eventType","eventTarget"]},"shard":{"description":"The source of the event, which may differ from the eventTarget"}},"required":["fields"],"title":"Flow events"},
0 commit comments