You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/tsweb
Hasnain Lakhani 8fe04b035c tsweb: sort varz by name after stripping prefix (#5778)
This makes it easier to view prometheus metrics.

Added a test case which demonstrates the new behavior - the test
initially failed as the output was ordered in the same order
as the fields were declared in the struct (i.e. foo_a, bar_a, foo_b,
bar_b). For that reason, I also had to change an existing test case
to sort the fields in the new expected order.

Signed-off-by: Hasnain Lakhani <m.hasnain.lakhani@gmail.com>
2 years ago
..
debug.go all: use any instead of interface{} 3 years ago
debug_test.go all: use any instead of interface{} 3 years ago
log.go tsweb: mark AccessLogRecord fields as omitempty (#5250) 2 years ago
tsweb.go tsweb: sort varz by name after stripping prefix (#5778) 2 years ago
tsweb_test.go tsweb: sort varz by name after stripping prefix (#5778) 2 years ago