312
313
if hasMarker {
314
>
// Emit separate action metric for batch of markers.
telemetry.go
315
>
// One workflow task response may contain multiple marker commands. Each marker will emit one
316
>
// command_RecordMarker_Xxx action metric. Depending on pricing model, you may want to ignore all individual
317
>
// command_RecordMarker_Xxx and use command_BatchMarkers instead.
318
>
metrics.ActionCounter.With(metricsHandler).Record(1, metrics.ActionType("command_BatchMarkers"))
319
>
}
320
321
for _, msg := range completedRequest.Messages {