Skip to content

Add singleton class method tracing#5334

Merged
lloeki merged 2 commits into
masterfrom
lloeki/add-singleton-class-tracing
Feb 16, 2026
Merged

Add singleton class method tracing#5334
lloeki merged 2 commits into
masterfrom
lloeki/add-singleton-class-tracing

Conversation

@lloeki

@lloeki lloeki commented Feb 9, 2026

Copy link
Copy Markdown
Member

What does this PR do?

Add convenience method + documentation for singleton class method tracing (a.k.a "class method")

Motivation:

Fixes: #5333

Change log entry

Add singleton class method tracing

Additional Notes:

How to test the change?

CI

@github-actions

github-actions Bot commented Feb 9, 2026

Copy link
Copy Markdown

👋 Hey @lloeki, please fill "Change log entry" section in the pull request description.

If changes need to be present in CHANGELOG.md you can state it this way

**Change log entry**

Yes. A brief summary to be placed into the CHANGELOG.md

(possible answers Yes/Yep/Yeah)

Or you can opt out like that

**Change log entry**

None.

(possible answers No/Nope/None)

Visited at: 2026-02-10 13:11:02 UTC

@datadog-official

datadog-official Bot commented Feb 9, 2026

Copy link
Copy Markdown

✅ Tests

🎉 All green!

❄️ No new flaky tests detected
🧪 All tests passed

🎯 Code Coverage
Patch Coverage: 100.00%
Overall Coverage: 95.15% (+0.00%)

View detailed report

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 404c776 | Docs | Datadog PR Page | Was this helpful? Give us feedback!

@pr-commenter

pr-commenter Bot commented Feb 9, 2026

Copy link
Copy Markdown

Benchmarks

Benchmark execution time: 2026-02-10 13:48:51

Comparing candidate commit 404c776 in PR branch lloeki/add-singleton-class-tracing with baseline commit 1fdc59c in branch master.

Found 0 performance improvements and 0 performance regressions! Performance is the same for 44 metrics, 2 unstable metrics.

@lloeki
lloeki force-pushed the lloeki/add-singleton-class-tracing branch from c9ac8b3 to d840c0b Compare February 10, 2026 13:09
@lloeki
lloeki marked this pull request as ready for review February 10, 2026 13:10
@lloeki
lloeki requested a review from a team as a code owner February 10, 2026 13:10
Comment thread lib/datadog/kit/tracing/method_tracer.rb
Comment thread lib/datadog/kit/tracing/method_tracer.rb

@Strech Strech left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👏🏼

@lloeki
lloeki merged commit b140811 into master Feb 16, 2026
619 checks passed
@lloeki
lloeki deleted the lloeki/add-singleton-class-tracing branch February 16, 2026 15:23
@github-actions github-actions Bot added this to the 2.29.0 milestone Feb 16, 2026
@y9v y9v mentioned this pull request Feb 20, 2026
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.

Add MethodTracer#trace_singleton_class_method

3 participants