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

Add admission_blocked span to otel-arrow admission controller #35031

Merged
merged 3 commits into from
Sep 9, 2024

Conversation

jmacd
Copy link
Contributor

@jmacd jmacd commented Sep 5, 2024

Description: Adds a span to make admission controller-induced latency visible via traces.

Link to tracking Issue: open-telemetry/otel-arrow#244 previous effort, I forgot I had moved this package to contrib. 😁

Testing:

return &BoundedQueue{
maxLimitBytes: maxLimitBytes,
maxLimitWaiters: maxLimitWaiters,
waiters: orderedmap.New[uuid.UUID, waiter](),
tracer: tp.Tracer("otel-arrow/admission"),
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@codeboten I tried to figure out how to have mdatagen spit out a generated_status.go file containing the ScopeName. I dug into the mdatagen sources and find that packages don't have scope name generated. What should I do?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I've set the scope name to github.com/open-telemetry/opentelemetry-collector-contrib/internal/otelarrow

@jmacd jmacd added the Skip Changelog PRs that do not require a CHANGELOG.md entry label Sep 5, 2024
@jmacd jmacd marked this pull request as ready for review September 6, 2024 16:03
@jmacd jmacd requested review from a team and MovieStoreGuy September 6, 2024 16:03
@jmacd jmacd mentioned this pull request Sep 6, 2024
@songy23 songy23 added the ready to merge Code review completed; ready to merge by maintainers label Sep 6, 2024
@MovieStoreGuy MovieStoreGuy merged commit 237a96b into open-telemetry:main Sep 9, 2024
165 checks passed
@github-actions github-actions bot added this to the next release milestone Sep 9, 2024
f7o pushed a commit to f7o/opentelemetry-collector-contrib that referenced this pull request Sep 12, 2024
…elemetry#35031)

**Description:** Adds a span to make admission controller-induced
latency visible via traces.

**Link to tracking Issue:**
open-telemetry/otel-arrow#244 previous effort, I
forgot I had moved this package to contrib. 😁

**Testing:** ✅
jriguera pushed a commit to springernature/opentelemetry-collector-contrib that referenced this pull request Oct 4, 2024
…elemetry#35031)

**Description:** Adds a span to make admission controller-induced
latency visible via traces.

**Link to tracking Issue:**
open-telemetry/otel-arrow#244 previous effort, I
forgot I had moved this package to contrib. 😁

**Testing:** ✅
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal/otelarrow ready to merge Code review completed; ready to merge by maintainers receiver/otelarrow Skip Changelog PRs that do not require a CHANGELOG.md entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants