Skip to content

Commit

Permalink
Fix typo in example plugin (#197)
Browse files Browse the repository at this point in the history
The function name is [exponential!](https://hexdocs.pm/prom_ex/PromEx.BucketGenerator.html#exponential!/3) (with the `!`).
  • Loading branch information
jasondew authored Apr 20, 2023
1 parent b52c787 commit a223be3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guides/howtos/Writing PromEx Plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ defmodule MyApp.PromEx.Plugins.MyPhoenix do
measurement: :duration,
description: "The time it takes for the application to respond to HTTP requests.",
reporter_options: [
buckets: exponential(1, 2, 12)
buckets: exponential!(1, 2, 12)
],
tag_values: get_conn_tags(phoenix_router),
tags: http_metrics_tags,
Expand Down

0 comments on commit a223be3

Please sign in to comment.