Junseok Lee
Junseok Lee

Reputation: 3

How do I measure the performance of remote docker container in hyperledger caliper?

i am currently utilizing Hyperledger Caliper to measure the performance of each docker containers. I am currently using two servers and the former has 2 peers and 2 orderers and the other one has 2 peers and 1 orderer. At the former server side, I can measure the local containers' performance (2 peers and 2 orderers) but I cannot measure the performance of the other one's performance.

monitors:
  resource:
  - module: docker
    options:
      interval: 5
      containers:
      - peer0.org1.example.com
      - peer1.org1.example.com
      - orderer.example.com
      - orderer2.example.com
      - http://10.0.0.252:9051/peer0.org2.example.com

peer0.org2.example.com exists at the latter server. But errors arises like

could not start monitors: typererror: cannot read properties of undefined {hasOwnproperty}

If I just type just like below

monitors:
  resource:
  - module: docker
    options:
      interval: 5
      containers:
      - all

I can see the loal containers' performance. But I really wish to measure the remote containers' performance. what should I do now?

Upvotes: 0

Views: 79

Answers (0)

Related Questions