@@ -120,12 +120,13 @@ func TestCollector_ServeHTTP(t *testing.T) {
120
120
`# HELP connect_box_lan_client LAN client.` ,
121
121
`# TYPE connect_box_lan_client gauge` ,
122
122
`connect_box_lan_client{` +
123
- `MACAddr="EthernetMACAddr",connection="ethernet",` +
124
- `hostname="EthernetHostname",interface="EthernetInterface",` +
125
- `ipv4_addr="EthernetIPv4Addr"} 1` ,
126
- `connect_box_lan_client{MACAddr="WIFIMACAddr",connection="wifi",` +
127
- `hostname="WIFIHostname",interface="WIFIInterface",` +
128
- `ipv4_addr="WIFIIPv4Addr"} 1` ,
123
+ `connection="ethernet",hostname="EthernetHostname",` +
124
+ `interface="EthernetInterface",ipv4="EthernetIPv4Addr",` +
125
+ `mac="EthernetMACAddr"} 1` ,
126
+ `connect_box_lan_client{` +
127
+ `connection="wifi",hostname="WIFIHostname",` +
128
+ `interface="WIFIInterface",ipv4="WIFIIPv4Addr",` +
129
+ `mac="WIFIMACAddr"} 1` ,
129
130
`# HELP connect_box_oper_state Operational state.` ,
130
131
`# TYPE connect_box_oper_state gauge` ,
131
132
`connect_box_oper_state 1` ,
0 commit comments