File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,10 @@ RUN npm install node-red-contrib-resinio
9
9
RUN npm install node-red-dashboard
10
10
RUN npm install node-red-contrib-credentials
11
11
RUN npm install appmetrics
12
+ RUN npm install appmetrics-dash
12
13
13
14
COPY ./settings.js /data/settings.js
14
- COPY ./appmetrics.properties /usr/src/node-red/node_modules/appmetrics/appmetrics.properties
15
+ COPY ./appmetrics.properties /usr/src/node-red/node_modules/appmetrics/appmetrics.properties
16
+
17
+ # following command will add instrumentation to Node.js (= node-red)
18
+ RUN sed -i 's?#!/usr/bin/env node?#!/usr/bin/env node;\n\n /* JVA: adding appmetrics instructions*/\n var appmetrics = require("appmetrics");\n var monitoring = appmetrics.monitor();\n ?' /usr/src/node-red/node_modules/node-red/red.js
You can’t perform that action at this time.
0 commit comments