Open akoutmos opened 5 years ago
Possible temporary solution would be overriding default list of labels and using :transport, not :transport_name here.
For if anyone else comes across this issue, I changed my config as follows:
config :prometheus, SampleApp.PhoenixInstrumenter,
controller_call_labels: [:controller, :action],
channel_join_labels: [:channel, :topic, :transport]
Any plan to solve this?
This should work with phoenix 1.4: #13
Can confirm, it works for me with v1.3.0 .
It looks like in Phoenix 1.4 the
Phoenix.Socket
struct no longer has the:transport_name
field which in turns yields the following error:Any thoughts on getting around this with Phoenix 1.4?
Thanks!