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 support for secret refs via a secret manager #572

Merged
merged 1 commit into from
May 15, 2024

Conversation

TheSpiritXIII
Copy link
Contributor

@TheSpiritXIII TheSpiritXIII commented Feb 2, 2024

Part 2 for secret provider support within common. See: https://groups.google.com/g/prometheus-developers/c/WKOej_pnhXg

Part 1 is here: #538

Copy link
Member

@bwplotka bwplotka left a comment

Choose a reason for hiding this comment

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

Amazing! Generally LGTM, but lots of minor suggestions.

Disclaimer: @TheSpiritXIII is in my Google team. I tried to get more hands on this review for weeks, but no response. The secret provider feature was generally accepted 1, 2, so allowing myself to move forward after the careful review

config/http_config.go Show resolved Hide resolved
config/http_config.go Outdated Show resolved Hide resolved
config/http_config.go Show resolved Hide resolved
config/http_config.go Show resolved Hide resolved
config/http_config.go Show resolved Hide resolved
config/http_config.go Outdated Show resolved Hide resolved
config/http_config.go Outdated Show resolved Hide resolved
config/http_config.go Show resolved Hide resolved
config/http_config.go Outdated Show resolved Hide resolved
Copy link
Member

@bwplotka bwplotka left a comment

Choose a reason for hiding this comment

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

LGTM, just some nits and one potentially blocking item (did you meant to make TLSConfigOption withSecretManager private?)

config/http_config.go Show resolved Hide resolved
type TLSConfigOption func(options *tlsConfigOptions)

// WithSecretManager allows setting the secret manager.
func withSecretManager(manager SecretManager) TLSConfigOption {
Copy link
Member

Choose a reason for hiding this comment

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

Shouldn't this be:

Suggested change
func withSecretManager(manager SecretManager) TLSConfigOption {
func WithSecretManagerTLSConfigOption(manager SecretManager) TLSConfigOption {

(for dedup and to be exported)?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We can do this with a common object that implements both interfaces. What do you think of the new solution?

Copy link
Member

Choose a reason for hiding this comment

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

Whatever is simpler here

config/http_config.go Show resolved Hide resolved
Comment on lines 872 to 879
if !rt.clientSecret.immutable() {
rt.mtx.RLock()
changed = secret != rt.lastSecret
rt.mtx.RUnlock()
}
}
rt.mtx.RLock()
changed = secret != rt.secret
rt.mtx.RUnlock()

if changed || rt.rt == nil {
Copy link
Member

Choose a reason for hiding this comment

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

Would it be harmful if we kill this if (827 line) and do the changed = ... even on rt.rt == nil case? Bit simpler code and then we can remove the || rt.rt == nil part from if 879 (also simpler). WDYT?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Is this what you mean?

Signed-off-by: Daniel Hrabovcak <thespiritxiii@gmail.com>
if err != nil {
return nil, fmt.Errorf("unable to read oauth2 client secret: %w", err)
// Fetch the secret if it's our first run or always if the secret can change.
if rt.rt == nil || (rt.clientSecret != nil && !rt.clientSecret.immutable()) {
Copy link
Member

Choose a reason for hiding this comment

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

This not ended up better (or worse) after my suggestions -- might be my misunderstanding, so I ended up prototyping how it might look, proposed in TheSpiritXIII#1

I also fixed a small race with reading rt.rt 🤔I think this race was before too.

Copy link
Member

@bwplotka bwplotka May 15, 2024

Choose a reason for hiding this comment

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

No regression and I only fix that & refactor in my PR, so let's merge this one and review my PR if there is a need (

if changed || rt.rt == nil {
)

Copy link
Member

@bwplotka bwplotka left a comment

Choose a reason for hiding this comment

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

Let's merge! thanks!

if err != nil {
return nil, fmt.Errorf("unable to read oauth2 client secret: %w", err)
// Fetch the secret if it's our first run or always if the secret can change.
if rt.rt == nil || (rt.clientSecret != nil && !rt.clientSecret.immutable()) {
Copy link
Member

@bwplotka bwplotka May 15, 2024

Choose a reason for hiding this comment

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

No regression and I only fix that & refactor in my PR, so let's merge this one and review my PR if there is a need (

if changed || rt.rt == nil {
)

@bwplotka bwplotka merged commit a7407da into prometheus:main May 15, 2024
7 checks passed
MrAlias pushed a commit to open-telemetry/opentelemetry-go that referenced this pull request Jun 3, 2024
…5472)

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

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [github.com/prometheus/common](https://togithub.com/prometheus/common)
| `v0.53.0` -> `v0.54.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fprometheus%2fcommon/v0.54.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fprometheus%2fcommon/v0.54.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fprometheus%2fcommon/v0.53.0/v0.54.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fprometheus%2fcommon/v0.53.0/v0.54.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>prometheus/common (github.com/prometheus/common)</summary>

###
[`v0.54.0`](https://togithub.com/prometheus/common/releases/tag/v0.54.0)

[Compare
Source](https://togithub.com/prometheus/common/compare/v0.53.0...v0.54.0)

#### What's Changed

- Bump golang.org/x/net from 0.22.0 to 0.23.0 in /sigv4 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[prometheus/common#624
- Bump golang.org/x/net from 0.22.0 to 0.23.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[prometheus/common#623
- Add HTTP headers support to common HTTP client. by
[@&#8203;roidelapluie](https://togithub.com/roidelapluie) in
[prometheus/common#416
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://togithub.com/prombot) in
[prometheus/common#633
- Bump github.com/aws/aws-sdk-go from 1.51.11 to 1.51.32 in /sigv4 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[prometheus/common#632
- Bump golang.org/x/oauth2 from 0.18.0 to 0.19.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[prometheus/common#628
- Bump golang.org/x/net from 0.23.0 to 0.24.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[prometheus/common#630
- Bump github.com/prometheus/client_model from 0.6.0 to 0.6.1 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[prometheus/common#631
- Bump google.golang.org/protobuf from 1.33.0 to 1.34.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[prometheus/common#629
- Use common interface to fetch secrets in HTTP client config by
[@&#8203;TheSpiritXIII](https://togithub.com/TheSpiritXIII) in
[prometheus/common#538
- Add support for secret refs via a secret manager by
[@&#8203;TheSpiritXIII](https://togithub.com/TheSpiritXIII) in
[prometheus/common#572
- oauth2RoundTripper: Avoid race condition and readability changes. by
[@&#8203;bwplotka](https://togithub.com/bwplotka) in
[prometheus/common#634
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://togithub.com/prombot) in
[prometheus/common#636
- Bump github.com/aws/aws-sdk-go from 1.51.32 to 1.53.14 in /sigv4 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[prometheus/common#638
- Bump github.com/prometheus/client_golang from 1.19.0 to 1.19.1 in
/sigv4 by [@&#8203;dependabot](https://togithub.com/dependabot) in
[prometheus/common#639
- feat: add time template helpers by
[@&#8203;freak12techno](https://togithub.com/freak12techno) in
[prometheus/common#627

#### New Contributors

- [@&#8203;bwplotka](https://togithub.com/bwplotka) made their first
contribution in
[prometheus/common#634
- [@&#8203;freak12techno](https://togithub.com/freak12techno) made their
first contribution in
[prometheus/common#627

**Full Changelog**:
prometheus/common@v0.53.0...v0.54.0

</details>

---

### Configuration

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

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **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-telemetry/opentelemetry-go).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNzcuOCIsInVwZGF0ZWRJblZlciI6IjM3LjM3Ny44IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJTa2lwIENoYW5nZWxvZyIsImRlcGVuZGVuY2llcyJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
MrAlias pushed a commit to open-telemetry/opentelemetry-go-contrib that referenced this pull request Jun 3, 2024
…5709)

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

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [github.com/prometheus/common](https://togithub.com/prometheus/common)
| `v0.53.0` -> `v0.54.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fprometheus%2fcommon/v0.54.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fprometheus%2fcommon/v0.54.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fprometheus%2fcommon/v0.53.0/v0.54.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fprometheus%2fcommon/v0.53.0/v0.54.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>prometheus/common (github.com/prometheus/common)</summary>

###
[`v0.54.0`](https://togithub.com/prometheus/common/releases/tag/v0.54.0)

[Compare
Source](https://togithub.com/prometheus/common/compare/v0.53.0...v0.54.0)

#### What's Changed

- Bump golang.org/x/net from 0.22.0 to 0.23.0 in /sigv4 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[prometheus/common#624
- Bump golang.org/x/net from 0.22.0 to 0.23.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[prometheus/common#623
- Add HTTP headers support to common HTTP client. by
[@&#8203;roidelapluie](https://togithub.com/roidelapluie) in
[prometheus/common#416
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://togithub.com/prombot) in
[prometheus/common#633
- Bump github.com/aws/aws-sdk-go from 1.51.11 to 1.51.32 in /sigv4 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[prometheus/common#632
- Bump golang.org/x/oauth2 from 0.18.0 to 0.19.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[prometheus/common#628
- Bump golang.org/x/net from 0.23.0 to 0.24.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[prometheus/common#630
- Bump github.com/prometheus/client_model from 0.6.0 to 0.6.1 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[prometheus/common#631
- Bump google.golang.org/protobuf from 1.33.0 to 1.34.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[prometheus/common#629
- Use common interface to fetch secrets in HTTP client config by
[@&#8203;TheSpiritXIII](https://togithub.com/TheSpiritXIII) in
[prometheus/common#538
- Add support for secret refs via a secret manager by
[@&#8203;TheSpiritXIII](https://togithub.com/TheSpiritXIII) in
[prometheus/common#572
- oauth2RoundTripper: Avoid race condition and readability changes. by
[@&#8203;bwplotka](https://togithub.com/bwplotka) in
[prometheus/common#634
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://togithub.com/prombot) in
[prometheus/common#636
- Bump github.com/aws/aws-sdk-go from 1.51.32 to 1.53.14 in /sigv4 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[prometheus/common#638
- Bump github.com/prometheus/client_golang from 1.19.0 to 1.19.1 in
/sigv4 by [@&#8203;dependabot](https://togithub.com/dependabot) in
[prometheus/common#639
- feat: add time template helpers by
[@&#8203;freak12techno](https://togithub.com/freak12techno) in
[prometheus/common#627

#### New Contributors

- [@&#8203;bwplotka](https://togithub.com/bwplotka) made their first
contribution in
[prometheus/common#634
- [@&#8203;freak12techno](https://togithub.com/freak12techno) made their
first contribution in
[prometheus/common#627

**Full Changelog**:
prometheus/common@v0.53.0...v0.54.0

</details>

---

### Configuration

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

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **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-telemetry/opentelemetry-go-contrib).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNzcuOCIsInVwZGF0ZWRJblZlciI6IjM3LjM3Ny44IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJTa2lwIENoYW5nZWxvZyIsImRlcGVuZGVuY2llcyJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
mx-psi pushed a commit to open-telemetry/opentelemetry-collector that referenced this pull request Jun 4, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [github.com/prometheus/common](https://togithub.com/prometheus/common)
| `v0.53.0` -> `v0.54.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fprometheus%2fcommon/v0.54.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fprometheus%2fcommon/v0.54.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fprometheus%2fcommon/v0.53.0/v0.54.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fprometheus%2fcommon/v0.53.0/v0.54.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>prometheus/common (github.com/prometheus/common)</summary>

###
[`v0.54.0`](https://togithub.com/prometheus/common/releases/tag/v0.54.0)

[Compare
Source](https://togithub.com/prometheus/common/compare/v0.53.0...v0.54.0)

#### What's Changed

- Bump golang.org/x/net from 0.22.0 to 0.23.0 in /sigv4 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[prometheus/common#624
- Bump golang.org/x/net from 0.22.0 to 0.23.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[prometheus/common#623
- Add HTTP headers support to common HTTP client. by
[@&#8203;roidelapluie](https://togithub.com/roidelapluie) in
[prometheus/common#416
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://togithub.com/prombot) in
[prometheus/common#633
- Bump github.com/aws/aws-sdk-go from 1.51.11 to 1.51.32 in /sigv4 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[prometheus/common#632
- Bump golang.org/x/oauth2 from 0.18.0 to 0.19.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[prometheus/common#628
- Bump golang.org/x/net from 0.23.0 to 0.24.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[prometheus/common#630
- Bump github.com/prometheus/client_model from 0.6.0 to 0.6.1 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[prometheus/common#631
- Bump google.golang.org/protobuf from 1.33.0 to 1.34.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[prometheus/common#629
- Use common interface to fetch secrets in HTTP client config by
[@&#8203;TheSpiritXIII](https://togithub.com/TheSpiritXIII) in
[prometheus/common#538
- Add support for secret refs via a secret manager by
[@&#8203;TheSpiritXIII](https://togithub.com/TheSpiritXIII) in
[prometheus/common#572
- oauth2RoundTripper: Avoid race condition and readability changes. by
[@&#8203;bwplotka](https://togithub.com/bwplotka) in
[prometheus/common#634
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://togithub.com/prombot) in
[prometheus/common#636
- Bump github.com/aws/aws-sdk-go from 1.51.32 to 1.53.14 in /sigv4 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[prometheus/common#638
- Bump github.com/prometheus/client_golang from 1.19.0 to 1.19.1 in
/sigv4 by [@&#8203;dependabot](https://togithub.com/dependabot) in
[prometheus/common#639
- feat: add time template helpers by
[@&#8203;freak12techno](https://togithub.com/freak12techno) in
[prometheus/common#627

#### New Contributors

- [@&#8203;bwplotka](https://togithub.com/bwplotka) made their first
contribution in
[prometheus/common#634
- [@&#8203;freak12techno](https://togithub.com/freak12techno) made their
first contribution in
[prometheus/common#627

**Full Changelog**:
prometheus/common@v0.53.0...v0.54.0

</details>

---

### Configuration

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

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **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-telemetry/opentelemetry-collector).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNzcuOCIsInVwZGF0ZWRJblZlciI6IjM3LjM3Ny44IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiLCJyZW5vdmF0ZWJvdCJdfQ==-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
mx-psi pushed a commit to open-telemetry/opentelemetry-collector-contrib that referenced this pull request Jun 4, 2024
)

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

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [github.com/prometheus/common](https://togithub.com/prometheus/common)
| `v0.53.0` -> `v0.54.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fprometheus%2fcommon/v0.54.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fprometheus%2fcommon/v0.54.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fprometheus%2fcommon/v0.53.0/v0.54.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fprometheus%2fcommon/v0.53.0/v0.54.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>prometheus/common (github.com/prometheus/common)</summary>

###
[`v0.54.0`](https://togithub.com/prometheus/common/releases/tag/v0.54.0)

[Compare
Source](https://togithub.com/prometheus/common/compare/v0.53.0...v0.54.0)

#### What's Changed

- Bump golang.org/x/net from 0.22.0 to 0.23.0 in /sigv4 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[prometheus/common#624
- Bump golang.org/x/net from 0.22.0 to 0.23.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[prometheus/common#623
- Add HTTP headers support to common HTTP client. by
[@&#8203;roidelapluie](https://togithub.com/roidelapluie) in
[prometheus/common#416
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://togithub.com/prombot) in
[prometheus/common#633
- Bump github.com/aws/aws-sdk-go from 1.51.11 to 1.51.32 in /sigv4 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[prometheus/common#632
- Bump golang.org/x/oauth2 from 0.18.0 to 0.19.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[prometheus/common#628
- Bump golang.org/x/net from 0.23.0 to 0.24.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[prometheus/common#630
- Bump github.com/prometheus/client_model from 0.6.0 to 0.6.1 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[prometheus/common#631
- Bump google.golang.org/protobuf from 1.33.0 to 1.34.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[prometheus/common#629
- Use common interface to fetch secrets in HTTP client config by
[@&#8203;TheSpiritXIII](https://togithub.com/TheSpiritXIII) in
[prometheus/common#538
- Add support for secret refs via a secret manager by
[@&#8203;TheSpiritXIII](https://togithub.com/TheSpiritXIII) in
[prometheus/common#572
- oauth2RoundTripper: Avoid race condition and readability changes. by
[@&#8203;bwplotka](https://togithub.com/bwplotka) in
[prometheus/common#634
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://togithub.com/prombot) in
[prometheus/common#636
- Bump github.com/aws/aws-sdk-go from 1.51.32 to 1.53.14 in /sigv4 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[prometheus/common#638
- Bump github.com/prometheus/client_golang from 1.19.0 to 1.19.1 in
/sigv4 by [@&#8203;dependabot](https://togithub.com/dependabot) in
[prometheus/common#639
- feat: add time template helpers by
[@&#8203;freak12techno](https://togithub.com/freak12techno) in
[prometheus/common#627

#### New Contributors

- [@&#8203;bwplotka](https://togithub.com/bwplotka) made their first
contribution in
[prometheus/common#634
- [@&#8203;freak12techno](https://togithub.com/freak12techno) made their
first contribution in
[prometheus/common#627

**Full Changelog**:
prometheus/common@v0.53.0...v0.54.0

</details>

---

### Configuration

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

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **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-telemetry/opentelemetry-collector-contrib).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zODguMSIsInVwZGF0ZWRJblZlciI6IjM3LjM4OC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiLCJyZW5vdmF0ZWJvdCJdfQ==-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
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.

None yet

2 participants