1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2024-12-30 21:20:04 +02:00
Commit Graph

2767 Commits

Author SHA1 Message Date
Tyler Yahn
29bdfd20e0
Add entry for logs in go.opentelemetry.io/otel package documentation (#5621) 2024-07-16 08:20:52 +02:00
Sam Xie
aebcbfcbc2
Add example test for otlploggrpc (#5615)
Part of https://github.com/open-telemetry/opentelemetry-go/issues/5056
2024-07-12 22:20:07 +02:00
Sam Xie
19a131b764
Add integration tests for otlploggrpc exporter (#5614)
Part of https://github.com/open-telemetry/opentelemetry-go/issues/5056
2024-07-12 22:13:56 +02:00
Tyler Yahn
f5b4e99025
Update example instrumentation names (#5612)
Part of #5412 

- Use the recommended package name for the instrumentation exemplified
in the repository.
- Use the recommended detection of a `TracerProvider` from passed
context.
2024-07-12 11:53:18 -07:00
David Ashpole
9535f08920
Add comment to other observable instruments about repeated creation with callbacks (#5606)
In https://github.com/open-telemetry/opentelemetry-go/pull/4820, I only
added a comment describing the behavior to `Int64ObservableCounter`, but
forgot other instruments. This adds the comment to all observable
instruments.

Fixes https://github.com/open-telemetry/opentelemetry-go/issues/5561

---------

Co-authored-by: Robert Pająk <pellared@hotmail.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2024-07-12 11:45:51 -07:00
Tyler Yahn
776ceb7cc9
Document Logger name and version recommendations (#5613)
Part of #5412

---------

Co-authored-by: Robert Pająk <pellared@hotmail.com>
2024-07-12 20:28:43 +02:00
Robert Pająk
5881fe708b
sdk/log: Package documentation (#5609)
Fixes https://github.com/open-telemetry/opentelemetry-go/issues/5065

Based on https://pkg.go.dev/go.opentelemetry.io/otel/sdk/metric

---------

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2024-07-12 17:58:54 +02:00
Damien Mathieu
cdee720583
Add benchmark for turning readonly spans into their proto struct (#5601) 2024-07-12 09:48:22 +02:00
Damien Mathieu
8f965b6b85
Add resource metrics transform benchmarks (#5602)
Co-authored-by: David Ashpole <dashpole@google.com>
2024-07-12 09:38:29 +02:00
Sam Xie
a4c3e5df16
Fix verify_released_changelog.sh (#5616)
related #1682

The previous implementation on #5560 has a bug (it works on my mac
though) where it cannot recognize the released section correctly and
pass every modification to the changelog file. This PR fixes the issue.

Action result if we changed the unreleased section:
ab9eecb8a8
Action result if we changed the released section:
c751dc1255
2024-07-12 07:20:17 +02:00
Robert Pająk
d595dab76f
sdk/log: Simple processor may be useful for production (#5578)
Update the design doc:
- describe that minimizing the amount of the heap allocation is one of
the design goals
- provide more usage examples

Moreover update the docs to not discourage using a simple processor from
production. It would be good if the user would use it e.g. with an
[user_events](https://docs.kernel.org/trace/user_events.html),
[LLTng](https://lttng.org/docs/v2.13/#doc-tracing-your-own-user-application)
or
[ETW](https://learn.microsoft.com/en-us/windows/win32/etw/about-event-tracing)
exporter. However, we recommend using a batch processor when using OTLP
over HTTP or gRPC exporters.
2024-07-11 20:06:19 +02:00
Robert Pająk
d6aa213a7e
sdk/log: Refine BenchmarkProcessor (#5607)
Add a benchmark that shows that a processor that adds an attribute may
not introduce a heap allocation (as long as the log record still has <=
5 attributes).
2024-07-11 19:51:25 +02:00
renovate[bot]
55f9b5c274
chore(deps): update google.golang.org/genproto/googleapis/rpc digest to 46eb208 (#5611)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[google.golang.org/genproto/googleapis/rpc](https://togithub.com/googleapis/go-genproto)
| indirect | digest | `40e1e62` -> `46eb208` |
|
[google.golang.org/genproto/googleapis/rpc](https://togithub.com/googleapis/go-genproto)
| require | digest | `40e1e62` -> `46eb208` |

---

### 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 these
updates 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:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJTa2lwIENoYW5nZWxvZyIsImRlcGVuZGVuY2llcyJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-11 17:42:45 +02:00
renovate[bot]
c50fbea368
chore(deps): update google.golang.org/genproto/googleapis/api digest to 46eb208 (#5610)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[google.golang.org/genproto/googleapis/api](https://togithub.com/googleapis/go-genproto)
| indirect | digest | `40e1e62` -> `46eb208` |

---

### 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:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJTa2lwIENoYW5nZWxvZyIsImRlcGVuZGVuY2llcyJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-11 08:22:22 -07:00
Tyler Yahn
eb05fd56b3
Add TestConfigLinkMutability (#5604)
Follow up to #5567. Test the immutability of configured links.

Co-authored-by: Robert Pająk <pellared@hotmail.com>
2024-07-11 08:14:57 -07:00
Robert Pająk
1384c27ad0
log: Add missing notice to Bytes, Slice, Map doc comment (#5598)
Add comment which is already in `BytesValue`, `SliceValue`, `MapValue`.

Maybe it would help mitigating issues like
https://github.com/open-telemetry/opentelemetry-go-contrib/issues/5879.
2024-07-11 06:39:08 +02:00
Tyler Yahn
e8c22e6e71
Add TestSpanStartConfigAttributeMutability (#5591)
Follow up to #5567. Test the immutability of configured attributes.

Co-authored-by: Sam Xie <sam@samxie.me>
2024-07-10 12:02:01 -07:00
renovate[bot]
1077d23fd1
chore(deps): update jaegertracing/all-in-one docker tag to v1.59 (#5605) 2024-07-10 19:36:26 +02:00
renovate[bot]
2d373af05e
chore(deps): update prom/prometheus docker tag to v2.53.1 (#5603)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| prom/prometheus | patch | `v2.53.0` -> `v2.53.1` |

---

### 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:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJTa2lwIENoYW5nZWxvZyIsImRlcGVuZGVuY2llcyJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-10 16:21:07 +02:00
renovate[bot]
f2bc57bdea
fix(deps): update module go.opentelemetry.io/build-tools/semconvgen to v0.14.0 (#5597)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[go.opentelemetry.io/build-tools/semconvgen](https://togithub.com/open-telemetry/opentelemetry-go-build-tools)
| `v0.13.0` -> `v0.14.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/go.opentelemetry.io%2fbuild-tools%2fsemconvgen/v0.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/go.opentelemetry.io%2fbuild-tools%2fsemconvgen/v0.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/go.opentelemetry.io%2fbuild-tools%2fsemconvgen/v0.13.0/v0.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.opentelemetry.io%2fbuild-tools%2fsemconvgen/v0.13.0/v0.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>open-telemetry/opentelemetry-go-build-tools
(go.opentelemetry.io/build-tools/semconvgen)</summary>

###
[`v0.14.0`](https://togithub.com/open-telemetry/opentelemetry-go-build-tools/blob/HEAD/CHANGELOG.md#v0140)

[Compare
Source](https://togithub.com/open-telemetry/opentelemetry-go-build-tools/compare/v0.13.0...v0.14.0)

##### 💡 Enhancements 💡

- `semconvgen`: Add `--capitalizations-path` to allow users to add
additional strings to the static capitalizations slice in generator.go
([#&#8203;528](https://togithub.com/open-telemetry/opentelemetry-go-build-tools/issues/528))

##### 🧰 Bug fixes 🧰

- `multimod`: Get pseudoversion for each module in a module set
separately to support moving modules between module sets.
([#&#8203;582](https://togithub.com/open-telemetry/opentelemetry-go-build-tools/issues/582))

</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:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJTa2lwIENoYW5nZWxvZyIsImRlcGVuZGVuY2llcyJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-09 17:10:30 -07:00
renovate[bot]
18088309af
fix(deps): update module go.opentelemetry.io/build-tools/multimod to v0.14.0 (#5596)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[go.opentelemetry.io/build-tools/multimod](https://togithub.com/open-telemetry/opentelemetry-go-build-tools)
| `v0.13.0` -> `v0.14.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/go.opentelemetry.io%2fbuild-tools%2fmultimod/v0.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/go.opentelemetry.io%2fbuild-tools%2fmultimod/v0.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/go.opentelemetry.io%2fbuild-tools%2fmultimod/v0.13.0/v0.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.opentelemetry.io%2fbuild-tools%2fmultimod/v0.13.0/v0.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>open-telemetry/opentelemetry-go-build-tools
(go.opentelemetry.io/build-tools/multimod)</summary>

###
[`v0.14.0`](https://togithub.com/open-telemetry/opentelemetry-go-build-tools/blob/HEAD/CHANGELOG.md#v0140)

[Compare
Source](https://togithub.com/open-telemetry/opentelemetry-go-build-tools/compare/v0.13.0...v0.14.0)

##### 💡 Enhancements 💡

- `semconvgen`: Add `--capitalizations-path` to allow users to add
additional strings to the static capitalizations slice in generator.go
([#&#8203;528](https://togithub.com/open-telemetry/opentelemetry-go-build-tools/issues/528))

##### 🧰 Bug fixes 🧰

- `multimod`: Get pseudoversion for each module in a module set
separately to support moving modules between module sets.
([#&#8203;582](https://togithub.com/open-telemetry/opentelemetry-go-build-tools/issues/582))

</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:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJTa2lwIENoYW5nZWxvZyIsImRlcGVuZGVuY2llcyJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-09 16:56:47 -07:00
renovate[bot]
b9cce867e5
fix(deps): update module go.opentelemetry.io/build-tools/gotmpl to v0.14.0 (#5595)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[go.opentelemetry.io/build-tools/gotmpl](https://togithub.com/open-telemetry/opentelemetry-go-build-tools)
| `v0.13.0` -> `v0.14.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/go.opentelemetry.io%2fbuild-tools%2fgotmpl/v0.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/go.opentelemetry.io%2fbuild-tools%2fgotmpl/v0.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/go.opentelemetry.io%2fbuild-tools%2fgotmpl/v0.13.0/v0.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.opentelemetry.io%2fbuild-tools%2fgotmpl/v0.13.0/v0.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>open-telemetry/opentelemetry-go-build-tools
(go.opentelemetry.io/build-tools/gotmpl)</summary>

###
[`v0.14.0`](https://togithub.com/open-telemetry/opentelemetry-go-build-tools/blob/HEAD/CHANGELOG.md#v0140)

[Compare
Source](https://togithub.com/open-telemetry/opentelemetry-go-build-tools/compare/v0.13.0...v0.14.0)

##### 💡 Enhancements 💡

- `semconvgen`: Add `--capitalizations-path` to allow users to add
additional strings to the static capitalizations slice in generator.go
([#&#8203;528](https://togithub.com/open-telemetry/opentelemetry-go-build-tools/issues/528))

##### 🧰 Bug fixes 🧰

- `multimod`: Get pseudoversion for each module in a module set
separately to support moving modules between module sets.
([#&#8203;582](https://togithub.com/open-telemetry/opentelemetry-go-build-tools/issues/582))

</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.

---

- [x] <!-- 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:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJTa2lwIENoYW5nZWxvZyIsImRlcGVuZGVuY2llcyJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-09 16:35:12 -07:00
renovate[bot]
6cc58df775
fix(deps): update module go.opentelemetry.io/build-tools/crosslink to v0.14.0 (#5594)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[go.opentelemetry.io/build-tools/crosslink](https://togithub.com/open-telemetry/opentelemetry-go-build-tools)
| `v0.13.0` -> `v0.14.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/go.opentelemetry.io%2fbuild-tools%2fcrosslink/v0.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/go.opentelemetry.io%2fbuild-tools%2fcrosslink/v0.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/go.opentelemetry.io%2fbuild-tools%2fcrosslink/v0.13.0/v0.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.opentelemetry.io%2fbuild-tools%2fcrosslink/v0.13.0/v0.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>open-telemetry/opentelemetry-go-build-tools
(go.opentelemetry.io/build-tools/crosslink)</summary>

###
[`v0.14.0`](https://togithub.com/open-telemetry/opentelemetry-go-build-tools/blob/HEAD/CHANGELOG.md#v0140)

[Compare
Source](https://togithub.com/open-telemetry/opentelemetry-go-build-tools/compare/v0.13.0...v0.14.0)

##### 💡 Enhancements 💡

- `semconvgen`: Add `--capitalizations-path` to allow users to add
additional strings to the static capitalizations slice in generator.go
([#&#8203;528](https://togithub.com/open-telemetry/opentelemetry-go-build-tools/issues/528))

##### 🧰 Bug fixes 🧰

- `multimod`: Get pseudoversion for each module in a module set
separately to support moving modules between module sets.
([#&#8203;582](https://togithub.com/open-telemetry/opentelemetry-go-build-tools/issues/582))

</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:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJTa2lwIENoYW5nZWxvZyIsImRlcGVuZGVuY2llcyJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-09 16:08:14 -07:00
renovate[bot]
c161387df1
chore(deps): update google.golang.org/genproto/googleapis/rpc digest to 40e1e62 (#5593)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[google.golang.org/genproto/googleapis/rpc](https://togithub.com/googleapis/go-genproto)
| indirect | digest | `4ad9e85` -> `40e1e62` |
|
[google.golang.org/genproto/googleapis/rpc](https://togithub.com/googleapis/go-genproto)
| require | digest | `4ad9e85` -> `40e1e62` |

---

### 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 these
updates 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:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJTa2lwIENoYW5nZWxvZyIsImRlcGVuZGVuY2llcyJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-09 15:54:39 -07:00
Sam Xie
4816927e03
Implement otlploggrpc exporter (#5582)
Part of #5056

It also abstracts some test help functions from the client and adjusts
the indent of `UploadLogs` and `PartialSuccess` in client tests.

For full usage of this exporter, check
https://github.com/open-telemetry/opentelemetry-go/pull/5522

---------

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2024-07-09 21:37:01 +02:00
renovate[bot]
fa00fc5751
chore(deps): update google.golang.org/genproto/googleapis/api digest to 40e1e62 (#5592)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[google.golang.org/genproto/googleapis/api](https://togithub.com/googleapis/go-genproto)
| indirect | digest | `4ad9e85` -> `40e1e62` |

---

### 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:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJTa2lwIENoYW5nZWxvZyIsImRlcGVuZGVuY2llcyJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-09 11:57:29 -07:00
Robert Pająk
82184aa44b
[chore] Add missing changelog entry for #5577 (#5586)
Per
https://github.com/open-telemetry/opentelemetry-go-contrib/pull/5868#issuecomment-2213239602

Co-authored-by: Sam Xie <sam@samxie.me>
Co-authored-by: Damien Mathieu <damien.mathieu@elastic.co>
2024-07-09 09:36:59 +02:00
Sam Xie
aab5af16af
Correct the comment for the priority of options and environments on otlptracehttp (#5584)
part of https://github.com/open-telemetry/opentelemetry-go/issues/5379
2024-07-08 18:14:06 -07:00
renovate[bot]
74eb0bfccf
chore(deps): update google.golang.org/genproto/googleapis/rpc digest to 4ad9e85 (#5589)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[google.golang.org/genproto/googleapis/rpc](https://togithub.com/googleapis/go-genproto)
| indirect | digest | `f6361c8` -> `4ad9e85` |
|
[google.golang.org/genproto/googleapis/rpc](https://togithub.com/googleapis/go-genproto)
| require | digest | `f6361c8` -> `4ad9e85` |

---

### 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 these
updates 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:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJTa2lwIENoYW5nZWxvZyIsImRlcGVuZGVuY2llcyJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-08 13:47:59 -07:00
renovate[bot]
1cdd0c70ac
chore(deps): update google.golang.org/genproto/googleapis/api digest to 4ad9e85 (#5588)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[google.golang.org/genproto/googleapis/api](https://togithub.com/googleapis/go-genproto)
| indirect | digest | `654c5fe` -> `4ad9e85` |

---

### 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:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJTa2lwIENoYW5nZWxvZyIsImRlcGVuZGVuY2llcyJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-08 13:39:27 -07:00
Sam Xie
30ca54a7dc
Protect released changelog in CI (#5560)
resolve #1682

This PR adds a new action in CI to protect released sections in the
changelog from being changed. It compares the released sections in the
changelog from the base branch to the current PR. It fails if a change
happens.

Apply "Unlock Released Changelog" to bypass this check when doing a new
release.

Action result if we changed the unreleased section:
d640deb435
Action result if we changed the released section:
d672de7a54

---

Meaning of `awk '/^\<!-- Released section --\>/ {flag=1} /^\<!--
Released section ended --\>/ {flag=0} flag'`
- `/^\<!-- Released section --\>/ {flag=1}`
  - Matches lines starting with `<!-- Released section -->`.
  - Sets the flag variable to 1 (starting the printing of lines).
- `/^\<!-- Released section ended --\>/ {flag=0}`
  - Matches lines starting with `<!-- Released section ended -->`.
  - Sets the flag variable to 0.
  - So it is ok to change external reference links, like
    ```md 
    [Go 1.22]: https://go.dev/doc/go1.22
    [Go 1.21]: https://go.dev/doc/go1.21
    ```
- `flag` lines are printed only when the flag is 1.

---------

Co-authored-by: Robert Pająk <pellared@hotmail.com>
2024-07-08 11:31:31 -07:00
renovate[bot]
40b6ba1308
chore(deps): update google.golang.org/genproto/googleapis/api digest to 654c5fe (#5587)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[google.golang.org/genproto/googleapis/api](https://togithub.com/googleapis/go-genproto)
| indirect | digest | `f6361c8` -> `654c5fe` |

---

### 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:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJTa2lwIENoYW5nZWxvZyIsImRlcGVuZGVuY2llcyJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-08 09:26:56 -07:00
Damien Mathieu
83c61f521f
Extend trace config benchmarks to run each option individually (#5566)
This extends the trace API new traces, span and event benchmarks into
sub benchmarks, so each option is tested individually rather than all of
them together.

```
open-telemetry/opentelemetry-go/trace›  git:(extend-trace-config-benchmarks) go test -v -bench=Config -run Benchmark
goos: darwin
goarch: arm64
pkg: go.opentelemetry.io/otel/trace
BenchmarkNewTracerConfig
BenchmarkNewTracerConfig/with_no_options
BenchmarkNewTracerConfig/with_no_options-10             558777036                2.021 ns/op           0 B/op          0 allocs/op
BenchmarkNewTracerConfig/with_an_instrumentation_version
BenchmarkNewTracerConfig/with_an_instrumentation_version-10             91590230                13.09 ns/op            0 B/op          0 allocs/op
BenchmarkNewTracerConfig/with_a_schema_url
BenchmarkNewTracerConfig/with_a_schema_url-10                           89374104                13.07 ns/op            0 B/op          0 allocs/op
BenchmarkNewSpanStartConfig
BenchmarkNewSpanStartConfig/with_no_options
BenchmarkNewSpanStartConfig/with_no_options-10                          288158400                4.187 ns/op           0 B/op          0 allocs/op
BenchmarkNewSpanStartConfig/with_attributes
BenchmarkNewSpanStartConfig/with_attributes-10                          26750458                45.20 ns/op           64 B/op          1 allocs/op
BenchmarkNewSpanStartConfig/with_attributes_set_multiple_times
BenchmarkNewSpanStartConfig/with_attributes_set_multiple_times-10       11745048               102.4 ns/op           192 B/op          2 allocs/op
BenchmarkNewSpanStartConfig/with_a_timestamp
BenchmarkNewSpanStartConfig/with_a_timestamp-10                         55898018                21.38 ns/op            0 B/op          0 allocs/op
BenchmarkNewSpanStartConfig/with_links
BenchmarkNewSpanStartConfig/with_links-10                               19950262                60.21 ns/op           96 B/op          1 allocs/op
BenchmarkNewSpanStartConfig/with_links_set_multiple_times
BenchmarkNewSpanStartConfig/with_links_set_multiple_times-10             8129803               141.6 ns/op           272 B/op          2 allocs/op
BenchmarkNewSpanStartConfig/with_new_root
BenchmarkNewSpanStartConfig/with_new_root-10                            43815543                27.46 ns/op            0 B/op          0 allocs/op
BenchmarkNewSpanStartConfig/with_span_kind
BenchmarkNewSpanStartConfig/with_span_kind-10                           43276576                27.49 ns/op            0 B/op          0 allocs/op
BenchmarkNewSpanEndConfig
BenchmarkNewSpanEndConfig/with_no_options
BenchmarkNewSpanEndConfig/with_no_options-10                            286546008                4.155 ns/op           0 B/op          0 allocs/op
BenchmarkNewSpanEndConfig/with_a_timestamp
BenchmarkNewSpanEndConfig/with_a_timestamp-10                           55678317                21.26 ns/op            0 B/op          0 allocs/op
BenchmarkNewSpanEndConfig/with_stack_trace
BenchmarkNewSpanEndConfig/with_stack_trace-10                           57029929                20.80 ns/op            0 B/op          0 allocs/op
BenchmarkNewEventConfig
BenchmarkNewEventConfig/with_no_options
BenchmarkNewEventConfig/with_no_options-10                              25571608                46.08 ns/op            0 B/op          0 allocs/op
BenchmarkNewEventConfig/with_attributes
BenchmarkNewEventConfig/with_attributes-10                              13868670                80.87 ns/op           64 B/op          1 allocs/op
BenchmarkNewEventConfig/with_attributes_set_multiple_times
BenchmarkNewEventConfig/with_attributes_set_multiple_times-10            8357275               143.2 ns/op           192 B/op          2 allocs/op
BenchmarkNewEventConfig/with_a_timestamp
BenchmarkNewEventConfig/with_a_timestamp-10                             80229771                14.77 ns/op            0 B/op          0 allocs/op
BenchmarkNewEventConfig/with_a_stacktrace
BenchmarkNewEventConfig/with_a_stacktrace-10                            21965215                54.93 ns/op            0 B/op          0 allocs/op
PASS
ok      go.opentelemetry.io/otel/trace  24.862s
```

---------

Co-authored-by: Robert Pająk <pellared@hotmail.com>
2024-07-08 16:14:15 +02:00
Santi Leira
7e0af515e2
baggage: Fix invalid percent-encoded octet sequences (#5528)
# Goal

Replace the percent encoded octet sequence with the replacement code
point (U+FFFD) when it doesn't match the UTF-8 encoding schema.

Issue: https://github.com/open-telemetry/opentelemetry-go/issues/5519

Current behavior: 

```
package main

import (
	"fmt"
	"log"
	"unicode/utf8"

	"go.opentelemetry.io/otel/baggage"
)

func main() {
	kv := "k=aa%ffcc"

	b, err := baggage.Parse(kv)
	if err != nil {
		log.Fatal(err)
	}
	val := b.Members()[0].Value()

	fmt.Println(len(val)) # 5
	fmt.Println(utf8.ValidString(val)) # false
}
```

Expected behavior:
```
package main

import (
	"fmt"
	"log"
	"unicode/utf8"

	"go.opentelemetry.io/otel/baggage"
)

func main() {
	kv := "k=aa%ffcc"

	b, err := baggage.Parse(kv)
	if err != nil {
		log.Fatal(err)
	}
	val := b.Members()[0].Value()

	fmt.Println(len(val)) # 7
	fmt.Println(utf8.ValidString(val)) # true
}
```

## Benchmark

- `go test -bench=BenchmarkParse -count 20 > old.txt`
```
goos: darwin
goarch: arm64
pkg: go.opentelemetry.io/otel/baggage
BenchmarkParse-10    	 1548118	       774.3 ns/op	     864 B/op	       8 allocs/op
BenchmarkParse-10    	 1547653	       786.0 ns/op	     864 B/op	       8 allocs/op
BenchmarkParse-10    	 1544949	       770.5 ns/op	     864 B/op	       8 allocs/op
BenchmarkParse-10    	 1558972	       770.2 ns/op	     864 B/op	       8 allocs/op
BenchmarkParse-10    	 1554973	       774.7 ns/op	     864 B/op	       8 allocs/op
BenchmarkParse-10    	 1550200	       779.6 ns/op	     864 B/op	       8 allocs/op
BenchmarkParse-10    	 1545100	       774.3 ns/op	     864 B/op	       8 allocs/op
BenchmarkParse-10    	 1549634	       777.5 ns/op	     864 B/op	       8 allocs/op
BenchmarkParse-10    	 1552530	       769.6 ns/op	     864 B/op	       8 allocs/op
BenchmarkParse-10    	 1536499	       855.0 ns/op	     864 B/op	       8 allocs/op
BenchmarkParse-10    	 1552244	       770.4 ns/op	     864 B/op	       8 allocs/op
BenchmarkParse-10    	 1560225	       767.4 ns/op	     864 B/op	       8 allocs/op
BenchmarkParse-10    	 1562738	       772.3 ns/op	     864 B/op	       8 allocs/op
BenchmarkParse-10    	 1556679	       838.9 ns/op	     864 B/op	       8 allocs/op
BenchmarkParse-10    	 1562500	       777.1 ns/op	     864 B/op	       8 allocs/op
BenchmarkParse-10    	 1530901	       836.5 ns/op	     864 B/op	       8 allocs/op
BenchmarkParse-10    	 1000000	      1372 ns/op	     864 B/op	       8 allocs/op
BenchmarkParse-10    	 1534678	       780.3 ns/op	     864 B/op	       8 allocs/op
BenchmarkParse-10    	 1366180	       822.4 ns/op	     864 B/op	       8 allocs/op
BenchmarkParse-10    	 1539852	       796.8 ns/op	     864 B/op	       8 allocs/op
PASS
ok  	go.opentelemetry.io/otel/baggage	40.839s

```

- `go test -bench=BenchmarkParse -count 20 > new.txt`
```
goos: darwin
goarch: arm64
pkg: go.opentelemetry.io/otel/baggage
BenchmarkParse-10    	 1355893	       886.6 ns/op	     888 B/op	       9 allocs/op
BenchmarkParse-10    	 1349192	       883.1 ns/op	     888 B/op	       9 allocs/op
BenchmarkParse-10    	 1363053	       880.4 ns/op	     888 B/op	       9 allocs/op
BenchmarkParse-10    	 1372404	       875.7 ns/op	     888 B/op	       9 allocs/op
BenchmarkParse-10    	 1359979	       880.7 ns/op	     888 B/op	       9 allocs/op
BenchmarkParse-10    	 1360497	       874.7 ns/op	     888 B/op	       9 allocs/op
BenchmarkParse-10    	 1375520	       870.2 ns/op	     888 B/op	       9 allocs/op
BenchmarkParse-10    	 1375268	       882.8 ns/op	     888 B/op	       9 allocs/op
BenchmarkParse-10    	 1361998	       964.8 ns/op	     888 B/op	       9 allocs/op
BenchmarkParse-10    	 1373461	       961.5 ns/op	     888 B/op	       9 allocs/op
BenchmarkParse-10    	 1378065	       872.6 ns/op	     888 B/op	       9 allocs/op
BenchmarkParse-10    	 1377290	       879.0 ns/op	     888 B/op	       9 allocs/op
BenchmarkParse-10    	 1362094	       885.6 ns/op	     888 B/op	       9 allocs/op
BenchmarkParse-10    	 1352175	       915.9 ns/op	     888 B/op	       9 allocs/op
BenchmarkParse-10    	 1364914	       887.9 ns/op	     888 B/op	       9 allocs/op
BenchmarkParse-10    	 1355782	       890.5 ns/op	     888 B/op	       9 allocs/op
BenchmarkParse-10    	 1361848	      1245 ns/op	     888 B/op	       9 allocs/op
BenchmarkParse-10    	 1163396	       878.8 ns/op	     888 B/op	       9 allocs/op
BenchmarkParse-10    	 1370886	       916.6 ns/op	     888 B/op	       9 allocs/op
BenchmarkParse-10    	 1340149	      1175 ns/op	     888 B/op	       9 allocs/op
PASS
ok  	go.opentelemetry.io/otel/baggage	44.347s
```

- `benchstat old.txt new.txt`
```
goos: darwin
goarch: arm64
pkg: go.opentelemetry.io/otel/baggage
         │   old.txt   │               new.txt               │
         │   sec/op    │   sec/op     vs base                │
Parse-10   777.3n ± 3%   884.4n ± 4%  +13.77% (p=0.000 n=20)

         │  old.txt   │              new.txt              │
         │    B/op    │    B/op     vs base               │
Parse-10   864.0 ± 0%   888.0 ± 0%  +2.78% (p=0.000 n=20)

         │  old.txt   │              new.txt               │
         │ allocs/op  │ allocs/op   vs base                │
Parse-10   8.000 ± 0%   9.000 ± 0%  +12.50% (p=0.000 n=20)
```

---------

Co-authored-by: Damien Mathieu <42@dmathieu.com>
Co-authored-by: Robert Pająk <pellared@hotmail.com>
2024-07-08 15:01:04 +02:00
renovate[bot]
61ff66c582
fix(deps): update golang.org/x/exp digest to 46b0784 (#5585) 2024-07-08 07:15:19 +02:00
renovate[bot]
d913aa9dcb
fix(deps): update module golang.org/x/tools to v0.23.0 (#5583) 2024-07-08 07:00:47 +02:00
Robert Pająk
4ccb6f2dd0
[chore] Update macOS runners (#5577)
Per
https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories

Now `macos-latest` runs on M1 (ARM). Update the GitHub workflows and
docs accordingly and make sure to test on both ARM and AMD64.
2024-07-06 14:21:11 +02:00
Robert Pająk
d5c3319720
sdk/log: Add package example (#5579)
Towards https://github.com/open-telemetry/opentelemetry-go/issues/5065

Co-authored-by: Sam Xie <sam@samxie.me>
2024-07-06 13:07:29 +02:00
Sam Xie
b761af75f5
Enable benchmark summary for release (#5527)
It enables the job summary for triggered PRs. (it doesn't create a
comment in PRs) Example:
https://github.com/benchmark-action/github-action-benchmark/issues/159#issuecomment-1871746703

---------

Co-authored-by: Robert Pająk <pellared@hotmail.com>
2024-07-05 09:31:04 -07:00
renovate[bot]
39f38e7134
chore(deps): update module golang.org/x/net to v0.27.0 (#5581)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| golang.org/x/net | `v0.26.0` -> `v0.27.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/golang.org%2fx%2fnet/v0.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/golang.org%2fx%2fnet/v0.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/golang.org%2fx%2fnet/v0.26.0/v0.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/golang.org%2fx%2fnet/v0.26.0/v0.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### 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:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjEuOSIsInVwZGF0ZWRJblZlciI6IjM3LjQyMS45IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJTa2lwIENoYW5nZWxvZyIsImRlcGVuZGVuY2llcyJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-05 17:28:45 +02:00
renovate[bot]
5e3499c1f3
chore(deps): update module golang.org/x/sys to v0.22.0 (#5576) 2024-07-05 09:28:05 +02:00
Sam Xie
5cd7807389
Implement otlploggrpc gRPC client (#5572)
part of https://github.com/open-telemetry/opentelemetry-go/issues/5056

For full usage of this client, check
https://github.com/open-telemetry/opentelemetry-go/pull/5522

---------

Co-authored-by: Damien Mathieu <42@dmathieu.com>
2024-07-03 21:50:02 -07:00
renovate[bot]
bcb7d42b3f
fix(deps): update module go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp to v0.53.0 (#5574)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp](https://togithub.com/open-telemetry/opentelemetry-go-contrib)
| `v0.52.0` -> `v0.53.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/go.opentelemetry.io%2fcontrib%2finstrumentation%2fnet%2fhttp%2fotelhttp/v0.53.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/go.opentelemetry.io%2fcontrib%2finstrumentation%2fnet%2fhttp%2fotelhttp/v0.53.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/go.opentelemetry.io%2fcontrib%2finstrumentation%2fnet%2fhttp%2fotelhttp/v0.52.0/v0.53.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.opentelemetry.io%2fcontrib%2finstrumentation%2fnet%2fhttp%2fotelhttp/v0.52.0/v0.53.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### 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:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjEuOSIsInVwZGF0ZWRJblZlciI6IjM3LjQyMS45IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJTa2lwIENoYW5nZWxvZyIsImRlcGVuZGVuY2llcyJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-03 10:15:01 -07:00
renovate[bot]
7e5e90576c
fix(deps): update module go.opentelemetry.io/contrib/bridges/otelslog to v0.3.0 (#5573)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[go.opentelemetry.io/contrib/bridges/otelslog](https://togithub.com/open-telemetry/opentelemetry-go-contrib)
| `v0.2.0` -> `v0.3.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/go.opentelemetry.io%2fcontrib%2fbridges%2fotelslog/v0.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/go.opentelemetry.io%2fcontrib%2fbridges%2fotelslog/v0.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/go.opentelemetry.io%2fcontrib%2fbridges%2fotelslog/v0.2.0/v0.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.opentelemetry.io%2fcontrib%2fbridges%2fotelslog/v0.2.0/v0.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### 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:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjEuOSIsInVwZGF0ZWRJblZlciI6IjM3LjQyMS45IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJTa2lwIENoYW5nZWxvZyIsImRlcGVuZGVuY2llcyJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-03 09:57:58 -07:00
renovate[bot]
b394515def
fix(deps): update module go.opentelemetry.io/otel/sdk/log to v0.4.0 (#5571)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[go.opentelemetry.io/otel/sdk/log](https://togithub.com/open-telemetry/opentelemetry-go)
| `v0.3.0` -> `v0.4.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/go.opentelemetry.io%2fotel%2fsdk%2flog/v0.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/go.opentelemetry.io%2fotel%2fsdk%2flog/v0.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/go.opentelemetry.io%2fotel%2fsdk%2flog/v0.3.0/v0.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.opentelemetry.io%2fotel%2fsdk%2flog/v0.3.0/v0.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>open-telemetry/opentelemetry-go
(go.opentelemetry.io/otel/sdk/log)</summary>

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

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

##### Added

- New API package `api/metric/registry` that exposes a `MeterImpl`
wrapper for use by SDKs to generate unique instruments.
([#&#8203;580](https://togithub.com/open-telemetry/opentelemetry-go/issues/580))
- Script to verify examples after a new release.
([#&#8203;579](https://togithub.com/open-telemetry/opentelemetry-go/issues/579))

##### Removed

-   The dogstatsd exporter due to lack of support.
This additionally removes support for statsd.
([#&#8203;591](https://togithub.com/open-telemetry/opentelemetry-go/issues/591))
-   `LabelSet` from the metric API.
This is replaced by a `[]core.KeyValue` slice.
([#&#8203;595](https://togithub.com/open-telemetry/opentelemetry-go/issues/595))
- `Labels` from the metric API's `Meter` interface.
([#&#8203;595](https://togithub.com/open-telemetry/opentelemetry-go/issues/595))

##### Changed

- The metric `export.Labels` became an interface which the SDK
implements and the `export` package provides a simple, immutable
implementation of this interface intended for testing purposes.
([#&#8203;574](https://togithub.com/open-telemetry/opentelemetry-go/issues/574))
- Renamed `internal/metric.Meter` to `MeterImpl`.
([#&#8203;580](https://togithub.com/open-telemetry/opentelemetry-go/issues/580))
- Renamed `api/global/internal.obsImpl` to `asyncImpl`.
([#&#8203;580](https://togithub.com/open-telemetry/opentelemetry-go/issues/580))

##### Fixed

- Corrected missing return in mock span.
([#&#8203;582](https://togithub.com/open-telemetry/opentelemetry-go/issues/582))
- Update License header for all source files to match CNCF guidelines
and include a test to ensure it is present.
([#&#8203;586](https://togithub.com/open-telemetry/opentelemetry-go/issues/586))
([#&#8203;596](https://togithub.com/open-telemetry/opentelemetry-go/issues/596))
- Update to v0.3.0 of the OTLP in the OTLP exporter.
([#&#8203;588](https://togithub.com/open-telemetry/opentelemetry-go/issues/588))
- Update pre-release script to be compatible between GNU and BSD based
systems.
([#&#8203;592](https://togithub.com/open-telemetry/opentelemetry-go/issues/592))
- Add a `RecordBatch` benchmark.
([#&#8203;594](https://togithub.com/open-telemetry/opentelemetry-go/issues/594))
- Moved span transforms of the OTLP exporter to the internal package.
([#&#8203;593](https://togithub.com/open-telemetry/opentelemetry-go/issues/593))
- Build both go-1.13 and go-1.14 in circleci to test for all supported
versions of Go.
([#&#8203;569](https://togithub.com/open-telemetry/opentelemetry-go/issues/569))
- Removed unneeded allocation on empty labels in OLTP exporter.
([#&#8203;597](https://togithub.com/open-telemetry/opentelemetry-go/issues/597))
- Update `BatchedSpanProcessor` to process the queue until no data but
respect max batch size.
([#&#8203;599](https://togithub.com/open-telemetry/opentelemetry-go/issues/599))
- Update project documentation godoc.org links to pkg.go.dev.
([#&#8203;602](https://togithub.com/open-telemetry/opentelemetry-go/issues/602))

##### Changes since v0.3.0


[`f474c34`](f474c349ae)
Script to verify example after new release.
([#&#8203;579](https://togithub.com/open-telemetry/opentelemetry-go/issues/579))

[`5d346a4`](5d346a4190)
update godoc.org links to pkg.go.dev
([#&#8203;602](https://togithub.com/open-telemetry/opentelemetry-go/issues/602))

[`1e8e72b`](1e8e72b530)
Process the queue until no data but respect max batch size
([#&#8203;599](https://togithub.com/open-telemetry/opentelemetry-go/issues/599))

[`e8546e3`](e8546e3bc5)
Remove Labelset
([#&#8203;595](https://togithub.com/open-telemetry/opentelemetry-go/issues/595))

[`e7a9ba1`](e7a9ba1e2e)
Remove unneeded allocation on empty labels
([#&#8203;597](https://togithub.com/open-telemetry/opentelemetry-go/issues/597))

[`e458809`](e458809c41)
Build both go-1.13 and go-1.14 in circleci
([#&#8203;569](https://togithub.com/open-telemetry/opentelemetry-go/issues/569))

[`c97b4f7`](c97b4f726c)
Update project License headers and checking
([#&#8203;596](https://togithub.com/open-telemetry/opentelemetry-go/issues/596))

[`c9dcc1b`](c9dcc1be28)
Move span transforms of the OTLP exporter to internal
([#&#8203;593](https://togithub.com/open-telemetry/opentelemetry-go/issues/593))

[`cfe74cf`](cfe74cf91f)
Add a RecordBatch benchmark
([#&#8203;594](https://togithub.com/open-telemetry/opentelemetry-go/issues/594))

[`4c69dd3`](4c69dd3234)
Remove dogstatsd and statsd support
([#&#8203;591](https://togithub.com/open-telemetry/opentelemetry-go/issues/591))

[`06f833e`](06f833e2ae)
Unique instrument checking
([#&#8203;580](https://togithub.com/open-telemetry/opentelemetry-go/issues/580))

[`dff6265`](dff6265dc5)
Pre-release script fixes
([#&#8203;592](https://togithub.com/open-telemetry/opentelemetry-go/issues/592))

[`d648712`](d648712cf2)
Kick label encoder out of sdk
([#&#8203;574](https://togithub.com/open-telemetry/opentelemetry-go/issues/574))

[`6f881b4`](6f881b4400)
update to proto v0.3.0
([#&#8203;588](https://togithub.com/open-telemetry/opentelemetry-go/issues/588))

[`a485d0e`](a485d0ec64)
Update License header for all source files
([#&#8203;586](https://togithub.com/open-telemetry/opentelemetry-go/issues/586))

[`c16f56e`](c16f56ee61)
Fix missing return in mock span
([#&#8203;582](https://togithub.com/open-telemetry/opentelemetry-go/issues/582))

</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:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjEuOSIsInVwZGF0ZWRJblZlciI6IjM3LjQyMS45IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJTa2lwIENoYW5nZWxvZyIsImRlcGVuZGVuY2llcyJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Damien Mathieu <damien.mathieu@elastic.co>
2024-07-03 11:34:55 +02:00
renovate[bot]
c508b77058
fix(deps): update module google.golang.org/grpc to v1.65.0 (#5568)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [google.golang.org/grpc](https://togithub.com/grpc/grpc-go) |
`v1.64.0` -> `v1.65.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/google.golang.org%2fgrpc/v1.65.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/google.golang.org%2fgrpc/v1.65.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/google.golang.org%2fgrpc/v1.64.0/v1.65.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/google.golang.org%2fgrpc/v1.64.0/v1.65.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>grpc/grpc-go (google.golang.org/grpc)</summary>

### [`v1.65.0`](https://togithub.com/grpc/grpc-go/releases/tag/v1.65.0):
Release 1.65.0

[Compare
Source](https://togithub.com/grpc/grpc-go/compare/v1.64.0...v1.65.0)

### Dependencies

- Change support policy to cover only the latest TWO releases of Go,
matching the policy for Go itself. See
[#&#8203;7249](https://togithub.com/grpc/grpc-go/issues/7249) for more
information.
([#&#8203;7250](https://togithub.com/grpc/grpc-go/issues/7250))
- Update x/net/http2 to address
[CVE-2023-45288](https://nvd.nist.gov/vuln/detail/CVE-2023-45288)
([#&#8203;7282](https://togithub.com/grpc/grpc-go/issues/7282))

### Behavior Changes

- credentials/tls: clients and servers will now reject connections that
don't support ALPN when environment variable `GRPC_ENFORCE_ALPN_ENABLED`
is set to "true" (case insensitive).
([#&#8203;7184](https://togithub.com/grpc/grpc-go/issues/7184))
    -   NOTE: this behavior will become the default in a future release.
- metadata: remove String method from MD to make printing more
consistent
([#&#8203;7373](https://togithub.com/grpc/grpc-go/issues/7373))

### New Features

- grpc: add `WithMaxCallAttempts` to configure gRPC's retry behavior
per-channel.
([#&#8203;7229](https://togithub.com/grpc/grpc-go/issues/7229))
- Special Thanks: [@&#8203;imoore76](https://togithub.com/imoore76)

### Bug Fixes

- ringhash: properly apply endpoint weights instead of ignoring them
([#&#8203;7156](https://togithub.com/grpc/grpc-go/issues/7156))
- xds: fix a bug that could cause xds-enabled servers to stop accepting
new connections after handshaking errors
([#&#8203;7128](https://togithub.com/grpc/grpc-go/issues/7128))
    -   Special Thanks: [@&#8203;bozaro](https://togithub.com/bozaro)

</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 these
updates 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:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjEuOSIsInVwZGF0ZWRJblZlciI6IjM3LjQyMS45IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJTa2lwIENoYW5nZWxvZyIsImRlcGVuZGVuY2llcyJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Damien Mathieu <damien.mathieu@elastic.co>
2024-07-03 11:12:15 +02:00
Tyler Yahn
83b7bd0b36
Upgrade Go versions in CI (#5570)
Address https://pkg.go.dev/vuln/GO-2024-2963 which is blocking things:
https://github.com/open-telemetry/opentelemetry-go-contrib/actions/runs/9767710483/job/26963575194?pr=5838
2024-07-03 08:07:07 +02:00
Tyler Yahn
81216fb002
Releases v1.28.0/v0.50.0/v0.4.0 (#5569)
### Added

- The `IsEmpty` method is added to the `Instrument` type in
`go.opentelemetry.io/otel/sdk/metric`.
This method is used to check if an `Instrument` instance is a
zero-value. (#5431)
- Store and provide the emitted `context.Context` in `ScopeRecords` of
`go.opentelemetry.io/otel/sdk/log/logtest`. (#5468)
- The `go.opentelemetry.io/otel/semconv/v1.26.0` package.
The package contains semantic conventions from the `v1.26.0` version of
the OpenTelemetry Semantic Conventions. (#5476)
- The `AssertRecordEqual` method to
`go.opentelemetry.io/otel/log/logtest` to allow comparison of two log
records in tests. (#5499)
- The `WithHeaders` option to
`go.opentelemetry.io/otel/exporters/zipkin` to allow configuring custom
http headers while exporting spans. (#5530)

### Changed

- `Tracer.Start` in `go.opentelemetry.io/otel/trace/noop` no longer
allocates a span for empty span context. (#5457)
- Upgrade `go.opentelemetry.io/otel/semconv/v1.25.0` to
`go.opentelemetry.io/otel/semconv/v1.26.0` in
`go.opentelemetry.io/otel/example/otel-collector`. (#5490)
- Upgrade `go.opentelemetry.io/otel/semconv/v1.25.0` to
`go.opentelemetry.io/otel/semconv/v1.26.0` in
`go.opentelemetry.io/otel/example/zipkin`. (#5490)
- Upgrade `go.opentelemetry.io/otel/semconv/v1.25.0` to
`go.opentelemetry.io/otel/semconv/v1.26.0` in
`go.opentelemetry.io/otel/exporters/zipkin`. (#5490)
- The exporter no longer exports the deprecated "otel.library.name" or
"otel.library.version" attributes.
- Upgrade `go.opentelemetry.io/otel/semconv/v1.25.0` to
`go.opentelemetry.io/otel/semconv/v1.26.0` in
`go.opentelemetry.io/otel/sdk/resource`. (#5490)
- Upgrade `go.opentelemetry.io/otel/semconv/v1.25.0` to
`go.opentelemetry.io/otel/semconv/v1.26.0` in
`go.opentelemetry.io/otel/sdk/trace`. (#5490)
- `SimpleProcessor.OnEmit` in `go.opentelemetry.io/otel/sdk/log` no
longer allocates a slice which makes it possible to have a
zero-allocation log processing using `SimpleProcessor`. (#5493)
- Use non-generic functions in the `Start` method of
`"go.opentelemetry.io/otel/sdk/trace".Trace` to reduce memory
allocation. (#5497)
- `service.instance.id` is populated for a `Resource` created with
`"go.opentelemetry.io/otel/sdk/resource".Default` with a default value
when `OTEL_GO_X_RESOURCE` is set. (#5520)
- Improve performance of metric instruments in
`go.opentelemetry.io/otel/sdk/metric` by removing unnecessary calls to
`time.Now`. (#5545)

### Fixed

- Log a warning to the OpenTelemetry internal logger when a `Record` in
`go.opentelemetry.io/otel/sdk/log` drops an attribute due to a limit
being reached. (#5376)
- Identify the `Tracer` returned from the global `TracerProvider` in
`go.opentelemetry.io/otel/global` with its schema URL. (#5426)
- Identify the `Meter` returned from the global `MeterProvider` in
`go.opentelemetry.io/otel/global` with its schema URL. (#5426)
- Log a warning to the OpenTelemetry internal logger when a `Span` in
`go.opentelemetry.io/otel/sdk/trace` drops an attribute, event, or link
due to a limit being reached. (#5434)
- Document instrument name requirements in
`go.opentelemetry.io/otel/metric`. (#5435)
- Prevent random number generation data-race for experimental rand
exemplars in `go.opentelemetry.io/otel/sdk/metric`. (#5456)
- Fix counting number of dropped attributes of `Record` in
`go.opentelemetry.io/otel/sdk/log`. (#5464)
- Fix panic in baggage creation when a member contains `0x80` char in
key or value. (#5494)
- Correct comments for the priority of the `WithEndpoint` and
`WithEndpointURL` options and their corresponding environment variables
in `go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc`.
(#5508)
- Retry trace and span ID generation if it generated an invalid one in
`go.opentelemetry.io/otel/sdk/trace`. (#5514)
- Fix stale timestamps reported by the last-value aggregation. (#5517)
- Indicate the `Exporter` in
`go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp` must be
created by the `New` method. (#5521)
- Improved performance in all `{Bool,Int64,Float64,String}SliceValue`
functions of `go.opentelemetry.io/attributes` by reducing the number of
allocations. (#5549)
2024-07-02 13:29:45 -07:00
Tyler Yahn
8279a1a12e
Add @XSAM and @dmathieu as repository maintainers (#5558)
After off-line discussions, the existing maintainers have all agreed
that the contributions made by both @XSAM and @dmathieu motivate adding
them as maintainers to the project. Both @XSAM and @dmathieu have
confimed they are interested in the position and willing to accept the
responsibilities.

### TODO

- [ ] Add @XSAM to maintainers group
- [ ] Add @dmathieu to maintainers group
- [ ] Copy the substance of this PR into the contrib repository

Co-authored-by: Sam Xie <sam@samxie.me>
2024-07-02 10:46:43 -07:00
renovate[bot]
cff1a2509a
chore(deps): update otel/opentelemetry-collector-contrib docker tag to v0.104.0 (#5565)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
|
[otel/opentelemetry-collector-contrib](https://togithub.com/open-telemetry/opentelemetry-collector-releases)
| minor | `0.103.1` -> `0.104.0` |

---

### Release Notes

<details>
<summary>open-telemetry/opentelemetry-collector-releases
(otel/opentelemetry-collector-contrib)</summary>

###
[`v0.104.0`](https://togithub.com/open-telemetry/opentelemetry-collector-releases/releases/tag/v0.104.0)

[Compare
Source](https://togithub.com/open-telemetry/opentelemetry-collector-releases/compare/v0.103.1...v0.104.0)

Check the [v0.104.0 contrib
changelog](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/releases/tag/v0.104.0)
and the [v0.104.0 core
changelog](https://togithub.com/open-telemetry/opentelemetry-collector/releases/tag/v0.104.0)
for changelogs on specific components.

#### Changelog

-
[`ee2830f`](https://togithub.com/open-telemetry/opentelemetry-collector-releases/commit/ee2830f)
Update version to 0.104.0
([#&#8203;587](https://togithub.com/open-telemetry/opentelemetry-collector-releases/issues/587))
-
[`3cc7340`](https://togithub.com/open-telemetry/opentelemetry-collector-releases/commit/3cc7340)
Add rabbitmq exporter to otelcol-contrib release
([#&#8203;581](https://togithub.com/open-telemetry/opentelemetry-collector-releases/issues/581))

</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:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjEuMCIsInVwZGF0ZWRJblZlciI6IjM3LjQyMS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJTa2lwIENoYW5nZWxvZyIsImRlcGVuZGVuY2llcyJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-02 10:20:07 -07:00