You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm running Caliper locally and since the scrapePort for the workers' defaults in 3000, it conflicts with Grafana port (also 3000).
I tried to change it as follows:
But it did not seem to work as the scrapePort for the workers would still start from 300. For now I fixed the issue temporarily by changing the /caliper-benchmarks/node_modules/@hyperledger/caliper-core/lib/worker/tx-observers/prometheus-tx-observer.js,8157,1605195368000:
if (CaliperUtils.isForkedProcess()) {
this.scrapePort += workerIndex+1;
}
Well, it's not an ideal solution I guess.
The text was updated successfully, but these errors were encountered:
The problem is one of indentation, the options property is associated with the module, but in the above example the options is associated with the transaction property which is not correct. It should be
I'm running Caliper locally and since the scrapePort for the workers' defaults in 3000, it conflicts with Grafana port (also 3000).
I tried to change it as follows:
But it did not seem to work as the scrapePort for the workers would still start from 300. For now I fixed the issue temporarily by changing the
/caliper-benchmarks/node_modules/@hyperledger/caliper-core/lib/worker/tx-observers/prometheus-tx-observer.js,8157,1605195368000
:Well, it's not an ideal solution I guess.
The text was updated successfully, but these errors were encountered: