Mercurial > public > ssdt-docker
comparison scripts/metrics.sh @ 578:0fd261e85cea production v2.18.0
flow: Merged <release> '2.18.0' to <master> ('production').
author | Marc Davis <marc.davis@mcoecn.org> |
---|---|
date | Wed, 04 Sep 2024 12:55:22 -0400 |
parents | 9afc8cb478f6 |
children |
comparison
equal
deleted
inserted
replaced
573:d53ae988d7d6 | 578:0fd261e85cea |
---|---|
8 | 8 |
9 project=$(composeGetProject ${1} ) | 9 project=$(composeGetProject ${1} ) |
10 ip=$(docker inspect -f "{{with .NetworkSettings.Networks}}{{.${project}_default.IPAddress}}{{end}}" $container) | 10 ip=$(docker inspect -f "{{with .NetworkSettings.Networks}}{{.${project}_default.IPAddress}}{{end}}" $container) |
11 | 11 |
12 echo "connecting to ${container} in ${project} at ${ip}:8080" | 12 echo "connecting to ${container} in ${project} at ${ip}:8080" |
13 docker run --network ${project}_default --rm docker.ssdt.io/ssdt-utils curl -s http://${ip}:8080/metrics/admin/metrics?pretty=true | 13 docker run --network ${project}_default --rm docker.ssdt-ohio.org/ssdt-utils curl -s http://${ip}:8080/metrics/admin/metrics?pretty=true |
14 docker run --network ${project}_default --rm docker.ssdt.io/ssdt-utils curl -s http://${ip}:8080/metrics/admin/threads | 14 docker run --network ${project}_default --rm docker.ssdt-ohio.org/ssdt-utils curl -s http://${ip}:8080/metrics/admin/threads |