loadmill-monitor
Advanced tools
Comparing version 0.0.1 to 0.0.2
@@ -11,3 +11,2 @@ const WebSocket = require('ws'); | ||
const monitorClientVersion = '0.0.1'; | ||
const destinationHost = 'monitor.loadmill.com'; | ||
@@ -28,2 +27,3 @@ class Monitor { | ||
this.appName = processName(options.appName, 'appName', 'default_app'); | ||
this.destinationHost = options._destinationHost || 'monitor.loadmill.com'; | ||
@@ -47,4 +47,3 @@ this.sampler = new Sampler(); | ||
this.ws = new WebSocket( | ||
`wss://${destinationHost}/monitor/metrics/?${queryPart}` | ||
// `wss://localhost:4443/monitor/metrics/?${queryPart}`, {rejectUnauthorized: false} | ||
`wss://${this.destinationHost}/monitor/metrics/?${queryPart}`//, {rejectUnauthorized: false} | ||
); | ||
@@ -51,0 +50,0 @@ |
{ | ||
"name": "loadmill-monitor", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "Performance monitoring for Node.js", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
19066
248