Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

It’d be helpful if the docs described error handling

Open
#39 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Stale
Tech stack
ruby
Domain
documentation

Research direction

Start by tracing the metric emission path and reviewing the existing error-handling documentation. Determine and document what happens when transmission fails, including the closed-UDP-socket case; whether a specific exception should be introduced remains an API-design question to clarify before implementation.

Written by the indexing model from the issue text.

Description

There’s no mention of what happens if an attempt to emit a metric fails, for example if, I dunno, maybe if the UDP socket is closed.

If an exception might be raised, it would be helpful if it was a specific exception subclass, something like Datadog::TransmissionError, so it could be rescued and handled specifically.

Dominant language
Ruby
Stars
208
Forks
138
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from DataDog/dogstatsd-ruby

All issues in DataDog/dogstatsd-ruby

Similar issues

More Ruby issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.