[METRICS-383] Add documentation for write_tsdb