Skip to content

Commit

Permalink
Merge pull request #2 from kivra/fix_prepend_metrics_label
Browse files Browse the repository at this point in the history
fix: prepend metrics label with context
  • Loading branch information
kbip authored Sep 17, 2019
2 parents db83b9c + a2fe024 commit 3cf2d0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/greph.erl
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ get_args(Obj, As) ->
end || A <- As].

eval(Label, F, Args) ->
case ?lift(?time(Label, call(F, Args))) of
case ?lift(?time([time, label, Label], call(F, Args))) of
{ok, Res} ->
Res;
{error, Rsn} = Err ->
Expand Down

0 comments on commit 3cf2d0b

Please sign in to comment.