File tree Expand file tree Collapse file tree
cozeloop/internal/trace/model Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -48,13 +48,21 @@ class FinishEventInfo:
4848 extra_params : Optional [FinishEventInfoExtra ] = None
4949
5050
51- @dataclass
5251class TagTruncateConf :
53- normal_field_max_byte : int
54- input_output_field_max_byte : int
52+ def __init__ (
53+ self ,
54+ normal_field_max_byte : int ,
55+ input_output_field_max_byte : int ,
56+ ):
57+ self .normal_field_max_byte = normal_field_max_byte
58+ self .input_output_field_max_byte = input_output_field_max_byte
5559
5660
57- @dataclass
5861class QueueConf :
59- span_queue_length : int
60- span_max_export_batch_length : int
62+ def __init__ (
63+ self ,
64+ span_queue_length : int ,
65+ span_max_export_batch_length : int ,
66+ ):
67+ self .span_queue_length = span_queue_length
68+ self .span_max_export_batch_length = span_max_export_batch_length
You can’t perform that action at this time.
0 commit comments