comparison scripts/metrics.sh @ 574:9afc8cb478f6

Domain changed from ssdt.io to ssdt-ohio.org
author Marc Davis <marc.davis@mcoecn.org>
date Wed, 04 Sep 2024 11:36:41 -0400
parents 5c36bfba7014
children
comparison
equal deleted inserted replaced
572:5c9d90a1673a 574:9afc8cb478f6
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