gray-vr-17331
02/28/2024, 1:30 AMFlyteFile
or FlyteDiretory
or str
• Information about the task process & output. For example records_scanned
, batches_written
or uncompressed_content_size
To handle this, we keep defining NamedTuple
s. This works, but I'm suspicious there is a better way I just haven't come across.
Q2: During task operations, it's often useful to see some stat sampling/logging. For longer running tasks especially, it saves a lot of time if we can see some status output of the task before moving onto some other work. To handle this, we've been writing out status information via stdout in our tasks and then viewing the container logs. This works too, but it does feel a bit odd.
Are others doing about the same thing? Or, are there better solutions I've just been missingtall-lock-23197
gray-vr-17331
02/28/2024, 5:16 PMstats
object available from current_context()
(here) - but these do not refer to per-task stats. They seem to be my "flyte general stats".gray-vr-17331
02/28/2024, 5:17 PM