diff options
author | Staffan Olsson <staffan@repos.se> | 2017-07-29 11:42:11 +0200 |
---|---|---|
committer | Staffan Olsson <staffan@repos.se> | 2017-07-31 07:02:46 +0200 |
commit | 813983965508729f7c6ae851bf9cf3db9d0f861f (patch) | |
tree | 59e02b6c2d1aa271b5817dca7d99c8f6efa065da /test | |
parent | 08780ff907143d0a7a38d5b5d70e51aa5b86382b (diff) | |
download | kubernetes-kafka-813983965508729f7c6ae851bf9cf3db9d0f861f.tar.gz kubernetes-kafka-813983965508729f7c6ae851bf9cf3db9d0f861f.tar.bz2 kubernetes-kafka-813983965508729f7c6ae851bf9cf3db9d0f861f.zip |
The 1s response time from kafka might be due to ...
that unlike zoo pods it actually exposes interesting data
Diffstat (limited to 'test')
-rw-r--r-- | test/metrics.yml | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/test/metrics.yml b/test/metrics.yml index a95ae06..822421a 100644 --- a/test/metrics.yml +++ b/test/metrics.yml @@ -1,5 +1,5 @@ # kubectl apply -f test/metrics.yml && kubectl scale --replicas=0 deploy/metrics && kubectl scale --replicas=1 deploy/metrics -# kubectl exec -ti metrics-... -- tail -f /tmp/loglast | grep time_total +# kubectl exec -ti metrics-... -- tail -f /tmp/loglast | egrep 'time_total|^jmx_scrape_duration_seconds' --- kind: ConfigMap metadata: @@ -10,7 +10,7 @@ data: curl-format.txt: |- \n - # ### curl stats ###\n + # ------ curl stats ------\n time_namelookup %{time_namelookup}\n time_connect %{time_connect}\n time_appconnect %{time_appconnect}\n @@ -23,6 +23,8 @@ data: http_code{url="%{url_effective}"} %{http_code}\n size_download{url="%{url_effective}"} %{size_download}\n content_type %{content_type}\n + # ----- curl complete -----\n + \n setup.sh: |- touch /tmp/testlog @@ -76,7 +78,7 @@ spec: image: solsson/curl@sha256:8c0c5d669b3dd67932da934024252af59fb9d0fa0e5118b5a737b35c5e1487bf env: - name: MAX_RESPONSE_TIME - value: "5" + value: "3" # Test set up command: - /bin/bash |