Skip to content
Permalink
Browse files

feat: add deep_metrics to deep_monitoring flag

  • Loading branch information...
vmarchaud committed Feb 5, 2018
1 parent c541868 commit 4d1bea5e0bbaab1f16f75d012bca25702cdff88e
Showing with 4 additions and 2 deletions.
  1. +2 −1 lib/ProcessContainer.js
  2. +2 −1 lib/ProcessContainerFork.js
@@ -35,7 +35,8 @@ delete process.env.pm2_env;
transactions: (process.env.km_link === 'true' && (process.env.trace === 'true' || process.env.deep_monitoring === 'true')) || false,
http: process.env.km_link === 'true' || false,
v8: process.env.v8 === 'true' || process.env.deep_monitoring === 'true' || false,
event_loop_dump: process.env.event_loop_inspector === 'true' || process.env.deep_monitoring === 'true' || false
event_loop_dump: process.env.event_loop_inspector === 'true' || process.env.deep_monitoring === 'true' || false,
deep_metrics: process.env.deep_monitoring === 'true' || false
});
}

@@ -9,7 +9,8 @@ if (process.env.pmx !== 'false') {
transactions: (process.env.km_link === 'true' && (process.env.trace === 'true' || process.env.deep_monitoring === 'true')) || false,
http: process.env.km_link === 'true' || false,
v8: process.env.v8 === 'true' || process.env.deep_monitoring === 'true' || false,
event_loop_dump: process.env.event_loop_inspector === 'true' || process.env.deep_monitoring === 'true' || false
event_loop_dump: process.env.event_loop_inspector === 'true' || process.env.deep_monitoring === 'true' || false,
deep_metrics: process.env.deep_monitoring === 'true' || false
});
}

0 comments on commit 4d1bea5

Please sign in to comment.
You can’t perform that action at this time.