File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 42614261 "type" : " string" ,
42624262 "description" : " Field path to group by, e.g. metadata.session_id"
42634263 },
4264+ "interval_seconds" : {
4265+ "type" : " number" ,
4266+ "minimum" : 1 ,
4267+ "description" : " Maximum time range to include when constructing a group"
4268+ },
4269+ "max_traces" : {
4270+ "type" : " integer" ,
4271+ "minimum" : 1 ,
4272+ "maximum" : 64 ,
4273+ "description" : " Maximum number of traces to include when constructing a group (default/max: 64)"
4274+ },
4275+ "placement" : {
4276+ "type" : " string" ,
4277+ "enum" : [
4278+ " first" ,
4279+ " each"
4280+ ],
4281+ "description" : " Which trace or traces to write grouped scorer results to"
4282+ },
42644283 "idle_seconds" : {
42654284 "type" : " number" ,
42664285 "description" : " Optional: trigger after this many seconds of inactivity"
42674286 }
42684287 },
42694288 "required" : [
42704289 " type" ,
4271- " group_by"
4290+ " group_by" ,
4291+ " placement"
42724292 ],
42734293 "description" : " Process spans/traces grouped by a field (e.g., session_id)"
42744294 },
Original file line number Diff line number Diff line change @@ -1228,6 +1228,18 @@ class GroupScope(TypedDict):
12281228 """
12291229 Field path to group by, e.g. metadata.session_id
12301230 """
1231+ interval_seconds : NotRequired [float | None ]
1232+ """
1233+ Maximum time range to include when constructing a group
1234+ """
1235+ max_traces : NotRequired [int | None ]
1236+ """
1237+ Maximum number of traces to include when constructing a group (default/max: 64)
1238+ """
1239+ placement : Literal ['first' , 'each' ]
1240+ """
1241+ Which trace or traces to write grouped scorer results to
1242+ """
12311243 idle_seconds : NotRequired [float | None ]
12321244 """
12331245 Optional: trigger after this many seconds of inactivity
Original file line number Diff line number Diff line change 1- """Auto-generated file (content hash a9097876f2d66816 ) -- do not modify"""
1+ """Auto-generated file (content hash 4767a23fab45ae89 ) -- do not modify"""
22
33from ._generated_types import (
44 Acl ,
You can’t perform that action at this time.
0 commit comments