maz

maz

Statix 1.4.0 error after upgrade to elixir 1.15.1 and erlang 26.0.2(from 1.14.4, 25.3) -- "lost value due to port closure"

Hi all, after upgrading to elixir 1.15.1, erlang 26.0.2, I’ve seen

[error] Markably.Statix histogram metric "pipeline_rest.update_mby_tasks_aggregator.push_delivered" lost value 161 due to port closure

I’m not sure where to start with this.

this is the location where the call is made:

  @impl true
  def handle_out("task:update", payload, socket) do
    dbg(payload)

    push(
      socket,
      "user:" <> socket.assigns.user_id,
      payload
    )

    Markably.Statix.histogram(
      "pipeline_rest.update_mby_tasks_aggregator.push_delivered",
      Timing.unix_ms_now() - payload.enqueued_at
    )

    {:noreply, socket}
  end

Any suggestions?
Michael

Marked As Solved

Billzabob

Billzabob

Ya you can find a bunch of info and a fix in this issue:

The problem is that the project seems to be abandoned because the maintainer isn’t responding. We ended up just forking the project and merging the fix in for now…

Also Liked

Billzabob

Billzabob

Just wanted to say we’re seeing the same thing after the upgrade. There are tons of these error messages during our unit tests.

Where Next?

Popular in Questions Top

Brian
What is the proper way to load a module from a file in to IEX? In the python world, doing something like this pretty standard: from ....
New
LegitStack
I’m hoping you guys can give me some general advice and perhaps code examples if you’re feeling up to it. I’m very interested in Elixir,...
New
JorisKok
I have a server on AWS, and was running a load test using artillery. When looking at the Phoenix dashboard I see the Ports going to 100% ...
New
joaquinalcerro
Hi there, I am working with Ecto-Postgresql and I need to call all of the records from a specific table but the table has 40,000 record...
New
sacepums
Hey guys. I'm new to elixir and im really stocked about it. But I ran into a bit of problem - I need to convert a date sting, for examp...
New
vertexbuffer
Hello, can anybody help here..? I have a list of players and I what to delete an element, but every for loop the list is reverting to ori...
New
aadeshere1
I have a another noob question about loop. Since elixir is immutable, while loop is not directly possible. total = 10 while total != 0 ...
New
shahryarjb
Hello, I have map which I want to convert it to string like this: the map: %{last_name: "tavakkoli", name: "shahryar"} the string I ne...
New
Exadra37
Sometimes I want to check if the input into a function is not a blank string. My first approach: defmodule Example do def do_stuff(s...
New
wernerlaude
In AR this is so simple @articles = current_user.articles How to do in Ecto? def index(conn, _params) do current_user = conn.assig...
New

Other popular topics Top

Qqwy
Update: How to use the Blogs &amp; Podcasts section You can post links to your blog posts or podcasts either in one of the Official Blog...
3268 119930 1237
New
lessless
I believe there are people here who are dealing with CSV files import on the daily basis, and since Excel is a really popular tool there ...
New
yawaramin
In the Dialyzer docs ( http://erlang.org/doc/man/dialyzer.html#requesting-or-suppressing-warnings-in-source-files ), there is a way to tu...
New
albydarned
Hello all! I am typing this post from my new MacBook Pro with the M1 chip. I’m loving it so far, and will probably use it as my daily dr...
New
AstonJ
You’re a programmer, so you don’t need spoon feeding with the conventional drivel about “this is an integer.” No. You need to know what’s...
New
_russellb
I want to try my hand at web scraping. What tools/libraries do I need to use. I’m hoping to turn this into something professional so don’...
New
chrismccord
This release brings a number of exciting features, including integration with the new Phoenix LiveDashboard and Phoenix LiveView. There h...
New
ashish173
I am using Ecto timestamps with postgres, I can see the timestamps() use the :naive_dateime but for my use case I wanted to store the ti...
New
alice
Hey, Just curious what are the main benefits of Elixir compared to Clojure? When is Elixir more useful than Clojure and vice versa? Th...
New
joeerl
Hello again - after a longish gap I’ve decided I really must dig into Elixir and see what’s been happening here - so I have a few questio...
New

We're in Beta

About us Mission Statement