---
title: "Manuel Menéndez Alfonso (@hudsonbay) | Hashnode"
description: "Elixir Backend Developer. Read the latest articles by Manuel Menéndez Alfonso on Hashnode."
url: "https://hashnode.com/@hudsonbay"
---

@hudsonbay

# Manuel Menéndez Alfonso

@hudsonbay · Joined February 2022

Elixir Backend Developer

## Comments

[Great article!!! As you say, we could send telemetry reports to an external service. In that case, it occurs to me that we could use a Task to do it. For example: def handle\_event(\[:grocery, :store, :sale\], measurements, metadata, \_config) do Task.start(fn -> :timer.sleep(5\_000) Logger.info("\[Sale telemetry: #{measurements.total}\] total for #{metadata.product}") end) end In this case, :timer.sleep(5\_000) would be the time it takes to send the info to that service (a lot 😂😂😂). It's just an example. But we wouldn't be blocking the function then. My question is: Do you recommend doing it like that? Is there a recommended way of doing it or it's fine like that?](https://hashnode.com/posts/introduction-to-telemetry-in-elixir/61fbb8d843e34d1181698f35/comment/6209991a52bfb318205e5833)

Comment · Article · Feb 13, 2022 · [Introduction to Telemetry in Elixir](https://hashnode.com/posts/introduction-to-telemetry-in-elixir/61fbb8d843e34d1181698f35)
