commit old changes
Signed-off-by: Ava Hahn <a.hahn@f5.com>
This commit is contained in:
parent
e7b504fa40
commit
3844ffd94b
3 changed files with 38 additions and 8 deletions
19
utils.sh
Normal file
19
utils.sh
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
#!/bin/bash
|
||||
|
||||
dirn=$(dirname "$0")
|
||||
source $dirn/common.sh
|
||||
|
||||
function otel() {
|
||||
docker run \
|
||||
--name lgtm \
|
||||
-p 3000:3000 \
|
||||
-p 4317:4317 \
|
||||
-p 4318:4318 \
|
||||
--rm \
|
||||
-ti \
|
||||
-v "$PWD"/container/grafana:/data/grafana \
|
||||
-v "$PWD"/container/prometheus:/data/prometheus \
|
||||
-v "$PWD"/container/loki:/data/loki \
|
||||
-e GF_PATHS_DATA=/data/grafana \
|
||||
docker.io/grafana/otel-lgtm
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue