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

Make option to omit trace events apply to streaming RPCs #123

Merged
merged 7 commits into from
Jul 7, 2023

Conversation

joshcarp
Copy link
Contributor

@joshcarp joshcarp commented Jul 7, 2023

@joshcarp joshcarp requested a review from akshayjshah July 7, 2023 20:15
Copy link
Member

@akshayjshah akshayjshah left a comment

Choose a reason for hiding this comment

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

LGTM. I pushed a commit to add some more detail to the GoDoc.

@akshayjshah akshayjshah changed the title Omit rpc events Make option to omit trace events apply to streaming RPCs Jul 7, 2023
@akshayjshah akshayjshah merged commit 973c5b5 into main Jul 7, 2023
5 checks passed
@akshayjshah akshayjshah deleted the omitRpcEventsStreaming branch July 7, 2023 22:34
renovate bot referenced this pull request in open-feature/flagd Jul 8, 2023
… to v0.4.0 (#739)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[github.com/bufbuild/connect-opentelemetry-go](https://togithub.com/bufbuild/connect-opentelemetry-go)
| require | minor | `v0.3.0` -> `v0.4.0` |

---

### Release Notes

<details>
<summary>bufbuild/connect-opentelemetry-go
(github.com/bufbuild/connect-opentelemetry-go)</summary>

###
[`v0.4.0`](https://togithub.com/bufbuild/connect-opentelemetry-go/releases/tag/v0.4.0)

[Compare
Source](https://togithub.com/bufbuild/connect-opentelemetry-go/compare/v0.3.0...v0.4.0)

<!-- Release notes generated using configuration in .github/release.yml
at main -->

#### What's Changed

##### Enhancements

- Add option to omit trace events for unary RPCs by
[@&#8203;jipperinbham](https://togithub.com/jipperinbham) in
[https://github.com/bufbuild/connect-opentelemetry-go/pull/98](https://togithub.com/bufbuild/connect-opentelemetry-go/pull/98)
- Make option to omit trace events apply to streaming RPCs by
[@&#8203;joshcarp](https://togithub.com/joshcarp) in
[https://github.com/bufbuild/connect-opentelemetry-go/pull/123](https://togithub.com/bufbuild/connect-opentelemetry-go/pull/123)

##### Bugfixes

- Set status codes properly for HTTP 304s by
[@&#8203;jhump](https://togithub.com/jhump) in
[https://github.com/bufbuild/connect-opentelemetry-go/pull/120](https://togithub.com/bufbuild/connect-opentelemetry-go/pull/120)
- Set span status properly for HTTP 304s by
[@&#8203;akshayjshah](https://togithub.com/akshayjshah) in
[https://github.com/bufbuild/connect-opentelemetry-go/pull/121](https://togithub.com/bufbuild/connect-opentelemetry-go/pull/121)
- Update studio URL in README by
[@&#8203;pkwarren](https://togithub.com/pkwarren) in
[https://github.com/bufbuild/connect-opentelemetry-go/pull/124](https://togithub.com/bufbuild/connect-opentelemetry-go/pull/124)

##### Other changes

- Tighten internal linting for import aliases by
[@&#8203;zchee](https://togithub.com/zchee) in
[https://github.com/bufbuild/connect-opentelemetry-go/pull/116](https://togithub.com/bufbuild/connect-opentelemetry-go/pull/116)

#### New Contributors

- [@&#8203;jhump](https://togithub.com/jhump) made their first
contribution in
[https://github.com/bufbuild/connect-opentelemetry-go/pull/120](https://togithub.com/bufbuild/connect-opentelemetry-go/pull/120)
- [@&#8203;jipperinbham](https://togithub.com/jipperinbham) made their
first contribution in
[https://github.com/bufbuild/connect-opentelemetry-go/pull/98](https://togithub.com/bufbuild/connect-opentelemetry-go/pull/98)
- [@&#8203;pkwarren](https://togithub.com/pkwarren) made their first
contribution in
[https://github.com/bufbuild/connect-opentelemetry-go/pull/124](https://togithub.com/bufbuild/connect-opentelemetry-go/pull/124)
- [@&#8203;zchee](https://togithub.com/zchee) made their first
contribution in
[https://github.com/bufbuild/connect-opentelemetry-go/pull/116](https://togithub.com/bufbuild/connect-opentelemetry-go/pull/116)

**Full Changelog**:
bufbuild/connect-opentelemetry-go@v0.3.0...v0.4.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/open-feature/flagd).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xNTkuNyIsInVwZGF0ZWRJblZlciI6IjM1LjE1OS43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
akshayjshah added a commit that referenced this pull request Jul 26, 2023
- Changes name of option from `OmitRPCEvents` to `OmitTraceEvents` to be
more clear
- Omits trace events for streaming too
- Adds tests
Closes: #92

---------

Co-authored-by: Akshay Shah <akshay@akshayshah.org>
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.

Excessive span.AddEvent for request/response size
2 participants