Skip to content

Add Datadog/statsd with simple client emitting startup#1689

Open
forge33 wants to merge 1 commit into
github:masterfrom
Shopify:dogstatsd-client-upstream
Open

Add Datadog/statsd with simple client emitting startup#1689
forge33 wants to merge 1 commit into
github:masterfrom
Shopify:dogstatsd-client-upstream

Conversation

@forge33
Copy link
Copy Markdown

@forge33 forge33 commented May 26, 2026

Relates to: #1672

Description

This PR adds a simple setup around DataDog/StatsD by adding two new arguments when calling gh-ost:

  • --statsd-addr
  • --statsd-tags

This will start emitting the gh_ost.startup metric to statsd.

This is being upstreamed from Shopify's fork — original PR: Shopify#30

🎩

Without tags
Screenshot 2026-05-12 at 10 44 28 AM

With some tags

--statsd-addr=127.0.0.1:9125
--statsd-tags=table:foo,identifier:bar,application:baz,database:qux
Screenshot 2026-05-12 at 10 52 54 AM Screenshot 2026-05-12 at 10 54 08 AM

In case this PR introduced Go code changes:

  • contributed code is using same conventions as original code
  • script/cibuild returns with no formatting errors, build errors or unit test errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant