File: VSC_vbe.vsc

package info (click to toggle)
varnish 7.7.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 13,256 kB
  • sloc: ansic: 104,222; python: 2,679; makefile: 1,303; sh: 1,077; awk: 114; perl: 105; ruby: 41
file content (162 lines) | stat: -rw-r--r-- 3,800 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
..
	Copyright (c) 2017-2021 Varnish Software AS
	SPDX-License-Identifier: BSD-2-Clause
	See LICENSE file for full text of license

..
	This is *NOT* a RST file but the syntax has been chosen so
	that it may become an RST file at some later date.

.. varnish_vsc_begin::	vbe
	:oneliner:	Backend Counters
	:order:		60

.. varnish_vsc:: happy
	:type:	bitmap
	:format:	bitmap
	:level:	info
	:oneliner:	Happy health probes

	Represents the last probe results as a bitmap. Happy probes are bits set
	to 1, and the unhappy ones are set to 0. The highest bits represent the
	oldest probes.

.. varnish_vsc:: bereq_hdrbytes
	:type:	counter
	:level:	info
	:format: bytes
	:oneliner:	Request header bytes

	Total backend request header bytes sent

.. varnish_vsc:: bereq_bodybytes
	:type:	counter
	:level:	info
	:format: bytes
	:oneliner:	Request body bytes

	Total backend request body bytes sent

.. varnish_vsc:: beresp_hdrbytes
	:type:	counter
	:level:	info
	:format: bytes
	:oneliner:	Response header bytes

	Total backend response header bytes received

.. varnish_vsc:: beresp_bodybytes
	:type:	counter
	:level:	info
	:format: bytes
	:oneliner:	Response body bytes

	Total backend response body bytes received

.. varnish_vsc:: pipe_hdrbytes
	:type:	counter
	:level:	info
	:format: bytes
	:oneliner:	Pipe request header bytes

	Total request bytes sent for piped sessions

.. varnish_vsc:: pipe_out
	:type:	counter
	:level:	info
	:format: bytes
	:oneliner:	Piped bytes to backend

	Total number of bytes forwarded to backend in pipe sessions

.. varnish_vsc:: pipe_in
	:type:	counter
	:level:	info
	:format: bytes
	:oneliner:	Piped bytes from backend

	Total number of bytes forwarded from backend in pipe sessions

.. varnish_vsc:: conn
	:type:	gauge
	:level:	info
	:oneliner:	Concurrent connections used

	The number of currently used connections to the backend. This
	number is always less or equal to the number of connections to
	the backend (as, for example shown as ESTABLISHED for TCP
	connections in netstat) due to connection pooling.

.. varnish_vsc:: req
	:type:	counter
	:level:	info
	:oneliner:	Backend requests sent

.. varnish_vsc:: unhealthy
	:type:	counter
	:level: info
	:oneliner:	Fetches not attempted due to backend being unhealthy

.. varnish_vsc:: busy
	:type:	counter
	:level: info
	:oneliner:	Fetches not attempted due to backend being busy

	Number of times the max_connections limit was reached

..
	=== Anything below is actually per VCP entry, but collected per
	=== backend for simplicity

.. varnish_vsc:: fail
	:type:	counter
	:level: info
	:oneliner:	Connections failed

	Counter of failed opens. Detailed reasons are given in the
	fail_* counters (DIAG level) and in the log under the FetchError tag.

	This counter is the sum of all detailed fail_* counters.

	All fail_* counters may be slightly inaccurate for efficiency.

.. varnish_vsc:: fail_eacces
	:type:	counter
	:level: diag
	:oneliner:	Connections failed with EACCES or EPERM

.. varnish_vsc:: fail_eaddrnotavail
	:type:	counter
	:level: diag
	:oneliner:	Connections failed with EADDRNOTAVAIL

.. varnish_vsc:: fail_econnrefused
	:type:	counter
	:level: diag
	:oneliner:	Connections failed with ECONNREFUSED

.. varnish_vsc:: fail_enetunreach
	:type:	counter
	:level: diag
	:oneliner:	Connections failed with ENETUNREACH

.. varnish_vsc:: fail_etimedout
	:type:	counter
	:level: diag
	:oneliner:	Connections failed ETIMEDOUT

.. varnish_vsc:: fail_other
	:type:	counter
	:level: diag
	:oneliner:	Connections failed for other reason

.. varnish_vsc:: helddown
	:type:	counter
	:level: diag
	:oneliner:	Connection opens not attempted

	Connections not attempted during the backend_local_error_holddown
	or backend_remote_error_holddown interval after a fundamental
	connection issue.

.. varnish_vsc_end::	vbe