[monitor-docker] Error reading monitor statistics: TypeError: Cannot read properties of undefined (reading 'usage')
See original GitHub issueWhich Caliper version are you using?
v0.5.0-unstable-20220408135025
Which Node.JS version are you using?
v17.8.0
Which operating system are you using?
macOs Monterey 12.2.1
Please provide some context for your error. For example, when did the error occur? What were you trying to achieve, and how?
I tried to monitor remote docker containers.
npx caliper launch manager --caliper-bind-sut fabric:latest-v2 --caliper-workspace ./ --caliper-bind-cwd ./ --caliper-networkconfig networks/networkConfig.yaml --caliper-benchconfig benchmarks/config.yaml --caliper-flow-only-testcat
What was the observed incorrect behavior?
Caliper cannot gather monitoring information because of the error
Please provide the error logs and their surroundings.
[monitor-docker] Error reading monitor statistics: TypeError: Cannot read properties of undefined (reading 'usage')
Please provide your benchmark configuration file content, if possible.
test:
name: initial try
description: it is just a proof of concept
workers:
type: local
number: 1
rounds:
- label: main
description: fixed
txDuration: 60
rateControl:
type: fixed-rate
opts:
tps: 5
workload:
module: workload/createIdentity.js
monitors:
resource:
- module: docker
options:
interval: 5
containers:
- dev-peer0.org2.example.com-identity_1.0-42252d58153bcf4ee71291af75bf27a4575826b9fe0d5596e34735f00db464d8
- dev-peer0.org1.example.com-identity_1.0-42252d58153bcf4ee71291af75bf27a4575826b9fe0d5596e34735f00db464d8
Please provide your network configuration file content, if possible.
-
Please provide your workload module content, if possible.
-
Please provide any additional information you deem relevant to the error.
No response
Issue Analytics
- State:
- Created a year ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
node.js - error [monitor-docker] Error reading monitor statistics ...
error [monitor-docker] Error reading monitor statistics: TypeError: Cannot read properties of undefined (reading 'cpu_usage').
Read more >Docker widget error: Cannot read properties of undefined ...
I deployed tiledesk docker container in a shared server, before I modify the PORTS to others, because some ports (ex.
Read more >TypeError Cannot read properties of undefined (reading 'data')
Hello ! I have an issue that i don't understand. I searched online but no clue for my code... ... in template, i...
Read more >Fix 'cannot read properties of undefined (reading map)' in JS
The "Uncaught TypeError: Cannot read properties of undefined (reading 'map')" error occurs in JavaScript, whenever you try to use the array ...
Read more >Wazuh Kibana plugin troubleshooting - Elasticsearch
This section of the Wazuh documentation lists the common installation or usage issues with the Wazuh Kibana plugin and how to resolve them....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thanks! I have just tryied now as well and got the same error …investigating now, will let you know asap.
@aronaks In your monitor section could you try changing your interval value. 5 = 5 milliseconds, so I wonder do you get the same problem if you increase the interval to say 500 = 500 milliseconds?