The step parameter in log_metric is used to:
Select an answer to reveal the explanation.
Short Explanation and Infographic
step = x-axis for metric curves across iterations.
Full explanation below image
Full Explanation
Time-series metrics need step or timestamps.