hyperledger / fabric-samples

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

test-network/prometheus-grafana #1234

Closed kangkang333 closed 1 week ago

kangkang333 commented 1 week 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 1 week ago

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

volumes: ...