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

feat(flagd): custom error handling for OTel errors #769

Merged

Conversation

thisthat
Copy link
Member

@thisthat thisthat commented Jul 26, 2023

This PR

  • adds an error interceptor for OpenTelemetry

Related Issues

Fixes #765

Notes

I decided to use a Debug level for OTel error logs given the context provided by #765. They will be visible iff the -x flag is set.

@thisthat thisthat requested a review from a team as a code owner July 26, 2023 09:37
thisthat added 2 commits July 26, 2023 11:50
Signed-off-by: Giovanni Liva <[email protected]>
Signed-off-by: Giovanni Liva <[email protected]>
Copy link
Member

@beeme1mr beeme1mr left a comment

Choose a reason for hiding this comment

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

While you're at it, please change the following log message to either debug or info:

skipping trace provider setup as collector target is not set.

Signed-off-by: Giovanni Liva <[email protected]>
@thisthat thisthat merged commit bda1a92 into open-feature:main Jul 27, 2023
@github-actions github-actions bot mentioned this pull request Jul 27, 2023
toddbaert pushed a commit that referenced this pull request Jul 27, 2023
🤖 I have created a release *beep* *boop*
---


<details><summary>flagd: 0.6.1</summary>

##
[0.6.1](flagd/v0.6.0...flagd/v0.6.1)
(2023-07-27)


### 🐛 Bug Fixes

* **deps:** update module
github.com/open-feature/go-sdk-contrib/tests/flagd to v1.2.3
([#749](#749))
([cd63e48](cd63e48))
</details>

<details><summary>flagd-proxy: 0.2.6</summary>

##
[0.2.6](flagd-proxy/v0.2.5...flagd-proxy/v0.2.6)
(2023-07-27)


### ✨ New Features

* **flagd-proxy:** introduce zero-downtime
([#752](#752))
([ed5e6e5](ed5e6e5))
</details>

<details><summary>core: 0.6.1</summary>

##
[0.6.1](core/v0.6.0...core/v0.6.1)
(2023-07-27)


### 🐛 Bug Fixes

* **deps:** update kubernetes packages to v0.27.4
([#756](#756))
([dcc10f3](dcc10f3))
* **deps:** update module github.com/bufbuild/connect-go to v1.10.0
([#771](#771))
([c74103f](c74103f))
* **deps:** update module google.golang.org/grpc to v1.57.0
([#773](#773))
([be8bf04](be8bf04))


### ✨ New Features

* **flagd-proxy:** introduce zero-downtime
([#752](#752))
([ed5e6e5](ed5e6e5))
* **flagd:** custom error handling for OTel errors
([#769](#769))
([bda1a92](bda1a92))
</details>

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@github-actions github-actions bot mentioned this pull request Dec 2, 2023
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.

Log spam if OTEL metrics pipeline not set up
4 participants