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

Updates for otel module #23

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Conversation

thresheek
Copy link
Member

@thresheek thresheek commented Dec 17, 2024

Major changes include:

  • don't search for re2 when building gprc
    - grpc & dependencies updated to latest versions
  • updated opentelemetry-cpp and proto to latest versions
  • nginx-otel module updated to current git
  • on Alpine, build otel with system-provided dependencies

@thresheek thresheek requested a review from oxpa December 17, 2024 22:49
docs/nginx-module-otel.xml Outdated Show resolved Hide resolved
@thresheek
Copy link
Member Author

I think I'll rework this PR to postpone bumping grpc (and maybe some other dependencies), since they seem to inflate the binary size.

It's not really needed since d70ec9f, and failure to detect it breaks
build on Alpine 3.21.
This is not something that currently matters, but future versions of
protobuf require abseil as a build dependency.
@thresheek
Copy link
Member Author

Yeah, it looks like bumping abseil-cpp leads to bumping protobuf leads to bumping grpc; so all of those will need to be postponed If we would want the updates. We dont need them since they don't seem to fix any logic or security issues, so we're safe there.

@thresheek
Copy link
Member Author

thresheek commented Jan 3, 2025

Hmm, it seems abseil-cpp is too old on Alpine Linux 3.18 which we still need to support. Investigating...

Disregard, seems like we need some more build dependencies preinstalled on our build farm

Notable exception is Alpine 3.18, which is due to EOL in May 2025, which
ships a too old protobuf.
@thresheek
Copy link
Member Author

Yeah, turns out protobuf is too old on Alpine 3.18, so I added a hacky way to detect it in the APKBUILD.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants