Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PostHog/duckgres
/ Log
Method
Log
server/querylog.go:74–74 ·
view source on GitHub ↗
(QueryLogEntry)
Source
from the content-addressed store, hash-verified
72
defer
cancel()
73
return
newPostgresQueryLogSink(ctx, cfg)
74
}
75
76
// Log sends an entry to the query log. Non-blocking; drops if channel is full.
77
func
(ql *QueryLogger) Log(entry QueryLogEntry) {
Callers
8
logQuery
Method · 0.95
main
Function · 0.65
main
Function · 0.65
main
Function · 0.65
StartCredentialRefresh
Function · 0.65
TestKafkaQueryLogSinkPublishesEnvelope
Function · 0.65
TestKafkaQueryLogSinkStopBoundsBlockedPublish
Function · 0.65
TestKafkaQueryLogSinkStopContextBoundsTotalDrain
Function · 0.65
Implementers
4
fakeControlPlaneQueryLogSink
controlplane/control_test.go
captureQueryLogSink
server/querylog_kafka_test.go
QueryLogger
server/querylog.go
KafkaQueryLogSink
server/querylog_kafka.go
Calls
no outgoing calls
Tested by
3
TestKafkaQueryLogSinkPublishesEnvelope
Function · 0.52
TestKafkaQueryLogSinkStopBoundsBlockedPublish
Function · 0.52
TestKafkaQueryLogSinkStopContextBoundsTotalDrain
Function · 0.52