File tree Expand file tree Collapse file tree 3 files changed +19
-5
lines changed Expand file tree Collapse file tree 3 files changed +19
-5
lines changed Original file line number Diff line number Diff line change 2525 containers :
2626 - name : metrics
2727 image : solsson/kafka-prometheus-jmx-exporter@sha256:07cdc4b446ebe8208950202b924caefadad006ea94ae92d73bef81897df4d5c7
28+ command :
29+ - java
30+ - -Xmx80M
31+ # TODO OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=16m; support was removed in 8.0
32+ - -XX:MaxPermSize=16m
33+ - -Xss1m
34+ - -jar
35+ - jmx_prometheus_httpserver.jar
36+ - " 5556"
37+ - example_configs/kafka-prometheus-monitoring.yml
2838 ports :
2939 - containerPort : 5556
3040 resources :
Original file line number Diff line number Diff line change 11# kubectl apply -f test/metrics.yml && kubectl scale --replicas=0 deploy/metrics && kubectl scale --replicas=1 deploy/metrics
2- # kubectl exec -ti metrics-... -- tail -f /tmp/loglast | grep time_total
2+ # kubectl exec -ti metrics-... -- tail -f /tmp/loglast | egrep ' time_total|^jmx_scrape_duration_seconds'
33---
44kind : ConfigMap
55metadata :
1010
1111 curl-format.txt : |-
1212 \n
13- # ### curl stats ### \n
13+ # ------ curl stats ------ \n
1414 time_namelookup %{time_namelookup}\n
1515 time_connect %{time_connect}\n
1616 time_appconnect %{time_appconnect}\n
2323 http_code{url="%{url_effective}"} %{http_code}\n
2424 size_download{url="%{url_effective}"} %{size_download}\n
2525 content_type %{content_type}\n
26+ # ----- curl complete -----\n
27+ \n
2628
2729 setup.sh : |-
2830 touch /tmp/testlog
7678 image : solsson/curl@sha256:8c0c5d669b3dd67932da934024252af59fb9d0fa0e5118b5a737b35c5e1487bf
7779 env :
7880 - name : MAX_RESPONSE_TIME
79- value : " 5 "
81+ value : " 3 "
8082 # Test set up
8183 command :
8284 - /bin/bash
Original file line number Diff line number Diff line change 3030 image : solsson/kafka-prometheus-jmx-exporter@sha256:07cdc4b446ebe8208950202b924caefadad006ea94ae92d73bef81897df4d5c7
3131 command :
3232 - java
33- - -Xms39M
34- - -Xmx99M
33+ - -Xmx80M
34+ # TODO OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=16m; support was removed in 8.0
35+ - -XX:MaxPermSize=16m
36+ - -Xss1m
3537 - -jar
3638 - jmx_prometheus_httpserver.jar
3739 - " 5556"
You can’t perform that action at this time.
0 commit comments