Commit db1f5fa
etcd: add metrics for watch and paginated list requests
Previously there were no metrics emitted for paginated list calls or the
corresponding watch events. This leads to a blind spot that could hide
real bugs or performance issues.
One example was the issue where quorum was down and the list request
were executed with "WithSerializable" while the watch required quorum.
That resulted in the watch failing and the list starting again - all in
a tight loop. That issue was fixed in 1c82d58
("etcd: require quorum on etcd range requests"), and is no longer
present
The watch metric only measures the setup time and not the actual time a
watch request is open.
Signed-off-by: Odin Ugedal <ougedal@palantir.com>
Signed-off-by: Odin Ugedal <odin@uged.al>1 parent a261b7f commit db1f5fa
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
796 | 796 | | |
797 | 797 | | |
798 | 798 | | |
| 799 | + | |
799 | 800 | | |
800 | 801 | | |
| 802 | + | |
| 803 | + | |
801 | 804 | | |
802 | 805 | | |
803 | 806 | | |
| |||
889 | 892 | | |
890 | 893 | | |
891 | 894 | | |
| 895 | + | |
892 | 896 | | |
893 | 897 | | |
894 | 898 | | |
895 | 899 | | |
| 900 | + | |
896 | 901 | | |
897 | 902 | | |
898 | 903 | | |
| |||
0 commit comments