We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
For example this module:
defmodule Mapping do use Metricman.Subscription @reporter expose: [:exometer_report_influxdb] scope [:sessions], @reporter do map [:total], [:sessions, :total] map [:access_class, '$access_class'], [:sessions, :access_class '$access_class'] end end
Will generate get/2 function which works like:
get/2
> Mapping.get [:sessions, :access_class, :online], :counter {:ok, {[:sessions, :online, :access_class], [:value], [expose: [:exometer_report_influxdb]]}}
but it is not was expected. The correct result should looks like:
{:ok, {[:sessions, :access_class, :online], [:value], [expose: [:exometer_report_influxdb]]}}
It happens because we have names clashing: :access_class and '$access_class'. If we rename '$access_class' to '$class' all works correct.
:access_class
'$access_class'
'$class'
The text was updated successfully, but these errors were encountered:
Fix names clashing issue
87b7f7e
See xerions#23 for more information
cdcd577
ce8a7ae
There was names clashing issue when we use variables with the same name that exometer id already has. See xerions#23
No branches or pull requests
For example this module:
Will generate
get/2
function which works like:but it is not was expected. The correct result should looks like:
It happens because we have names clashing:
:access_class
and'$access_class'
.If we rename
'$access_class'
to'$class'
all works correct.The text was updated successfully, but these errors were encountered: