In this blog post, we introduce the concept of statement IDs and how they can be used in Bronto. A statement ID is a unique identifier assigned to log statements in source code. It can be expressed as a simple key-value pair, such as stmt_id=1234567890abcdef.

For instance, the following log statement

Courier Log Bigger Font

log.info(“{} task was performed. duration_sec={}, stmt_id=b5bf893a4bf84d74”, taskName, taskDurationSec)

can lead to many different log entries, e.g.

Courier Log Collection Task

INFOCollection task was performed. duration_sec=2.45, stmt_id=b5bf893a4bf84d74

Courier Log Processing Task

INFOProcessing task was performed. duration_sec=0.03, stmt_id=b5bf893a4bf84d74

Courier Log Aggregation Task

INFOAggregation task was performed. durat…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help