Closed bernardolins closed 7 years ago
Interface proposal:
# Default Values
# @metrics [:last_interval]
# @extra %{}
report('users_controller', value: 100, metrics: [:p99, :p95, :avg, :total, :last_interval], metadata: %{type: 'controller', group: 'http'})
PS.: That would replace measure_time
Create a function that accept, for example, 99, 95, mean as argument to determine which datapoints to use