Skip to content

Commit b52420c

Browse files
authored
add stage level to compute actor span to clarify it's purpose (#8467)
1 parent b683c9a commit b52420c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

ydb/library/yql/dq/actors/compute/dq_compute_actor_impl.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,12 @@ class TDqComputeActorBase : public NActors::TActorBootstrapped<TDerived>
189189
true,
190190
false
191191
);
192+
193+
if (ComputeActorSpan) {
194+
ComputeActorSpan.Attribute("stageLevel", static_cast<int>(Task.GetProgram().GetSettings().GetStageLevel()));
195+
ComputeActorSpan.Attribute("stageId", static_cast<int>(Task.GetStageId()));
196+
}
197+
192198
Alloc->SetGUCSettings(GUCSettings);
193199
InitMonCounters(taskCounters);
194200
if (ownMemoryQuota) {

0 commit comments

Comments
 (0)