@percy/monitoring 1.31.1 → 1.31.2-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cpu.js CHANGED
@@ -59,7 +59,7 @@ async function getTotalCores() {
59
59
  availableCPUs = quota / period;
60
60
  }
61
61
  } catch (error) {
62
- // supressing this err, as we will use fallback system
62
+ // suppressing this err, as we will use fallback system
63
63
  // level cpu details
64
64
  }
65
65
  return availableCPUs;
@@ -84,7 +84,7 @@ async function getLinuxCPUUsage() {
84
84
  // Get first CPU usage reading
85
85
  const startStats = await readCpuStatFromCgroup();
86
86
 
87
- // Wait for 1 second, ie 10^6 microsecod
87
+ // Wait for 1 second, ie 10^6 microsecond
88
88
  await new Promise(resolve => setTimeout(resolve, 1000));
89
89
 
90
90
  // Get second CPU usage reading
package/dist/index.js CHANGED
@@ -67,7 +67,7 @@ export default class Monitoring {
67
67
  this.monitoringId = setInterval(() => {
68
68
  this.executeMonitoring();
69
69
  }, interval);
70
- this.log.debug('Started monitoring sytem metrics');
70
+ this.log.debug('Started monitoring system metrics');
71
71
  }
72
72
  async executeMonitoring() {
73
73
  this.running = true;
@@ -83,7 +83,7 @@ export default class Monitoring {
83
83
  this.memoryUsageInfo = {};
84
84
  this.running = false;
85
85
  this.lastExecutedAt = null;
86
- this.log.debug('Stopped monitoring sytem metrics');
86
+ this.log.debug('Stopped monitoring system metrics');
87
87
  }
88
88
  }
89
89
  async monitoringCPUUsage() {
package/dist/memory.js CHANGED
@@ -50,7 +50,7 @@ async function getTotalMemory() {
50
50
  maxAllocatedMemory = parseInt(maxMemory);
51
51
  }
52
52
  } catch (error) {
53
- // supressing this err, as we will use system level metric
53
+ // suppressing this err, as we will use system level metric
54
54
  // as fallback
55
55
  }
56
56
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@percy/monitoring",
3
- "version": "1.31.1",
3
+ "version": "1.31.2-beta.1",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -9,7 +9,7 @@
9
9
  },
10
10
  "publishConfig": {
11
11
  "access": "public",
12
- "tag": "latest"
12
+ "tag": "beta"
13
13
  },
14
14
  "engines": {
15
15
  "node": ">=14"
@@ -29,10 +29,10 @@
29
29
  "test:coverage": "yarn test --coverage"
30
30
  },
31
31
  "dependencies": {
32
- "@percy/config": "1.31.1",
33
- "@percy/logger": "1.31.1",
34
- "@percy/sdk-utils": "1.31.1",
32
+ "@percy/config": "1.31.2-beta.1",
33
+ "@percy/logger": "1.31.2-beta.1",
34
+ "@percy/sdk-utils": "1.31.2-beta.1",
35
35
  "systeminformation": "^5.25.11"
36
36
  },
37
- "gitHead": "56d0fe4722eea63cfe8a6ea7aa02cf00d465a85d"
37
+ "gitHead": "c8ba03fdd3ab7543f741a68eb5c357e38b48129e"
38
38
  }