Skip to content

Commit

Permalink
Improve PrometheusCaptureContext spec
Browse files Browse the repository at this point in the history
  • Loading branch information
agrare committed Jun 4, 2020
1 parent ebae628 commit 0bb189a
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@
data = context.collect_metrics

expect(data).to be_a_kind_of(Hash)
expect(data.keys).to include(start_time, end_time)
expect(data[start_time].keys).to include(
"cpu_usage_rate_average",
"mem_usage_absolute_average"
)
end
end
end
Expand Down

0 comments on commit 0bb189a

Please sign in to comment.