Metrics payload is Prometheus text exposition pushed over HTTP POST.
-
mysqlbinlog_archiver_stream_up{source="..."}1when streamstatusisrunning, else0.
-
mysqlbinlog_archiver_source_reachable{source="..."}- Result of TCP probe from maintain cycle (
1reachable,0unreachable).
- Result of TCP probe from maintain cycle (
-
mysqlbinlog_archiver_binlog_files{source="..."}- Number of regular files in the source binlog directory.
-
mysqlbinlog_archiver_binlog_bytes{source="..."}- Total bytes across regular files in the source binlog directory.
-
mysqlbinlog_archiver_last_error_ts_seconds{source="..."}- Last stream error timestamp from source state.
-
mysqlbinlog_archiver_last_success_ts_seconds{source="..."}- Last successful stream timestamp from source state.
- If
--metrics-urlis empty, push is disabled. - Push is attempted only when metrics interval is due.
- Push failures are non-fatal and written to maintain state/report.
- Retries are bounded by
--metrics-retriesand use short bounded sleeps.
The push request uses:
- Method:
POST - Header:
Content-Type: text/plain; version=0.0.4