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

[announcement] logging exporter has been replaced with debug exporter #11337

Closed
mx-psi opened this issue Oct 3, 2024 · 1 comment
Closed
Labels
exporter/debug Issues related to the Debug exporter exporter/logging Logging exporter related issues

Comments

@mx-psi
Copy link
Member

mx-psi commented Oct 3, 2024

On v0.111.0, the logging exporter has been removed in favor of the debug exporter. The logging exporter last version will be v0.110.0 and it will be removed in all officially released distros.

Starting on v0.111.0, you need to replace all your instances of the logging exporter by the debug exporter. For example, if not using any specific settings you can switch as follows:

Before After
receivers:
  otlp:
    protocols:
      grpc:

exporters:
  logging:

service:
  pipelines:
    traces:
      receivers: [otlp]
      exporters: [logging]
receivers:
  otlp:
    protocols:
      grpc:

exporters:
  debug:

service:
  pipelines:
    traces:
      receivers: [otlp]
      exporters: [debug]

You may also need to update your OpenTelemetry Collector Builder manifest to include the debug exporter instead of the logging exporter when bumping the version of components.

Both exporters support the verbosity option and have the same behavior. The debug exporter does not support the logging exporter's loglevel option. The following table summarizes how to translate from one to the other:

loglevel value Equivalent verbosity level
debug detailed
info normal
warn basic
error basic
dpanic basic
panic basic
fatal basic

The debug exporter is available since v0.86.0 and you can migrate to it before upgrading to v0.111.0. If you find any trouble with the migration, please comment below!

@mx-psi mx-psi added exporter/logging Logging exporter related issues exporter/debug Issues related to the Debug exporter labels Oct 3, 2024
@mx-psi mx-psi pinned this issue Oct 3, 2024
codeboten pushed a commit to open-telemetry/opentelemetry-collector-contrib that referenced this issue Oct 8, 2024
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
|
[otel/opentelemetry-collector](https://redirect.github.com/open-telemetry/opentelemetry-collector-releases)
| minor | `0.110.0` -> `0.111.0` |
|
[otel/opentelemetry-collector-contrib](https://redirect.github.com/open-telemetry/opentelemetry-collector-releases)
| minor | `0.110.0` -> `0.111.0` |

---

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

---

### Release Notes

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

###
[`v0.111.0`](https://redirect.github.com/open-telemetry/opentelemetry-collector-releases/releases/tag/v0.111.0)

[Compare
Source](https://redirect.github.com/open-telemetry/opentelemetry-collector-releases/compare/v0.110.0...v0.111.0)

**Starting on this release, the `logging` exporter is no longer
available on the core and contrib distros. See
[open-telemetry/opentelemetry-collector#11337](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/11337)
for instructions on how to migrate to the `debug` exporter.**

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

#### Changelog

-
[`38a2931`](https://redirect.github.com/open-telemetry/opentelemetry-collector-releases/commit/38a293181ae5931a176122217942430fc100cdee)
Prepare for v0.111.0 release
([#&#8203;688](https://redirect.github.com/open-telemetry/opentelemetry-collector-releases/issues/688))
-
[`edc8e94`](https://redirect.github.com/open-telemetry/opentelemetry-collector-releases/commit/edc8e9443074c736551ad82e6c35814a336d1d71)
\[chore] refactor(contrib): remove unused replace directive for
`go-connections` package
([#&#8203;677](https://redirect.github.com/open-telemetry/opentelemetry-collector-releases/issues/677))
-
[`545bd7c`](https://redirect.github.com/open-telemetry/opentelemetry-collector-releases/commit/545bd7c1dd76f950f0f3dfcc04218732afdbdb5e)
Remove the deprecated logging exporter
([#&#8203;682](https://redirect.github.com/open-telemetry/opentelemetry-collector-releases/issues/682))
-
[`f754260`](https://redirect.github.com/open-telemetry/opentelemetry-collector-releases/commit/f7542605648b630d502a4c4c3a69433ce1346cf8)
Bump actions/checkout from 4.1.7 to 4.2.0
([#&#8203;680](https://redirect.github.com/open-telemetry/opentelemetry-collector-releases/issues/680))
-
[`24c11af`](https://redirect.github.com/open-telemetry/opentelemetry-collector-releases/commit/24c11af290c7dca9c370630c493938f812a2a53a)
add appropriate version tag in cmd/builder goreleaser config
([#&#8203;665](https://redirect.github.com/open-telemetry/opentelemetry-collector-releases/issues/665))
-
[`1e1b2fa`](https://redirect.github.com/open-telemetry/opentelemetry-collector-releases/commit/1e1b2fac8fe5ea7b39d76177843e6cbca74a1de0)
\[chore] refactor(contrib): remove unused replace directive for
`gnostic` package
([#&#8203;675](https://redirect.github.com/open-telemetry/opentelemetry-collector-releases/issues/675))
-
[`4800eb6`](https://redirect.github.com/open-telemetry/opentelemetry-collector-releases/commit/4800eb6f3a97d794abb60871c209a4a20be44a52)
Add minimal OTLP-only distribution
([#&#8203;663](https://redirect.github.com/open-telemetry/opentelemetry-collector-releases/issues/663))

</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 these
updates again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib).

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Eromosele-SM pushed a commit to sematext/opentelemetry-collector-contrib that referenced this issue Oct 9, 2024
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
|
[otel/opentelemetry-collector](https://redirect.github.com/open-telemetry/opentelemetry-collector-releases)
| minor | `0.110.0` -> `0.111.0` |
|
[otel/opentelemetry-collector-contrib](https://redirect.github.com/open-telemetry/opentelemetry-collector-releases)
| minor | `0.110.0` -> `0.111.0` |

---

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

---

### Release Notes

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

###
[`v0.111.0`](https://redirect.github.com/open-telemetry/opentelemetry-collector-releases/releases/tag/v0.111.0)

[Compare
Source](https://redirect.github.com/open-telemetry/opentelemetry-collector-releases/compare/v0.110.0...v0.111.0)

**Starting on this release, the `logging` exporter is no longer
available on the core and contrib distros. See
[open-telemetry/opentelemetry-collector#11337](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/11337)
for instructions on how to migrate to the `debug` exporter.**

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

#### Changelog

-
[`38a2931`](https://redirect.github.com/open-telemetry/opentelemetry-collector-releases/commit/38a293181ae5931a176122217942430fc100cdee)
Prepare for v0.111.0 release
([#&open-telemetry#8203;688](https://redirect.github.com/open-telemetry/opentelemetry-collector-releases/issues/688))
-
[`edc8e94`](https://redirect.github.com/open-telemetry/opentelemetry-collector-releases/commit/edc8e9443074c736551ad82e6c35814a336d1d71)
\[chore] refactor(contrib): remove unused replace directive for
`go-connections` package
([#&open-telemetry#8203;677](https://redirect.github.com/open-telemetry/opentelemetry-collector-releases/issues/677))
-
[`545bd7c`](https://redirect.github.com/open-telemetry/opentelemetry-collector-releases/commit/545bd7c1dd76f950f0f3dfcc04218732afdbdb5e)
Remove the deprecated logging exporter
([#&open-telemetry#8203;682](https://redirect.github.com/open-telemetry/opentelemetry-collector-releases/issues/682))
-
[`f754260`](https://redirect.github.com/open-telemetry/opentelemetry-collector-releases/commit/f7542605648b630d502a4c4c3a69433ce1346cf8)
Bump actions/checkout from 4.1.7 to 4.2.0
([#&open-telemetry#8203;680](https://redirect.github.com/open-telemetry/opentelemetry-collector-releases/issues/680))
-
[`24c11af`](https://redirect.github.com/open-telemetry/opentelemetry-collector-releases/commit/24c11af290c7dca9c370630c493938f812a2a53a)
add appropriate version tag in cmd/builder goreleaser config
([#&open-telemetry#8203;665](https://redirect.github.com/open-telemetry/opentelemetry-collector-releases/issues/665))
-
[`1e1b2fa`](https://redirect.github.com/open-telemetry/opentelemetry-collector-releases/commit/1e1b2fac8fe5ea7b39d76177843e6cbca74a1de0)
\[chore] refactor(contrib): remove unused replace directive for
`gnostic` package
([#&open-telemetry#8203;675](https://redirect.github.com/open-telemetry/opentelemetry-collector-releases/issues/675))
-
[`4800eb6`](https://redirect.github.com/open-telemetry/opentelemetry-collector-releases/commit/4800eb6f3a97d794abb60871c209a4a20be44a52)
Add minimal OTLP-only distribution
([#&open-telemetry#8203;663](https://redirect.github.com/open-telemetry/opentelemetry-collector-releases/issues/663))

</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 these
updates again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib).

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@mx-psi
Copy link
Member Author

mx-psi commented Oct 17, 2024

I am going to close this since it's been roughly two weeks since I opened it. Please do comment if you find any issue doing the upgrade, even if this issue is closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
exporter/debug Issues related to the Debug exporter exporter/logging Logging exporter related issues
Projects
None yet
Development

No branches or pull requests

1 participant