feat: add mTLS support to otel exporter#1389
Merged
toddbaert merged 10 commits intoopen-feature:mainfrom Sep 23, 2024
Merged
Conversation
Signed-off-by: Kevin Schoonover <me@kschoon.me>
✅ Deploy Preview for polite-licorice-3db33c canceled.
|
kevinschoonover
commented
Aug 29, 2024
Signed-off-by: Kevin Schoonover <me@kschoon.me>
0e2046f to
febbbd3
Compare
Member
|
Hey @kevinschoonover this is a great addition, and I'm fine with the approach. There's some unit test failures and warnings you'll need to address (integration tests look good though). |
Signed-off-by: Kevin Schoonover <me@kschoon.me>
232908b to
1d40ba8
Compare
Signed-off-by: Kevin Schoonover <me@kschoon.me>
Contributor
Author
|
@toddbaert - sorry for the delay. I think I have addressed the errors I saw, but don't know if i'm able to trigger the PR to fully test. |
Signed-off-by: Todd Baert <todd.baert@dynatrace.com>
39c5fb9 to
71943e7
Compare
Member
|
There were some minor lint errors I fixed with this commit, please let me know if you see anything wrong. |
toddbaert
approved these changes
Sep 19, 2024
Member
toddbaert
left a comment
There was a problem hiding this comment.
Thank you! See: #1389 (comment)
Signed-off-by: Todd Baert <todd.baert@dynatrace.com>
7d778e6 to
c828eca
Compare
Contributor
Author
Looks good to me! Thanks for fixing those! |
Signed-off-by: Kevin Schoonover <me@kschoon.me>
beeme1mr
approved these changes
Sep 20, 2024
Merged
toddbaert
added a commit
that referenced
this pull request
Sep 23, 2024
#1389 works well but caused a dependency cycle: core -> flagd -> core. I've moved the `certreloader` pkg to core with the existing telemetry stuff. cc @kevinschoonover Signed-off-by: Todd Baert <todd.baert@dynatrace.com>
toddbaert
pushed a commit
that referenced
this pull request
Sep 23, 2024
🤖 I have created a release *beep* *boop* --- <details><summary>flagd: 0.11.3</summary> ## [0.11.3](flagd/v0.11.2...flagd/v0.11.3) (2024-09-23) ### 🐛 Bug Fixes * **deps:** update kubernetes package and controller runtime, fix proto lint ([#1290](#1290)) ([94860d6](94860d6)) * **deps:** update module buf.build/gen/go/open-feature/flagd/connectrpc/go to v1.16.2-20240906125204-0a6a901b42e8.1 ([#1399](#1399)) ([18dd4e2](18dd4e2)) * **deps:** update module buf.build/gen/go/open-feature/flagd/grpc/go to v1.5.1-20240906125204-0a6a901b42e8.1 ([#1400](#1400)) ([954d972](954d972)) * **deps:** update module connectrpc.com/connect to v1.17.0 ([#1408](#1408)) ([e7eb691](e7eb691)) * **deps:** update module github.com/open-feature/flagd/core to v0.10.2 ([#1385](#1385)) ([3b5a818](3b5a818)) * **deps:** update module github.com/prometheus/client_golang to v1.20.3 ([#1384](#1384)) ([8fd16b2](8fd16b2)) * **deps:** update module github.com/prometheus/client_golang to v1.20.4 ([#1406](#1406)) ([a0a6426](a0a6426)) * **deps:** update module github.com/rs/cors to v1.11.1 ([#1392](#1392)) ([8bd549e](8bd549e)) * **deps:** update module github.com/rs/xid to v1.6.0 ([#1386](#1386)) ([2317013](2317013)) * **deps:** update module golang.org/x/net to v0.29.0 ([#1398](#1398)) ([0721e02](0721e02)) * **deps:** update module google.golang.org/grpc to v1.66.0 ([#1393](#1393)) ([c96e9d7](c96e9d7)) * **deps:** update module google.golang.org/grpc to v1.66.1 ([#1402](#1402)) ([50c9cd3](50c9cd3)) * **deps:** update module google.golang.org/grpc to v1.66.2 ([#1405](#1405)) ([69ec28f](69ec28f)) * **deps:** update module google.golang.org/grpc to v1.67.0 ([#1407](#1407)) ([1ad6480](1ad6480)) * **deps:** update opentelemetry-go monorepo ([#1387](#1387)) ([22aef5b](22aef5b)) * **deps:** update opentelemetry-go monorepo ([#1403](#1403)) ([fc4cd3e](fc4cd3e)) * remove dep cycle with certreloader ([#1410](#1410)) ([5244f6f](5244f6f)) ### ✨ New Features * add mTLS support to otel exporter ([#1389](#1389)) ([8737f53](8737f53)) </details> <details><summary>flagd-proxy: 0.6.6</summary> ## [0.6.6](flagd-proxy/v0.6.5...flagd-proxy/v0.6.6) (2024-09-23) ### 🐛 Bug Fixes * **deps:** update kubernetes package and controller runtime, fix proto lint ([#1290](#1290)) ([94860d6](94860d6)) * **deps:** update module buf.build/gen/go/open-feature/flagd/grpc/go to v1.5.1-20240906125204-0a6a901b42e8.1 ([#1400](#1400)) ([954d972](954d972)) * **deps:** update module github.com/open-feature/flagd/core to v0.10.2 ([#1385](#1385)) ([3b5a818](3b5a818)) * **deps:** update module github.com/prometheus/client_golang to v1.20.3 ([#1384](#1384)) ([8fd16b2](8fd16b2)) * **deps:** update module github.com/prometheus/client_golang to v1.20.4 ([#1406](#1406)) ([a0a6426](a0a6426)) * **deps:** update module golang.org/x/net to v0.29.0 ([#1398](#1398)) ([0721e02](0721e02)) * **deps:** update module google.golang.org/grpc to v1.66.0 ([#1393](#1393)) ([c96e9d7](c96e9d7)) * **deps:** update module google.golang.org/grpc to v1.66.1 ([#1402](#1402)) ([50c9cd3](50c9cd3)) * **deps:** update module google.golang.org/grpc to v1.66.2 ([#1405](#1405)) ([69ec28f](69ec28f)) * **deps:** update module google.golang.org/grpc to v1.67.0 ([#1407](#1407)) ([1ad6480](1ad6480)) * **deps:** update opentelemetry-go monorepo ([#1387](#1387)) ([22aef5b](22aef5b)) * **deps:** update opentelemetry-go monorepo ([#1403](#1403)) ([fc4cd3e](fc4cd3e)) * remove dep cycle with certreloader ([#1410](#1410)) ([5244f6f](5244f6f)) </details> <details><summary>core: 0.10.3</summary> ## [0.10.3](core/v0.10.2...core/v0.10.3) (2024-09-23) ### 🐛 Bug Fixes * **deps:** update kubernetes package and controller runtime, fix proto lint ([#1290](#1290)) ([94860d6](94860d6)) * **deps:** update module buf.build/gen/go/open-feature/flagd/grpc/go to v1.5.1-20240906125204-0a6a901b42e8.1 ([#1400](#1400)) ([954d972](954d972)) * **deps:** update module connectrpc.com/connect to v1.17.0 ([#1408](#1408)) ([e7eb691](e7eb691)) * **deps:** update module github.com/prometheus/client_golang to v1.20.3 ([#1384](#1384)) ([8fd16b2](8fd16b2)) * **deps:** update module github.com/prometheus/client_golang to v1.20.4 ([#1406](#1406)) ([a0a6426](a0a6426)) * **deps:** update module gocloud.dev to v0.39.0 ([#1404](#1404)) ([a3184d6](a3184d6)) * **deps:** update module golang.org/x/crypto to v0.27.0 ([#1396](#1396)) ([f9a7d10](f9a7d10)) * **deps:** update module golang.org/x/mod to v0.21.0 ([#1397](#1397)) ([1507e19](1507e19)) * **deps:** update module google.golang.org/grpc to v1.66.0 ([#1393](#1393)) ([c96e9d7](c96e9d7)) * **deps:** update module google.golang.org/grpc to v1.66.1 ([#1402](#1402)) ([50c9cd3](50c9cd3)) * **deps:** update module google.golang.org/grpc to v1.66.2 ([#1405](#1405)) ([69ec28f](69ec28f)) * **deps:** update module google.golang.org/grpc to v1.67.0 ([#1407](#1407)) ([1ad6480](1ad6480)) * **deps:** update opentelemetry-go monorepo ([#1387](#1387)) ([22aef5b](22aef5b)) * **deps:** update opentelemetry-go monorepo ([#1403](#1403)) ([fc4cd3e](fc4cd3e)) * remove dep cycle with certreloader ([#1410](#1410)) ([5244f6f](5244f6f)) ### ✨ New Features * add mTLS support to otel exporter ([#1389](#1389)) ([8737f53](8737f53)) </details> --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Signed-off-by: OpenFeature Bot <109696520+openfeaturebot@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR
The OpenTelemetry collectors in my production environment are configured to use TLS for uploading metrics / traces so this PR aims to
This is the 'quick and dirty' approach so wanted to make an initial PR to make sure the high level implementation is the approach you're looking for.
Follow-up Tasks
How to test
I am struggling to figure out how to test this with self signed certificates to give a specific set of commands you can run because the TLS connection is never successful (assuming this is because of my commands)
; however, when I pull certificates from my production environment to test this works