Commit c88a624
Track c-ares socket opens and closes
Summary: Add dedicated c-ares socket open and close counters alongside the existing `cares_open_sockets` gauge, and track socket state in `CAresResolver` so fwdproxy can distinguish steady-state socket occupancy from churn during DNS outages.
Differential Revision: D106704403
fbshipit-source-id: 3ac9b71221fe87b3abcab465f15739b5a5facf9c1 parent dda2caa commit c88a624
3 files changed
Lines changed: 30 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
697 | 697 | | |
698 | 698 | | |
699 | 699 | | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
700 | 713 | | |
701 | 714 | | |
702 | 715 | | |
| |||
1057 | 1070 | | |
1058 | 1071 | | |
1059 | 1072 | | |
| 1073 | + | |
1060 | 1074 | | |
1061 | 1075 | | |
1062 | 1076 | | |
| |||
1066 | 1080 | | |
1067 | 1081 | | |
1068 | 1082 | | |
| 1083 | + | |
1069 | 1084 | | |
1070 | 1085 | | |
1071 | 1086 | | |
1072 | 1087 | | |
| 1088 | + | |
1073 | 1089 | | |
1074 | 1090 | | |
1075 | 1091 | | |
| |||
1081 | 1097 | | |
1082 | 1098 | | |
1083 | 1099 | | |
1084 | | - | |
| 1100 | + | |
| 1101 | + | |
1085 | 1102 | | |
1086 | 1103 | | |
1087 | 1104 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
248 | 248 | | |
249 | 249 | | |
250 | 250 | | |
| 251 | + | |
| 252 | + | |
251 | 253 | | |
252 | 254 | | |
253 | 255 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
361 | 361 | | |
362 | 362 | | |
363 | 363 | | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
364 | 374 | | |
365 | 375 | | |
366 | 376 | | |
| |||
0 commit comments