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

chore: add HumanizeTimestamp; make ConvertToFloat exportable #654

Merged
merged 4 commits into from
Jun 21, 2024

Conversation

freak12techno
Copy link
Contributor

@freak12techno freak12techno commented Jun 10, 2024

See the discussion here: prometheus/prometheus#14202

Basically copied HumanizeTimestamp from prometheus repo to move it there and added some tests (basically refactored to avoid using templating), the idea is to remove its implementation and the implementation of ConvertToFloat (which are both used in alertmanager and prometheus repos) from both prometheus and alertmanager repos to include the implementation from this repo.

@gotjosh can you check?

Signed-off-by: Sergey <freak12techno@gmail.com>
@freak12techno
Copy link
Contributor Author

@machine424 since you reviewed the previous PR on Prometheus repo, maybe you can take a look?

Copy link
Member

@ArthurSens ArthurSens left a comment

Choose a reason for hiding this comment

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

Sorry for the delayed review, generally it looks good already!

I'm just making a suggestion to reduce a few lines of code in tests

helpers/templates/time_test.go Outdated Show resolved Hide resolved
helpers/templates/time.go Show resolved Hide resolved
Signed-off-by: Sergey <freak12techno@gmail.com>
Signed-off-by: Sergey <freak12techno@gmail.com>
Copy link
Member

@ArthurSens ArthurSens left a comment

Choose a reason for hiding this comment

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

I'll wait a bit for josh to review because I don't know how Alertmanager plans to use this (again due to my lack of context 😅)

But if it takes too long I'll just merge it, no big deal exporting FloatToTime :)

Comment on lines 122 to 132
func TestHumanizeTimestampSampleFloat64(t *testing.T) {
result, err := HumanizeTimestamp(1435065584.128)
require.NoError(t, err)
require.Equal(t, "2015-06-23 13:19:44.128 +0000 UTC", result)
}

func TestHumanizeTimestampSampleString(t *testing.T) {
result, err := HumanizeTimestamp(1435065584.128)
require.NoError(t, err)
require.Equal(t, "2015-06-23 13:19:44.128 +0000 UTC", result)
}
Copy link
Member

Choose a reason for hiding this comment

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

This could also be a single test, but that's just nitpicking :P

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Actually yeah, can fix right away

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Also done, should be better now. Thanks for suggesting!
Also found a bug in one of these tests (float64 instead of string), fixed it there as well

Signed-off-by: Sergey <freak12techno@gmail.com>
@gotjosh
Copy link
Member

gotjosh commented Jun 21, 2024

You can merge without me @ArthurSens - if this looks go to you, go right ahead.

@ArthurSens ArthurSens merged commit ab322ea into prometheus:main Jun 21, 2024
7 checks passed
@freak12techno
Copy link
Contributor Author

@gotjosh @ArthurSens can either of you bump a version? I'd like to make another PR on Prometheus repo utilizing this and it needs a new version.

Also, appreciate the review.

@freak12techno freak12techno deleted the add-humanize-timestamp branch June 22, 2024 01:20
@ArthurSens
Copy link
Member

Sure :)

Let me ping a few people and see if I can proceed with a release!

yurishkuro added a commit to jaegertracing/jaeger that referenced this pull request Jun 26, 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://github.com/prometheus/common)
| `v0.54.0` -> `v0.55.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fprometheus%2fcommon/v0.55.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fprometheus%2fcommon/v0.55.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fprometheus%2fcommon/v0.54.0/v0.55.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fprometheus%2fcommon/v0.54.0/v0.55.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

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

#### What's Changed

- Update Go modules by [@&#8203;SuperQ](https://github.com/SuperQ) in
[prometheus/common#643
- enable errcheck linter by
[@&#8203;mmorel-35](https://github.com/mmorel-35) in
[prometheus/common#637
- Add a `RELEASE.md` and add
[@&#8203;gotjosh](https://github.com/gotjosh) as a mantainer by
[@&#8203;gotjosh](https://github.com/gotjosh) in
[prometheus/common#644
- Move goautoneg to external dependency by
[@&#8203;mikelolasagasti](https://github.com/mikelolasagasti) in
[prometheus/common#625
- Expose secret as SecretReader and InlineSecret from config package by
[@&#8203;pracucci](https://github.com/pracucci) in
[prometheus/common#650
- Fix HTTPClientConfig JSON marshalling by
[@&#8203;pracucci](https://github.com/pracucci) in
[prometheus/common#651
- Expose secret as FileSecret from config package by
[@&#8203;alanprot](https://github.com/alanprot) in
[prometheus/common#653
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://github.com/prombot) in
[prometheus/common#646
- Set http_headers to be omit empty by
[@&#8203;yeya24](https://github.com/yeya24) in
[prometheus/common#655
- chore: add HumanizeTimestamp; make ConvertToFloat exportable by
[@&#8203;freak12techno](https://github.com/freak12techno) in
[prometheus/common#654
- Bump github.com/aws/aws-sdk-go from 1.53.14 to 1.54.7 in /sigv4 by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/common#659
- Bump golang.org/x/oauth2 from 0.20.0 to 0.21.0 by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/common#656
- Bump google.golang.org/protobuf from 1.34.1 to 1.34.2 by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/common#658
- Bump golang.org/x/net from 0.25.0 to 0.26.0 by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/common#657
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://github.com/prombot) in
[prometheus/common#660
- Add SigV4 FIPS STS endpoint config by
[@&#8203;rajagopalanand](https://github.com/rajagopalanand) in
[prometheus/common#649

#### New Contributors

- [@&#8203;gotjosh](https://github.com/gotjosh) made their first
contribution in
[prometheus/common#644
- [@&#8203;mikelolasagasti](https://github.com/mikelolasagasti) made
their first contribution in
[prometheus/common#625
- [@&#8203;alanprot](https://github.com/alanprot) made their first
contribution in
[prometheus/common#653
- [@&#8203;yeya24](https://github.com/yeya24) made their first
contribution in
[prometheus/common#655
- [@&#8203;rajagopalanand](https://github.com/rajagopalanand) made
their first contribution in
[prometheus/common#649

**Full Changelog**:
prometheus/common@v0.54.0...v0.55.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/jaegertracing/jaeger).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MTMuMiIsInVwZGF0ZWRJblZlciI6IjM3LjQxMy4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJjaGFuZ2Vsb2c6ZGVwZW5kZW5jaWVzIl19-->

---------

Signed-off-by: Mend Renovate <bot@renovateapp.com>
Signed-off-by: Yuri Shkuro <github@ysh.us>
Co-authored-by: Yuri Shkuro <github@ysh.us>
MrAlias pushed a commit to open-telemetry/opentelemetry-go-contrib that referenced this pull request Jun 26, 2024
…5806)

[![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://github.com/prometheus/common)
| `v0.54.0` -> `v0.55.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fprometheus%2fcommon/v0.55.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fprometheus%2fcommon/v0.55.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fprometheus%2fcommon/v0.54.0/v0.55.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fprometheus%2fcommon/v0.54.0/v0.55.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

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

#### What's Changed

- Update Go modules by [@&#8203;SuperQ](https://github.com/SuperQ) in
[prometheus/common#643
- enable errcheck linter by
[@&#8203;mmorel-35](https://github.com/mmorel-35) in
[prometheus/common#637
- Add a `RELEASE.md` and add
[@&#8203;gotjosh](https://github.com/gotjosh) as a mantainer by
[@&#8203;gotjosh](https://github.com/gotjosh) in
[prometheus/common#644
- Move goautoneg to external dependency by
[@&#8203;mikelolasagasti](https://github.com/mikelolasagasti) in
[prometheus/common#625
- Expose secret as SecretReader and InlineSecret from config package by
[@&#8203;pracucci](https://github.com/pracucci) in
[prometheus/common#650
- Fix HTTPClientConfig JSON marshalling by
[@&#8203;pracucci](https://github.com/pracucci) in
[prometheus/common#651
- Expose secret as FileSecret from config package by
[@&#8203;alanprot](https://github.com/alanprot) in
[prometheus/common#653
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://github.com/prombot) in
[prometheus/common#646
- Set http_headers to be omit empty by
[@&#8203;yeya24](https://github.com/yeya24) in
[prometheus/common#655
- chore: add HumanizeTimestamp; make ConvertToFloat exportable by
[@&#8203;freak12techno](https://github.com/freak12techno) in
[prometheus/common#654
- Bump github.com/aws/aws-sdk-go from 1.53.14 to 1.54.7 in /sigv4 by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/common#659
- Bump golang.org/x/oauth2 from 0.20.0 to 0.21.0 by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/common#656
- Bump google.golang.org/protobuf from 1.34.1 to 1.34.2 by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/common#658
- Bump golang.org/x/net from 0.25.0 to 0.26.0 by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/common#657
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://github.com/prombot) in
[prometheus/common#660
- Add SigV4 FIPS STS endpoint config by
[@&#8203;rajagopalanand](https://github.com/rajagopalanand) in
[prometheus/common#649

#### New Contributors

- [@&#8203;gotjosh](https://github.com/gotjosh) made their first
contribution in
[prometheus/common#644
- [@&#8203;mikelolasagasti](https://github.com/mikelolasagasti) made
their first contribution in
[prometheus/common#625
- [@&#8203;alanprot](https://github.com/alanprot) made their first
contribution in
[prometheus/common#653
- [@&#8203;yeya24](https://github.com/yeya24) made their first
contribution in
[prometheus/common#655
- [@&#8203;rajagopalanand](https://github.com/rajagopalanand) made
their first contribution in
[prometheus/common#649

**Full Changelog**:
prometheus/common@v0.54.0...v0.55.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:eyJjcmVhdGVkSW5WZXIiOiIzNy40MTMuMiIsInVwZGF0ZWRJblZlciI6IjM3LjQxMy4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJTa2lwIENoYW5nZWxvZyIsImRlcGVuZGVuY2llcyJdfQ==-->

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

[![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://github.com/prometheus/common)
| `v0.54.0` -> `v0.55.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fprometheus%2fcommon/v0.55.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fprometheus%2fcommon/v0.55.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fprometheus%2fcommon/v0.54.0/v0.55.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fprometheus%2fcommon/v0.54.0/v0.55.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

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

#### What's Changed

- Update Go modules by [@&#8203;SuperQ](https://github.com/SuperQ) in
[prometheus/common#643
- enable errcheck linter by
[@&#8203;mmorel-35](https://github.com/mmorel-35) in
[prometheus/common#637
- Add a `RELEASE.md` and add
[@&#8203;gotjosh](https://github.com/gotjosh) as a mantainer by
[@&#8203;gotjosh](https://github.com/gotjosh) in
[prometheus/common#644
- Move goautoneg to external dependency by
[@&#8203;mikelolasagasti](https://github.com/mikelolasagasti) in
[prometheus/common#625
- Expose secret as SecretReader and InlineSecret from config package by
[@&#8203;pracucci](https://github.com/pracucci) in
[prometheus/common#650
- Fix HTTPClientConfig JSON marshalling by
[@&#8203;pracucci](https://github.com/pracucci) in
[prometheus/common#651
- Expose secret as FileSecret from config package by
[@&#8203;alanprot](https://github.com/alanprot) in
[prometheus/common#653
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://github.com/prombot) in
[prometheus/common#646
- Set http_headers to be omit empty by
[@&#8203;yeya24](https://github.com/yeya24) in
[prometheus/common#655
- chore: add HumanizeTimestamp; make ConvertToFloat exportable by
[@&#8203;freak12techno](https://github.com/freak12techno) in
[prometheus/common#654
- Bump github.com/aws/aws-sdk-go from 1.53.14 to 1.54.7 in /sigv4 by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/common#659
- Bump golang.org/x/oauth2 from 0.20.0 to 0.21.0 by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/common#656
- Bump google.golang.org/protobuf from 1.34.1 to 1.34.2 by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/common#658
- Bump golang.org/x/net from 0.25.0 to 0.26.0 by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/common#657
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://github.com/prombot) in
[prometheus/common#660
- Add SigV4 FIPS STS endpoint config by
[@&#8203;rajagopalanand](https://github.com/rajagopalanand) in
[prometheus/common#649

#### New Contributors

- [@&#8203;gotjosh](https://github.com/gotjosh) made their first
contribution in
[prometheus/common#644
- [@&#8203;mikelolasagasti](https://github.com/mikelolasagasti) made
their first contribution in
[prometheus/common#625
- [@&#8203;alanprot](https://github.com/alanprot) made their first
contribution in
[prometheus/common#653
- [@&#8203;yeya24](https://github.com/yeya24) made their first
contribution in
[prometheus/common#655
- [@&#8203;rajagopalanand](https://github.com/rajagopalanand) made
their first contribution in
[prometheus/common#649

**Full Changelog**:
prometheus/common@v0.54.0...v0.55.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:eyJjcmVhdGVkSW5WZXIiOiIzNy40MTMuMiIsInVwZGF0ZWRJblZlciI6IjM3LjQxMy4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJTa2lwIENoYW5nZWxvZyIsImRlcGVuZGVuY2llcyJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
mx-psi pushed a commit to open-telemetry/opentelemetry-collector-contrib that referenced this pull request Jul 2, 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://github.com/prometheus/common)
| `v0.54.0` -> `v0.55.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fprometheus%2fcommon/v0.55.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fprometheus%2fcommon/v0.55.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fprometheus%2fcommon/v0.54.0/v0.55.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fprometheus%2fcommon/v0.54.0/v0.55.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.55.0`](https://github.com/prometheus/common/releases/tag/v0.55.0)

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

#### What's Changed

- Update Go modules by [@&#8203;SuperQ](https://github.com/SuperQ) in
[prometheus/common#643
- enable errcheck linter by
[@&#8203;mmorel-35](https://github.com/mmorel-35) in
[prometheus/common#637
- Add a `RELEASE.md` and add
[@&#8203;gotjosh](https://github.com/gotjosh) as a mantainer by
[@&#8203;gotjosh](https://github.com/gotjosh) in
[prometheus/common#644
- Move goautoneg to external dependency by
[@&#8203;mikelolasagasti](https://github.com/mikelolasagasti) in
[prometheus/common#625
- Expose secret as SecretReader and InlineSecret from config package by
[@&#8203;pracucci](https://github.com/pracucci) in
[prometheus/common#650
- Fix HTTPClientConfig JSON marshalling by
[@&#8203;pracucci](https://github.com/pracucci) in
[prometheus/common#651
- Expose secret as FileSecret from config package by
[@&#8203;alanprot](https://github.com/alanprot) in
[prometheus/common#653
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://github.com/prombot) in
[prometheus/common#646
- Set http_headers to be omit empty by
[@&#8203;yeya24](https://github.com/yeya24) in
[prometheus/common#655
- chore: add HumanizeTimestamp; make ConvertToFloat exportable by
[@&#8203;freak12techno](https://github.com/freak12techno) in
[prometheus/common#654
- Bump github.com/aws/aws-sdk-go from 1.53.14 to 1.54.7 in /sigv4 by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/common#659
- Bump golang.org/x/oauth2 from 0.20.0 to 0.21.0 by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/common#656
- Bump google.golang.org/protobuf from 1.34.1 to 1.34.2 by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/common#658
- Bump golang.org/x/net from 0.25.0 to 0.26.0 by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/common#657
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://github.com/prombot) in
[prometheus/common#660
- Add SigV4 FIPS STS endpoint config by
[@&#8203;rajagopalanand](https://github.com/rajagopalanand) in
[prometheus/common#649

#### New Contributors

- [@&#8203;gotjosh](https://github.com/gotjosh) made their first
contribution in
[prometheus/common#644
- [@&#8203;mikelolasagasti](https://github.com/mikelolasagasti) made
their first contribution in
[prometheus/common#625
- [@&#8203;alanprot](https://github.com/alanprot) made their first
contribution in
[prometheus/common#653
- [@&#8203;yeya24](https://github.com/yeya24) made their first
contribution in
[prometheus/common#655
- [@&#8203;rajagopalanand](https://github.com/rajagopalanand) made
their first contribution in
[prometheus/common#649

**Full Changelog**:
prometheus/common@v0.54.0...v0.55.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:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjEuMCIsInVwZGF0ZWRJblZlciI6IjM3LjQyMS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiLCJyZW5vdmF0ZWJvdCJdfQ==-->

---------

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 that referenced this pull request Jul 2, 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://github.com/prometheus/common)
| `v0.54.0` -> `v0.55.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fprometheus%2fcommon/v0.55.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fprometheus%2fcommon/v0.55.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fprometheus%2fcommon/v0.54.0/v0.55.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fprometheus%2fcommon/v0.54.0/v0.55.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.55.0`](https://github.com/prometheus/common/releases/tag/v0.55.0)

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

##### What's Changed

- Update Go modules by [@&#8203;SuperQ](https://github.com/SuperQ) in
[prometheus/common#643
- enable errcheck linter by
[@&#8203;mmorel-35](https://github.com/mmorel-35) in
[prometheus/common#637
- Add a `RELEASE.md` and add
[@&#8203;gotjosh](https://github.com/gotjosh) as a mantainer by
[@&#8203;gotjosh](https://github.com/gotjosh) in
[prometheus/common#644
- Move goautoneg to external dependency by
[@&#8203;mikelolasagasti](https://github.com/mikelolasagasti) in
[prometheus/common#625
- Expose secret as SecretReader and InlineSecret from config package by
[@&#8203;pracucci](https://github.com/pracucci) in
[prometheus/common#650
- Fix HTTPClientConfig JSON marshalling by
[@&#8203;pracucci](https://github.com/pracucci) in
[prometheus/common#651
- Expose secret as FileSecret from config package by
[@&#8203;alanprot](https://github.com/alanprot) in
[prometheus/common#653
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://github.com/prombot) in
[prometheus/common#646
- Set http_headers to be omit empty by
[@&#8203;yeya24](https://github.com/yeya24) in
[prometheus/common#655
- chore: add HumanizeTimestamp; make ConvertToFloat exportable by
[@&#8203;freak12techno](https://github.com/freak12techno) in
[prometheus/common#654
- Bump github.com/aws/aws-sdk-go from 1.53.14 to 1.54.7 in /sigv4 by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/common#659
- Bump golang.org/x/oauth2 from 0.20.0 to 0.21.0 by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/common#656
- Bump google.golang.org/protobuf from 1.34.1 to 1.34.2 by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/common#658
- Bump golang.org/x/net from 0.25.0 to 0.26.0 by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/common#657
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://github.com/prombot) in
[prometheus/common#660
- Add SigV4 FIPS STS endpoint config by
[@&#8203;rajagopalanand](https://github.com/rajagopalanand) in
[prometheus/common#649

##### New Contributors

- [@&#8203;gotjosh](https://github.com/gotjosh) made their first
contribution in
[prometheus/common#644
- [@&#8203;mikelolasagasti](https://github.com/mikelolasagasti) made
their first contribution in
[prometheus/common#625
- [@&#8203;alanprot](https://github.com/alanprot) made their first
contribution in
[prometheus/common#653
- [@&#8203;yeya24](https://github.com/yeya24) made their first
contribution in
[prometheus/common#655
- [@&#8203;rajagopalanand](https://github.com/rajagopalanand) made
their first contribution in
[prometheus/common#649

**Full Changelog**:
prometheus/common@v0.54.0...v0.55.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:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjEuMCIsInVwZGF0ZWRJblZlciI6IjM3LjQyMS45IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiLCJyZW5vdmF0ZWJvdCJdfQ==-->

---------

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

3 participants