From dc4d4bea6021ae67a82001cf61d4abd73823fdf7 Mon Sep 17 00:00:00 2001 From: Ryan Perry Date: Tue, 12 Nov 2024 08:59:18 -0700 Subject: [PATCH] Add step to pull latest grafana --- .../golang-pull/README.md | 4 ++++ .../java/docker/README.md | 6 +++++- examples/language-sdk-instrumentation/golang-push/README.md | 3 ++- .../golang-push/rideshare/README.md | 3 ++- .../language-sdk-instrumentation/java/rideshare/README.md | 3 ++- examples/language-sdk-instrumentation/java/simple/README.md | 3 ++- examples/language-sdk-instrumentation/nodejs/README.md | 3 ++- examples/language-sdk-instrumentation/python/README.md | 3 ++- examples/language-sdk-instrumentation/python/README_zh.md | 3 ++- .../language-sdk-instrumentation/python/rideshare/README.md | 3 ++- .../python/rideshare/README_zh.md | 3 ++- .../python/rideshare/fastapi/README.md | 3 ++- .../python/rideshare/flask/README.md | 3 ++- examples/language-sdk-instrumentation/ruby/README.md | 3 ++- examples/language-sdk-instrumentation/ruby/README_zh.md | 3 ++- .../language-sdk-instrumentation/ruby/rideshare/README.md | 3 ++- .../ruby/rideshare/README_zh.md | 3 ++- .../ruby/rideshare_rails/README.md | 3 ++- .../language-sdk-instrumentation/rust/rideshare/README.md | 3 ++- examples/tracing/tempo/README.md | 4 ++++ 20 files changed, 47 insertions(+), 18 deletions(-) diff --git a/examples/grafana-agent-auto-instrumentation/golang-pull/README.md b/examples/grafana-agent-auto-instrumentation/golang-pull/README.md index c86e87e5c3..0348807ee8 100644 --- a/examples/grafana-agent-auto-instrumentation/golang-pull/README.md +++ b/examples/grafana-agent-auto-instrumentation/golang-pull/README.md @@ -13,6 +13,10 @@ Refer to [config file](agent/config/config.river) to see an example of how to co ### 2. Run Grafana agent, Grafana and Pyroscope ```shell +# Pull latest pyroscope and grafana images: +docker pull grafana/pyroscope:latest +docker pull grafana/grafana:latest + docker-compose up -d ``` diff --git a/examples/grafana-agent-auto-instrumentation/java/docker/README.md b/examples/grafana-agent-auto-instrumentation/java/docker/README.md index fb67c675ae..a9514145fb 100644 --- a/examples/grafana-agent-auto-instrumentation/java/docker/README.md +++ b/examples/grafana-agent-auto-instrumentation/java/docker/README.md @@ -31,7 +31,11 @@ To use this example: 3. Use Docker Compose to build and initiate the container: ```shell - docker-compose up --build +# Pull latest pyroscope and grafana images: +docker pull grafana/pyroscope:latest +docker pull grafana/grafana:latest + +docker-compose up --build ``` After the container is operational, the Grafana Agent profiles the Java application using he defined configuration. diff --git a/examples/language-sdk-instrumentation/golang-push/README.md b/examples/language-sdk-instrumentation/golang-push/README.md index 1a243cb03a..9cfa24fee1 100644 --- a/examples/language-sdk-instrumentation/golang-push/README.md +++ b/examples/language-sdk-instrumentation/golang-push/README.md @@ -55,8 +55,9 @@ What this block does, is: ### Running the example To run the example run the following commands: ``` -# Pull latest pyroscope image: +# Pull latest pyroscope and grafana images: docker pull grafana/pyroscope:latest +docker pull grafana/grafana:latest # Run the example project: docker-compose up --build diff --git a/examples/language-sdk-instrumentation/golang-push/rideshare/README.md b/examples/language-sdk-instrumentation/golang-push/rideshare/README.md index 1b3de44cf1..9822ba1253 100644 --- a/examples/language-sdk-instrumentation/golang-push/rideshare/README.md +++ b/examples/language-sdk-instrumentation/golang-push/rideshare/README.md @@ -2,8 +2,9 @@ To run the example run the following commands: ``` -# Pull latest pyroscope image: +# Pull latest pyroscope and grafana images: docker pull grafana/pyroscope:latest +docker pull grafana/grafana:latest # Run the example project: docker-compose up --build diff --git a/examples/language-sdk-instrumentation/java/rideshare/README.md b/examples/language-sdk-instrumentation/java/rideshare/README.md index eb1d5a9d43..7c29d1c537 100644 --- a/examples/language-sdk-instrumentation/java/rideshare/README.md +++ b/examples/language-sdk-instrumentation/java/rideshare/README.md @@ -49,8 +49,9 @@ What this block does, is: ### Running the example To run the example run the following commands: ``` -# Pull latest pyroscope image: +# Pull latest pyroscope and grafana images: docker pull grafana/pyroscope:latest +docker pull grafana/grafana:latest # Run the example project: docker-compose up --build diff --git a/examples/language-sdk-instrumentation/java/simple/README.md b/examples/language-sdk-instrumentation/java/simple/README.md index 039ef5aff0..ed20024ebd 100644 --- a/examples/language-sdk-instrumentation/java/simple/README.md +++ b/examples/language-sdk-instrumentation/java/simple/README.md @@ -4,8 +4,9 @@ To run the example run the following commands: ``` -# Pull latest pyroscope image: +# Pull latest pyroscope and grafana images: docker pull grafana/pyroscope:latest +docker pull grafana/grafana:latest # Run the example project: docker-compose up --build diff --git a/examples/language-sdk-instrumentation/nodejs/README.md b/examples/language-sdk-instrumentation/nodejs/README.md index 5099d66cf9..2a1555c4b9 100644 --- a/examples/language-sdk-instrumentation/nodejs/README.md +++ b/examples/language-sdk-instrumentation/nodejs/README.md @@ -43,8 +43,9 @@ To use any of the examples, run the following commands: # change directory cd express # or cd express-ts / cs express-pull -# Pull latest pyroscope image: +# Pull latest pyroscope and grafana images: docker pull grafana/pyroscope:latest +docker pull grafana/grafana:latest # Run the example project: docker-compose up --build diff --git a/examples/language-sdk-instrumentation/python/README.md b/examples/language-sdk-instrumentation/python/README.md index 5660c4baae..44e6ed25fc 100644 --- a/examples/language-sdk-instrumentation/python/README.md +++ b/examples/language-sdk-instrumentation/python/README.md @@ -54,8 +54,9 @@ What this block does, is: ### Running the example To run the example run the following commands: ``` -# Pull latest pyroscope image: +# Pull latest pyroscope and grafana images: docker pull grafana/pyroscope:latest +docker pull grafana/grafana:latest # Run the example project: docker-compose up --build diff --git a/examples/language-sdk-instrumentation/python/README_zh.md b/examples/language-sdk-instrumentation/python/README_zh.md index cdf3733eea..76839e8fd4 100644 --- a/examples/language-sdk-instrumentation/python/README_zh.md +++ b/examples/language-sdk-instrumentation/python/README_zh.md @@ -53,8 +53,9 @@ def find_nearest_vehicle(n, vehicle): ### 运行这个例子 要运行该例子,请运行以下命令: ``` -# 拉取最新的 pyroscope 镜像: +# 拉取最新的 pyroscope/grafana 镜像: docker pull grafana/pyroscope:latest +docker pull grafana/grafana:latest # 运行示例项目: docker-compose up --build diff --git a/examples/language-sdk-instrumentation/python/rideshare/README.md b/examples/language-sdk-instrumentation/python/rideshare/README.md index 33ced7ae94..e4c94d1efc 100644 --- a/examples/language-sdk-instrumentation/python/rideshare/README.md +++ b/examples/language-sdk-instrumentation/python/rideshare/README.md @@ -69,8 +69,9 @@ What this block does, is: To run the example run the following commands: ```shell -# Pull latest pyroscope image: +# Pull latest pyroscope and grafana images: docker pull grafana/pyroscope:latest +docker pull grafana/grafana:latest # Run the example project: docker-compose up --build diff --git a/examples/language-sdk-instrumentation/python/rideshare/README_zh.md b/examples/language-sdk-instrumentation/python/rideshare/README_zh.md index 001c87c53a..2fe6bbc8e2 100644 --- a/examples/language-sdk-instrumentation/python/rideshare/README_zh.md +++ b/examples/language-sdk-instrumentation/python/rideshare/README_zh.md @@ -53,8 +53,9 @@ def find_nearest_vehicle(n, vehicle): ### 运行这个例子 要运行该例子,请运行以下命令: ``` -# 拉取最新的 pyroscope 镜像: +# 拉取最新的 pyroscope/pyroscope 镜像: docker pull grafana/pyroscope:latest +docker pull grafana/grafana:latest # 运行示例项目: docker-compose up --build diff --git a/examples/language-sdk-instrumentation/python/rideshare/fastapi/README.md b/examples/language-sdk-instrumentation/python/rideshare/fastapi/README.md index 748aea7090..f1f32d3089 100644 --- a/examples/language-sdk-instrumentation/python/rideshare/fastapi/README.md +++ b/examples/language-sdk-instrumentation/python/rideshare/fastapi/README.md @@ -2,8 +2,9 @@ To run the example run the following commands: ``` -# Pull latest pyroscope image: +# Pull latest pyroscope and grafana images: docker pull grafana/pyroscope:latest +docker pull grafana/grafana:latest # Run the example project: docker-compose up --build diff --git a/examples/language-sdk-instrumentation/python/rideshare/flask/README.md b/examples/language-sdk-instrumentation/python/rideshare/flask/README.md index 21566a0071..6431ea2aae 100644 --- a/examples/language-sdk-instrumentation/python/rideshare/flask/README.md +++ b/examples/language-sdk-instrumentation/python/rideshare/flask/README.md @@ -2,8 +2,9 @@ To run the example run the following commands: ``` -# Pull latest pyroscope image: +# Pull latest pyroscope and grafana images: docker pull grafana/pyroscope:latest +docker pull grafana/grafana:latest # Run the example project: docker-compose up --build diff --git a/examples/language-sdk-instrumentation/ruby/README.md b/examples/language-sdk-instrumentation/ruby/README.md index 968dfba2ee..4f50a11d17 100644 --- a/examples/language-sdk-instrumentation/ruby/README.md +++ b/examples/language-sdk-instrumentation/ruby/README.md @@ -50,8 +50,9 @@ What this block does, is: ### Running the example To run the example run the following commands: ``` -# Pull latest pyroscope image: +# Pull latest pyroscope and grafana images: docker pull grafana/pyroscope:latest +docker pull grafana/grafana:latest # Run the example project: docker-compose up --build diff --git a/examples/language-sdk-instrumentation/ruby/README_zh.md b/examples/language-sdk-instrumentation/ruby/README_zh.md index eeb1dfb7b2..755479dca4 100644 --- a/examples/language-sdk-instrumentation/ruby/README_zh.md +++ b/examples/language-sdk-instrumentation/ruby/README_zh.md @@ -52,8 +52,9 @@ end ### 运行这个例子 要运行该例子,请运行以下命令: ``` -# 拉取最新的 pyroscope 镜像: +# 拉取最新的 pyroscope/grafana 镜像: docker pull grafana/pyroscope:latest +docker pull grafana/grafana:latest # 运行示例项目: docker-compose up --build diff --git a/examples/language-sdk-instrumentation/ruby/rideshare/README.md b/examples/language-sdk-instrumentation/ruby/rideshare/README.md index cfb080a751..18ce929c25 100644 --- a/examples/language-sdk-instrumentation/ruby/rideshare/README.md +++ b/examples/language-sdk-instrumentation/ruby/rideshare/README.md @@ -50,8 +50,9 @@ What this block does, is: ### Running the example To run the example run the following commands: ``` -# Pull latest pyroscope image: +# Pull latest pyroscope and grafana images: docker pull grafana/pyroscope:latest +docker pull grafana/grafana:latest # Run the example project: docker-compose up --build diff --git a/examples/language-sdk-instrumentation/ruby/rideshare/README_zh.md b/examples/language-sdk-instrumentation/ruby/rideshare/README_zh.md index 4b13183e9d..3381828617 100644 --- a/examples/language-sdk-instrumentation/ruby/rideshare/README_zh.md +++ b/examples/language-sdk-instrumentation/ruby/rideshare/README_zh.md @@ -52,8 +52,9 @@ end ### 运行这个例子 要运行该例子,请运行以下命令: ``` -# 拉取最新的 pyroscope 镜像: +# 拉取最新的 pyroscope/grafana 镜像: docker pull grafana/pyroscope:latest +docker pull grafana/grafana:latest # 运行示例项目: docker-compose up --build diff --git a/examples/language-sdk-instrumentation/ruby/rideshare_rails/README.md b/examples/language-sdk-instrumentation/ruby/rideshare_rails/README.md index 5703b51512..70e8f8e546 100644 --- a/examples/language-sdk-instrumentation/ruby/rideshare_rails/README.md +++ b/examples/language-sdk-instrumentation/ruby/rideshare_rails/README.md @@ -1,8 +1,9 @@ # Rails rideshare example ``` -# Pull latest pyroscope image: +# Pull latest pyroscope and grafana images: docker pull grafana/pyroscope:latest +docker pull grafana/grafana:latest # Run the example project: docker-compose up --build diff --git a/examples/language-sdk-instrumentation/rust/rideshare/README.md b/examples/language-sdk-instrumentation/rust/rideshare/README.md index ab2b42fce4..b6a4bb4a36 100644 --- a/examples/language-sdk-instrumentation/rust/rideshare/README.md +++ b/examples/language-sdk-instrumentation/rust/rideshare/README.md @@ -2,8 +2,9 @@ To run the example run the following commands: ``` -# Pull latest pyroscope image: +# Pull latest pyroscope and grafana images: docker pull grafana/pyroscope:latest +docker pull grafana/grafana:latest # Run the example project: docker-compose up --build diff --git a/examples/tracing/tempo/README.md b/examples/tracing/tempo/README.md index a8c68eb746..1de1532e27 100644 --- a/examples/tracing/tempo/README.md +++ b/examples/tracing/tempo/README.md @@ -14,6 +14,10 @@ Pyroscope and Tempo datasources are provisioned automatically. The project can be run locally with the following commands: ```shell +# Pull latest pyroscope and grafana images: +docker pull grafana/pyroscope:latest +docker pull grafana/grafana:latest + docker-compose up ```