Skip to content

telegraf does not build against https://github.com/open-telemetry/opentelemetry-proto-go since version 1.3 #17352

@echlebek

Description

@echlebek

Relevant telegraf.conf

N/A

Logs from Telegraf

N/A

System info

v1.35.2

Docker

No response

Steps to reproduce

  1. go get go.opentelemetry.io/proto/otlp@v1.4.0
  2. go build ./...

Expected behavior

Build succeeds.

Actual behavior

Build fails.

Additional info

Unfortunately the otlp module has broken, as described in this issue: open-telemetry/opentelemetry-proto-go#356

telegraf will need to move to depending on the v1development package in the otlp module, instead of using the v1experimental package.

While the library will continue to work with the older tag, telegraf can no longer be included in builds that have dependencies that use newer tags of the otlp module.

Arguably, this is not telegraf's problem to solve, from a strict semver perspective. However, unless the otlp module resolves this, future tags of otlp will continue to not be compatible with telegraf.

Metadata

Metadata

Assignees

Labels

area/telemetryAll about OpenTelemetry and other telemetry variantsbugunexpected problem or unintended behavior

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions