Skip to content

Commit

Permalink
refactor(metrics) mv ngx_wa_metrics.[hc] to src/common/metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
casimiro committed May 9, 2024
1 parent 91e1862 commit cd55097
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
5 changes: 3 additions & 2 deletions config
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ NGX_WASMX_INCS="\
$ngx_addon_dir/src/common \
$ngx_addon_dir/src/common/proxy_wasm \
$ngx_addon_dir/src/common/shm \
$ngx_addon_dir/src/common/metrics \
$ngx_addon_dir/src/common/lua"

NGX_WASMX_DEPS="\
Expand All @@ -142,7 +143,7 @@ NGX_WASMX_DEPS="\
$ngx_addon_dir/src/common/shm/ngx_wasm_shm.h \
$ngx_addon_dir/src/common/shm/ngx_wasm_shm_kv.h \
$ngx_addon_dir/src/common/shm/ngx_wasm_shm_queue.h \
$ngx_addon_dir/src/common/ngx_wa_metrics.h"
$ngx_addon_dir/src/common/metrics/ngx_wa_metrics.h"

NGX_WASMX_SRCS="\
$ngx_addon_dir/src/ngx_wasmx.c \
Expand All @@ -157,7 +158,7 @@ NGX_WASMX_SRCS="\
$ngx_addon_dir/src/common/shm/ngx_wasm_shm.c \
$ngx_addon_dir/src/common/shm/ngx_wasm_shm_kv.c \
$ngx_addon_dir/src/common/shm/ngx_wasm_shm_queue.c \
$ngx_addon_dir/src/common/ngx_wa_metrics.c"
$ngx_addon_dir/src/common/metrics/ngx_wa_metrics.c"

# wasm

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
#endif
#include "ddebug.h"

#include <math.h>
#include <ngx_event.h>
#include <ngx_wasm.h>
#include <ngx_wa_metrics.h>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
#define _NGX_WA_METRICS_H_INCLUDED_


#include <ngx_core.h>
#include <ngx_wrt.h>
#include <ngx_wasm_shm_kv.h>


Expand Down

0 comments on commit cd55097

Please sign in to comment.