1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2026-06-03 18:35:08 +02: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`](https://togithub.com/open-telemetry/opentelemetry-go/commit/f474c349aec6cc93a6f6c50d268be2d607a3f049)
Script to verify example after new release.
([#&#8203;579](https://togithub.com/open-telemetry/opentelemetry-go/issues/579))

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[`c16f56e`](https://togithub.com/open-telemetry/opentelemetry-go/commit/c16f56ee6103306759e712c555d7b1e6d193c255)
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
2024-07-03 08:07:07 +02:00
2024-06-25 10:55:00 -07:00
2024-06-21 15:00:26 -07:00
2021-05-13 11:23:29 -04:00
2023-11-16 19:51:04 +01:00
2024-06-25 10:55:00 -07:00
2024-07-02 13:29:45 -07:00
2019-05-16 12:05:27 -07:00
2021-09-14 08:15:02 -07:00

OpenTelemetry-Go

CI codecov.io PkgGoDev Go Report Card Slack

OpenTelemetry-Go is the Go implementation of OpenTelemetry. It provides a set of APIs to directly measure performance and behavior of your software and send this data to observability platforms.

Project Status

Signal Status
Traces Stable
Metrics Stable
Logs Beta1

Progress and status specific to this repository is tracked in our project boards and milestones.

Project versioning information and stability guarantees can be found in the versioning documentation.

Compatibility

OpenTelemetry-Go ensures compatibility with the current supported versions of the Go language:

Each major Go release is supported until there are two newer major releases. For example, Go 1.5 was supported until the Go 1.7 release, and Go 1.6 was supported until the Go 1.8 release.

For versions of Go that are no longer supported upstream, opentelemetry-go will stop ensuring compatibility with these versions in the following manner:

  • A minor release of opentelemetry-go will be made to add support for the new supported release of Go.
  • The following minor release of opentelemetry-go will remove compatibility testing for the oldest (now archived upstream) version of Go. This, and future, releases of opentelemetry-go may include features only supported by the currently supported versions of Go.

Currently, this project supports the following environments.

OS Go Version Architecture
Ubuntu 1.22 amd64
Ubuntu 1.21 amd64
Ubuntu 1.22 386
Ubuntu 1.21 386
Linux 1.22 arm64
Linux 1.21 arm64
MacOS 1.22 amd64
MacOS 1.21 amd64
Windows 1.22 amd64
Windows 1.21 amd64
Windows 1.22 386
Windows 1.21 386

While this project should work for other systems, no compatibility guarantees are made for those systems currently.

Getting Started

You can find a getting started guide on opentelemetry.io.

OpenTelemetry's goal is to provide a single set of APIs to capture distributed traces and metrics from your application and send them to an observability platform. This project allows you to do just that for applications written in Go. There are two steps to this process: instrument your application, and configure an exporter.

Instrumentation

To start capturing distributed traces and metric events from your application it first needs to be instrumented. The easiest way to do this is by using an instrumentation library for your code. Be sure to check out the officially supported instrumentation libraries.

If you need to extend the telemetry an instrumentation library provides or want to build your own instrumentation for your application directly you will need to use the Go otel package. The included examples are a good way to see some practical uses of this process.

Export

Now that your application is instrumented to collect telemetry, it needs an export pipeline to send that telemetry to an observability platform.

All officially supported exporters for the OpenTelemetry project are contained in the exporters directory.

Exporter Logs Metrics Traces
OTLP
Prometheus
stdout
Zipkin

Contributing

See the contributing documentation.

Languages
Go 98.9%
Go Template 1%