summary refs log tree commit diff
path: root/scripts/cqlmetrics
blob: db3db6aa43678f87ea3e95a2b88aadeb3bf146e1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash

service=$1

if [ -z "${service}" ]; then
  exit 1
fi

zone="${2:-smf1}"

echo $(cql -z "${zone}" k "${service}" "sd.${service}" | fzf)