github.com/pyroscope-io/pyroscope@v0.37.3-0.20230725203016-5f6947968bd0/monitoring/README.md (about)

     1  # Monitoring
     2  
     3  1. Install jsonnet/jb by running `make install-dev-tools` in the root Makefile.
     4  
     5  2. Install dependencies
     6  ```
     7  make init
     8  ```
     9  
    10  3. (Re)Generate the dashboards
    11  ```
    12  make
    13  ```
    14  
    15  # Development
    16  
    17  
    18  Run the [grafana-integration](../examples/grafana-integration) example docker-compose then copy the generated dashboard there:
    19  
    20  ```
    21  make && docker-compose -f ../examples/grafana-integration/docker-compose.yml up -d --force-recreate grafana
    22  ```
    23  
    24  # Warnings
    25  * If you ever rename the dashboard path, don't forget to update the references (see all the docker-compose.yaml)
    26  
    27  # References
    28  
    29  * https://grafana.github.io/grafonnet-lib/api-docs/
    30  * https://github.com/grafana/grafonnet-lib/tree/master/grafonnet
    31  * https://github.com/kubernetes-monitoring/kubernetes-mixin