eigr / massa

A Stateful Serverless framework on the BEAM VM
https://eigr.io
Apache License 2.0
55 stars 5 forks source link

Fix! Accidental regression of downgrading `:telemetry` version #89

Closed drowzy closed 2 years ago

drowzy commented 2 years ago

I think there was accidental regression introduced in: https://github.com/eigr/massa/commit/89240bf97a42d0673e60e0bab4b2d49cb94b66fb#diff-f9ea769f3d62f6ebfee2c6ef453a579ab051c1b45514ecfc2ffba9d9e98a5025L54

2021-09-29 14:15:26.323 [massa-001@127.0.0.1]:[pid=<0.10411.0> ]:[error]:GenServer MassaProxy.Orchestrator terminating
** (stop) bad return value: %UndefinedFunctionError{arity: 3, function: :span, message: nil, module: :telemetry, reason: nil}
Last message: :work
State: []

It seems there's a missmatch with the version of telemtry expected by Nebulex &/ ExRay. Setting the :telemetry version explicitly to 0.4.3 allows MassaProxy.Orchestrator to start correctly.