chore: refactor release workflow for modular distro and upstream builds
This commit is contained in:
@@ -9,7 +9,14 @@
|
||||
#include <stdint.h>
|
||||
|
||||
#define NGX_HTTP_MONITORING_VERSION 1
|
||||
#define NGX_HTTP_MONITORING_MODULE_VERSION "1.0.0"
|
||||
|
||||
#ifndef NGX_HTTP_MONITORING_MODULE_VERSION
|
||||
#define NGX_HTTP_MONITORING_MODULE_VERSION "0.0.0-dev"
|
||||
#endif
|
||||
|
||||
#ifndef NGX_HTTP_MONITORING_BUILD_METADATA
|
||||
#define NGX_HTTP_MONITORING_BUILD_METADATA "source"
|
||||
#endif
|
||||
|
||||
#define NGX_HTTP_MONITORING_DEFAULT_SHM_SIZE (8 * 1024 * 1024)
|
||||
#define NGX_HTTP_MONITORING_MIN_INTERVAL 100
|
||||
|
||||
@@ -411,10 +411,11 @@ ngx_http_monitoring_json_header(ngx_http_monitoring_json_writer_t *jw,
|
||||
tp = ngx_timeofday();
|
||||
|
||||
ngx_http_monitoring_json_printf(jw,
|
||||
"{\"version\":%d,\"module\":\"%s\",\"timestamp\":%T,"
|
||||
"\"msec\":%M,\"scope\":\"%s\",\"pid\":%P",
|
||||
"{\"version\":%d,\"module\":\"%s\",\"build\":\"%s\","
|
||||
"\"timestamp\":%T,\"msec\":%M,\"scope\":\"%s\",\"pid\":%P",
|
||||
NGX_HTTP_MONITORING_VERSION,
|
||||
NGX_HTTP_MONITORING_MODULE_VERSION,
|
||||
NGX_HTTP_MONITORING_BUILD_METADATA,
|
||||
tp->sec, tp->msec, scope, ngx_pid);
|
||||
|
||||
(void) r;
|
||||
|
||||
Reference in New Issue
Block a user