1.1.1 • Published 1 day ago

artillery-plugin-memory-inspector v1.1.1

Weekly downloads
-
License
MPL-2.0
Repository
-
Last release
1 day ago

artillery-plugin-memory-inspector

This Plugin is useful for searching for memory leaks of applications you are working on. By providing it an id (pid), the plugin will emit custom metrics with the cpu and memory of the process running your application.

The plugin will emit histograms of these metrics and provide you with a summary at the end. Currently, it will emit them for each VU execution.

Install the plugin

npm install -g artillery-plugin-memory-inspector

Configuration

pid

The process ID to inspect.

You can set more than one pid to be watched by the plugin, so that you can watch more than one process. This might be useful if you have different versions of the application you want to test against, for instance, and want to leverage Artillery's scenario weights for that.

name

Optional. The name of the process to display in the custom metrics report. It is the name that will show up in the custom metrics, otherwise defaults to process_${pid}.

Example Usage

config:
  target: "http://localhost:4444"
  phases:
    - duration: 600
      arrivalRate: 3
      name: "Phase 1"
  processor: "./myProcessor.js"
  plugins:
    memory-inspector:
      - pid: 60754
        name: memory-leak-express
      - pid: 11216
        name: stable-state

scenarios:
  - flow:
      - get:
          url: "/"

Getting Artillery Extended Metrics

For convenience, you are also able to emit Artillery's own NodeJS memory usage metrics. This is useful in case you want to debug if something is happening with Artillery. To do this, run your artillery script with ARTILLERY_INTROSPECT_MEMORY=true, and the plugin enabled:

  plugins:
    memory-inspector: {}

This will emit the following additional metrics from process.memoryUsage:

  • artillery_internal.rss
  • artillery_internal.external
  • artillery_internal.heap_total
  • artillery_internal.heap_used
1.1.1-07478c3

1 day ago

1.1.1-198c0a7

4 days ago

1.1.1-b54a530

5 days ago

1.1.1-88a6cf1

7 days ago

1.1.1-bf75e55

8 days ago

1.1.1-129c69a

8 days ago

1.1.1-fedb959

8 days ago

1.1.1-88e686a

8 days ago

1.1.1-5374048

8 days ago

1.1.1-0e34b80

8 days ago

1.1.1-fa6acff

8 days ago

1.1.1-2344d60

8 days ago

1.1.1-6680314

8 days ago

1.1.1-addd21d

11 days ago

1.1.1-2a2f7a1

11 days ago

1.1.1-99513b7

12 days ago

1.1.1-c0a74fe

12 days ago

1.1.1-385f468

13 days ago

1.1.1-4d40d0b

14 days ago

1.1.1-e9feebe

18 days ago

1.1.1-02da550

18 days ago

1.1.1-d5dd8b4

19 days ago

1.1.1-b9d895b

20 days ago

1.1.1-af8834b

21 days ago

1.1.1-4b6546e

22 days ago

1.1.1-e3e1aa5

22 days ago

1.1.1-7c09830

25 days ago

1.1.1-69471c7

25 days ago

1.1.1-4206f30

25 days ago

1.1.1-83ceb0d

1 month ago

1.1.1-af0720c

1 month ago

1.1.1-ead20b3

1 month ago

1.1.1-c99fd70

1 month ago

1.1.1-732a76a

1 month ago

1.1.1-042221c

1 month ago

1.1.1-d55b152

2 months ago

1.1.1-fdd9363

2 months ago

1.1.1-9c6625c

2 months ago

1.1.1-db92535

2 months ago

1.1.1-f2922e9

2 months ago

1.1.1-46ff72e

2 months ago

1.1.1-48e284c

2 months ago

1.1.1-1ed48b5

2 months ago

1.1.1-578c74a

2 months ago

1.1.1-a0dc4d3

2 months ago

1.1.1-711584a

2 months ago

1.1.1-f0fd405

2 months ago

1.1.1-34bd561

2 months ago

1.1.1-61a6b69

2 months ago

1.1.1-30688df

2 months ago

1.1.1-5ebf998

2 months ago

1.1.1-11f0221

2 months ago

1.1.1-2e563c1

2 months ago

1.1.1-56d9180

2 months ago

1.1.1-3365696

2 months ago

1.1.1-ef2802b

2 months ago

1.1.1-9eb4de7

3 months ago

1.1.1-0c8e536

3 months ago

1.1.0-e22f369

3 months ago

1.1.1

3 months ago

1.1.0-185276e

3 months ago

1.1.0-339dd38

3 months ago

1.1.0-018c917

3 months ago

1.1.0-f9d7fcb

3 months ago

1.1.0-f6a6aa8

3 months ago

1.1.0-c2d53ba

3 months ago

1.1.0-f5cba1a

3 months ago

1.1.0-6e56af4

3 months ago

1.1.0-49f4602

3 months ago

1.1.0-db4ca95

3 months ago

1.1.0-c0bd9d8

3 months ago

1.1.0-e68006e

3 months ago

1.1.0-3f45ead

3 months ago

1.1.0-fde8a88

3 months ago

1.1.0-e2435a9

3 months ago

1.1.0-dab3448

3 months ago

1.1.0-edc94a9

3 months ago

1.1.0-347c371

3 months ago

1.1.0-8e81e34

3 months ago

1.1.0-0a139ea

3 months ago

1.1.0-5b07d5e

4 months ago

1.1.0-981fcd0

4 months ago

1.1.0-35f0e1c

4 months ago

1.1.0-5e061cf

4 months ago

1.1.0-a73a169

4 months ago

1.1.0-d68482d

4 months ago

1.1.0-e359bd2

4 months ago

1.1.0-cb320f9

4 months ago

1.1.0-efe1a6e

4 months ago

1.1.0-1b6220c

4 months ago

1.1.0-52b9e3b

4 months ago

1.1.0-d46133f

4 months ago

1.1.0-c65efbc

4 months ago

1.1.0-d7109dd

4 months ago

1.1.0-f9b94ff

4 months ago

1.1.0-a0b6328

4 months ago

1.1.0-1c936ad

4 months ago

1.1.0-e2eb716

4 months ago

1.1.0-049205b

4 months ago

1.1.0-0e7fadc

4 months ago

1.1.0-da20704

4 months ago

1.1.0-db60c0d

4 months ago

1.1.0-21c8e17

4 months ago

1.1.0-2c125ab

4 months ago

1.1.0-84b6b14

4 months ago

1.1.0-aaaf4d7

4 months ago

1.1.0-6fd477f

4 months ago

1.1.0-213bcb5

4 months ago

1.1.0-7f1d779

5 months ago

1.1.0-fb0b4c6

5 months ago

1.1.0-2531936

5 months ago

1.1.0-aec0b89

5 months ago

1.1.0-1091257

5 months ago

1.1.0-f98bb48

5 months ago

1.1.0-4ae406b

5 months ago

1.1.0-0f9e351

5 months ago

1.1.0-854765f

5 months ago

1.1.0-6103717

5 months ago

1.1.0-67408d1

5 months ago

1.1.0-29a4861

6 months ago

1.1.0-f0ed01e

6 months ago

1.1.0-99d295c

6 months ago

1.1.0-40f80cf

6 months ago

1.1.0-ec3de6a

6 months ago

1.1.0-d51d159

6 months ago

1.1.0-2894fc4

6 months ago

1.1.0-c163dc0

6 months ago

1.1.0-f449d5d

6 months ago

1.1.0-ad6a2e9

6 months ago

1.1.0-4d794e3

6 months ago

1.1.0-f7534a2

6 months ago

1.1.0-498fd09

6 months ago

1.1.0-a2602d2

6 months ago

1.1.0-ffdd0a1

6 months ago

1.1.0-b67bebb

6 months ago

1.1.0-486ce72

6 months ago

1.1.0-d69052f

6 months ago

1.1.0-6cef867

6 months ago

1.1.0-e8a69c3

6 months ago

1.1.0-cad8289

6 months ago

1.1.0-ecfb4ff

6 months ago

1.1.0-d6a468b

6 months ago

1.1.0-a8bfa8e

6 months ago

1.1.0-18186a1

6 months ago

1.1.0-c117677

6 months ago

1.1.0-572880f

6 months ago

1.1.0-12670e3

6 months ago

1.1.0-9277f14

6 months ago

1.1.0-bfa0fe5

6 months ago

1.1.0-766ce39

6 months ago

1.1.0-e388da1

6 months ago

1.1.0-6a9c57c

6 months ago

1.1.0-563696c

6 months ago

1.1.0-ee181c2

6 months ago

1.1.0-3aa67ba

6 months ago

1.1.0-80e9ff6

6 months ago

1.1.0-4e83456

6 months ago

1.1.0-61d96f9

6 months ago

1.1.0-6602d26

6 months ago

1.1.0-18ad4ac

6 months ago

1.1.0-fef0907

6 months ago

1.1.0-15fcca7

6 months ago

1.1.0-a4defca

6 months ago

1.1.0-c1dac36

6 months ago

1.1.0-6629cb2

6 months ago

1.1.0-cc9156a

7 months ago

1.1.0-84efa96

7 months ago

1.1.0-8ddaa8a

7 months ago

1.1.0-ef9d096

7 months ago

1.1.0-a4feb0d

7 months ago

1.1.0-abc8122

7 months ago

1.1.0-7631d27

7 months ago

1.1.0-968cac3

7 months ago

1.1.0-38ff32c

7 months ago

1.1.0-8622de3

7 months ago

1.1.0-0467c8d

7 months ago

1.1.0-9ac3e12

7 months ago

1.1.0-c6362a6

7 months ago

1.1.0-3a22187

7 months ago

1.1.0-69b1245

7 months ago

1.1.0-28610be

7 months ago

1.1.0-ed94c28

7 months ago

1.1.0-f8c884c

7 months ago

1.1.0-6e08ffe

7 months ago

1.1.0-da56158

7 months ago

1.1.0-5b355f8

7 months ago

1.1.0-be1e088

7 months ago

1.1.0-1eac5df

7 months ago

1.1.0-77ea3e9

7 months ago

1.1.0-683e569

7 months ago

1.1.0-331ee21

7 months ago

1.1.0-ab48a8e

7 months ago

1.1.0-5b52b4d

7 months ago

1.1.0-ba9baf5

7 months ago

1.1.0-9c51118

7 months ago

1.1.0-5516ff0

7 months ago

1.1.0-800b2a7

8 months ago

1.1.0

8 months ago

1.0.0-989328c

8 months ago

1.0.0-b8419d2

8 months ago

1.0.0-b0f1e05

8 months ago

1.0.0-2c714fc

8 months ago

1.0.0-4c01280

8 months ago

1.0.0-3f3e92d

8 months ago

1.0.0-0bf63e9

8 months ago

1.0.0-4af8d73

8 months ago

1.0.0-889006a

8 months ago

1.0.0-ab5dd4f

8 months ago

1.0.0-a77a3e9

8 months ago

1.0.0-8697334

8 months ago

1.0.0-d39abda

8 months ago

1.0.0-7dfdba3

8 months ago

1.0.0-648869d

9 months ago

1.0.0-2f484f8

9 months ago

1.0.0-c34ae8a

9 months ago

1.0.0-7085146

9 months ago

1.0.0-47b5181

9 months ago

1.0.0-b9eed29

9 months ago

1.0.0-eeee67c

9 months ago

1.0.0-006b8d0

9 months ago

1.0.0-285d783

9 months ago

1.0.0-4030f6d

9 months ago

1.0.0-c613494

9 months ago

1.0.0-c20229c

9 months ago

1.0.0-8ac0677

9 months ago

1.0.0-7c83e2b

9 months ago

1.0.0-651351e

9 months ago

1.0.0-839736f

9 months ago

1.0.0-076314a

9 months ago

1.0.0-f351294

9 months ago

1.0.0-0a58dd8

9 months ago

1.0.0-ecd59d7

9 months ago

1.0.0-04901e2

9 months ago

1.0.0-1859275

9 months ago

1.0.0-f23d4c6

9 months ago

1.0.0-c6ee732

9 months ago

1.0.0-8c74a5f

9 months ago

1.0.0-533da4b

9 months ago

1.0.0-7871d39

9 months ago

1.0.0-338b070

9 months ago

1.0.0-06989c6

9 months ago

1.0.0-407d225

9 months ago

1.0.0-144e77d

9 months ago

1.0.0-5b10fdf

10 months ago

1.0.0-1a491fd

10 months ago