hyperledger / fabric-samples

Samples for Hyperledger Fabric
https://wiki.hyperledger.org/display/fabric
Apache License 2.0
2.8k stars 3.4k forks source link

test-network/prometheus-grafana #1234

Closed kangkang333 closed 5 months ago

kangkang333 commented 5 months ago

This sample has been tested and is recommended to be used on linux in order to fully benefit from its capabilities, however it can be deployed and works on MacOS-intel machine as well (some modification to the cadvisor docker image and related queries are required to show docker containers metrics).

How to make changes in macOS?

kangkang333 commented 5 months ago

https://github.com/google/cadvisor/issues/1565 ! UPD: Mounting docker.sock instead of /var/run/ resolved the issue for me:

volumes: ...