Question about log files (traces)

Hello Team. I am working on a project that parse trace output and wire it to monitoring tools. Looking at the trace output I notice there are multiple TransactionMetrics with same timestamps but different values. Could you help me understand this?

I read the code around logging, seems like the taskId could play a part here?

I believe these are being logged separately for each database you connect to. I don’t think there is anything currently that indicates which database it’s referencing though.

Just a random thought: Is it useful to log the datacenter (database or region) ID in the trace so that we know which region generates a particular line of trace?