Skip to content

Commit

Permalink
Improve typespec of :event_name option (#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszsamson committed Oct 25, 2020
1 parent 72ae4c4 commit 8319d88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/telemetry_metrics.ex
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ defmodule Telemetry.Metrics do
@type byte_unit_conversion() :: {byte_unit(), byte_unit()}
@type reporter_options :: keyword()
@type metric_option ::
{:event_name, :telemetry.event_name()}
{:event_name, String.t() | :telemetry.event_name()}
| {:measurement, measurement()}
| {:tags, tags()}
| {:tag_values, tag_values()}
Expand Down

0 comments on commit 8319d88

Please sign in to comment.