python readme update: varnish cache
Ilya committed
Jan 22, 2017 at 15:18 UTC
99410920ce43c470d6b77fea47c42548e88059ad
1 file changed
+66
python.d/README.md
+66
@@ -1024,3 +1024,69 @@ Without configuration, module attempts to connect to `http://localhost:8080/mana
1024
So it will probably fail.
1025
1026
---
1027
+
1028
+# varnish cache
1029
+
1030
+Module uses the `varnishstat` command to provide varnish cache statistics.
1031
+
1032
+It produces:
1033
+
1034
+1. **Client metrics**
1035
+ * session accepted
1036
+ * session dropped
1037
+ * good client requests received
1038
+
1039
+2. **All history hit rate ratio**
1040
+ * cache hits in percent
1041
+ * cache miss in percent
1042
+ * cache hits for pass percent
1043
+
1044
+3. **Curent poll hit rate ratio**
1045
+ * cache hits in percent
1046
+ * cache miss in percent
1047
+ * cache hits for pass percent
1048
+
1049
+4. **Thread-related metrics** (only for varnish version 4+)
1050
+ * total number of threads
1051
+ * threads created
1052
+ * threads creation failed
1053
+ * threads hit max
1054
+ * length os session queue
1055
+ * sessions queued for thread
1056
+
1057
+5. **Backend health**
1058
+ * backend conn. success
1059
+ * backend conn. not attempted
1060
+ * backend conn. too many
1061
+ * backend conn. failures
1062
+ * backend conn. reuses
1063
+ * backend conn. recycles
1064
+ * backend conn. retry
1065
+ * backend requests made
1066
+
1067
+6. **Memory usage**
1068
+ * memory available in megabytes
1069
+ * memory allocated in megabytes
1070
+
1071
+7. **Problems summary**
1072
+ * session dropped
1073
+ * session accept failures
1074
+ * session pipe overflow
1075
+ * backend conn. not attempted
1076
+ * fetch failed (all causes)
1077
+ * backend conn. too many
1078
+ * threads hit max
1079
+ * threads destroyed
1080
+ * length of session queue
1081
+ * HTTP header overflows
1082
+ * ESI parse errors
1083
+ * ESI parse warnings
1084
+
1085
+8. **Uptime**
1086
+ * varnish instance uptime in seconds
1087
+
1088
+### configuration
1089
+
1090
+No configuration is needed.
1091
+
1092
+---