Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactoring interfaces and apis #2317

Closed
wants to merge 2 commits into from

Conversation

knusbaum
Copy link
Contributor

What does this PR do?

Motivation

Reviewer's Checklist

  • Changed code has unit tests for its functionality at or near 100% coverage.
  • There is a benchmark for any new code, or changes to existing code.
  • If this interacts with the agent in a new way, a system test has been added.

For Datadog employees:

  • If this PR touches code that handles credentials of any kind, such as Datadog API keys, I've requested a review from @DataDog/security-design-and-guidance.
  • This PR doesn't touch any of that.

Unsure? Have a question? Request a review!

@@ -175,7 +174,7 @@ func TestRateSampler(t *testing.T) {
assert.True(NewRateSampler(1).Sample(newBasicSpan("test")))
assert.False(NewRateSampler(0).Sample(newBasicSpan("test")))
assert.False(NewRateSampler(0).Sample(newBasicSpan("test")))
assert.False(NewRateSampler(0.99).Sample(internal.NoopSpan{}))
assert.False(NewRateSampler(0.99).Sample(ddtrace.NoopSpan{}))
Copy link
Contributor

Choose a reason for hiding this comment

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

🚫 [golangci] reported by reviewdog 🐶
undefined: ddtrace.NoopSpan (typecheck)


// setTraceTags sets all "trace level" tags on the provided span
// t must already be locked.
func (t *Trace) setTraceTags(s *Span, tr Tracer) {
Copy link
Contributor

Choose a reason for hiding this comment

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

🚫 [golangci] reported by reviewdog 🐶
unused-parameter: parameter 'tr' seems to be unused, consider removing or renaming it as _ (revive)

Copy link
Contributor

This PR is stale because it has been open 20 days with no activity. Remove stale label or comment or this will be closed in 10 days.

@github-actions github-actions bot added the stale Stuck for more than 1 month label Nov 20, 2023
Copy link
Contributor

This PR was closed because it has been open for 30 days with no activity.

@github-actions github-actions bot closed this Dec 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Stuck for more than 1 month
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant