Skip to content

Commit 8893b22

Browse files
author
Shlomi Noach
committed
documenting new hook env variables
1 parent 7869889 commit 8893b22

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

doc/hooks.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ The following variables are available on all hooks:
6565
- `GH_OST_ELAPSED_COPY_SECONDS` - row-copy time (excluding startup, row-count and postpone time)
6666
- `GH_OST_ESTIMATED_ROWS` - estimated total rows in table
6767
- `GH_OST_COPIED_ROWS` - number of rows copied by `gh-ost`
68+
- `GH_OST_INSPECTED_LAG` - lag in seconds (floating point) of inspected server
69+
- `GH_OST_PROGRESS` - progress pct ([0..100], floating point) of migration
6870
- `GH_OST_MIGRATED_HOST`
6971
- `GH_OST_INSPECTED_HOST`
7072
- `GH_OST_EXECUTING_HOST`

0 commit comments

Comments
 (0)