Commit e1769f5f authored by Your Name's avatar Your Name

debug write to questdb

parent e48d7d0e
......@@ -223,6 +223,8 @@ func batchToQuestDb(done chan interface{}, reqStream chan pbUpstream.TaskContent
nanoseconds := int64(task.TaskTimestamp)
seconds := nanoseconds / 1e9
fmt.Println("questdb <- resStream", "task.TaskId", task.TaskId, "task.TaskUid", task.TaskUid)
sender.Table(resTableName).
Symbol("type", fmt.Sprintf("%d", task.TaskType)).
Symbol("uid", task.TaskUid).
......@@ -263,6 +265,8 @@ func batchToQuestDb(done chan interface{}, reqStream chan pbUpstream.TaskContent
continue
}
fmt.Println("questdb <- reqStream", "task.TaskId", task.TaskId, "task.TaskUid", task.TaskUid)
nanoseconds := int64(task.TaskTimestamp)
seconds := nanoseconds / 1e9
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment