Track context_switches delta.
[beam_stats.git] / test / beam_stats_consumer_statsd_SUITE.erl
index 161eac1..87f5dd3 100644 (file)
@@ -39,6 +39,7 @@ t_send(_Cfg) ->
     , memory    = [{mem_type_foo, 1}]
     , io_bytes_in  = 3
     , io_bytes_out = 7
+    , context_switches = 5
     },
     ServerPort = 8125,
     {ok, ServerSocket} = gen_udp:open(ServerPort, [binary, {active, false}]),
@@ -52,5 +53,6 @@ t_send(_Cfg) ->
     {ok, {_, _, Data}} = ResultOfReceive,
     << "beam_stats.node_foo_host_bar.io.bytes_in:3|g\n"
      , "beam_stats.node_foo_host_bar.io.bytes_out:7|g\n"
+     , "beam_stats.node_foo_host_bar.context_switches:5|g\n"
      , "beam_stats.node_foo_host_bar.memory.mem_type_foo:1|g\n"
     >> = Data.
This page took 0.025453 seconds and 4 git commands to generate.