commit old changes

Signed-off-by: Ava Hahn <a.hahn@f5.com>
This commit is contained in:
Ava Hahn 2025-08-25 16:56:35 -07:00
parent e7b504fa40
commit 3844ffd94b
3 changed files with 38 additions and 8 deletions

19
utils.sh Normal file
View 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
}