| 623 | } |
| 624 | |
| 625 | static void |
| 626 | prometheus_out_stats(stats_state *my_state) |
| 627 | { |
| 628 | TSRecordDump((TSRecordType)(TS_RECORDTYPE_PLUGIN | TS_RECORDTYPE_NODE | TS_RECORDTYPE_PROCESS), prometheus_out_stat, my_state); |
| 629 | APPEND_STAT_PROMETHEUS_NUMERIC("current_time_epoch_ms", "%" PRIu64, ms_since_epoch()); |
| 630 | // No version printed, since string stats are not supported by Prometheus. |
| 631 | } |
| 632 | |
| 633 | static void |
| 634 | stats_process_write(TSCont contp, TSEvent event, stats_state *my_state) |
no test coverage detected