We'll want to run OTel Collector both on Puppet-managed servers and as a k8s daemonset.
https://github.com/open-telemetry/opentelemetry-collector-releases/releases
We'll want to run OTel Collector both on Puppet-managed servers and as a k8s daemonset.
https://github.com/open-telemetry/opentelemetry-collector-releases/releases
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
aptrepo: add component thirdparty/otelcol-contrib | operations/puppet | production | +2 -0 |
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Open | None | T340551 distributed tracing epic | |||
Open | None | T320549 distributed tracing v0 [minimum viable] | |||
Resolved | Clement_Goubert | T320551 Package OpenTelemetry Collector as a .deb | |||
Resolved | Clement_Goubert | T320565 OpenTelemetry Collector puppetized and able to be deployed easily to arbitrary roles |
There are three distributions of otelcol to chose from, two "standard" and one custom:
A possible approach to reduce time to release is to build the first versions of otelcol-wmf either:
Thanks Clement!
I think basing on otelcol-contrib is probably the easiest/best thing to do
for v0. Sound good to you?
@MoritzMuehlenhoff What are your thoughts on importing the raw otelcol-contrib_0.62.1_linux_amd64.deb from https://github.com/open-telemetry/opentelemetry-collector-releases/releases into our third-party component in order to have a v0 up quickly, and work on building our own distribution and package of it based on our usage down the road?
I took a quick look at otelcol-contrib_0.62.1_linux_amd64.deb and looks good to me, I think we can import it into bullseye-wikimedia as-is.
There doesn't appear to be an apt repo as @Clement_Goubert mentioned. Lacking that and going forward the next best thing would probably be to see how feasible it is to establish trust between a set of developer gpg keys and the artifacts we're downloading/importing (not a blocker for now).
For reference the commands to issue on apt1001.wikimedia.org are the following:
reprepro includedeb bullseye-wikimedia otelcol-contrib_0.62.1_linux_amd64.deb # if the package needs to be available on buster reprepro copy buster-wikimedia bullseye-wikimedia otelcol-contrib
I'll be importing it to a new thirdparty component, as the future package will probably have a different name than otelcol-contrib. It'll be cleaner that way.
Change 849089 had a related patch set uploaded (by Clément Goubert; author: Clément Goubert):
[operations/puppet@production] aptrepo: add component thirdparty/otelcol-contrib
Change 849089 merged by Clément Goubert:
[operations/puppet@production] aptrepo: add component thirdparty/otelcol-contrib
cgoubert@apt1001:~$ wget -q https://github.com/open-telemetry/opentelemetry-collector-releases/relea ses/download/v0.62.1/otelcol-contrib_0.62.1_linux_amd64.deb;\ wget -q https://github.com/open-telemet ry/opentelemetry-collector-releases/releases/download/v0.62.1/opentelemetry-collector-releases_check sums.txt;\ sha256sum -c opentelemetry-collector-releases_checksums.txt --ignore-missing otelcol-contrib_0.62.1_linux_amd64.deb: OK
Mentioned in SAL (#wikimedia-operations) [2022-10-25T15:30:17Z] <claime> added package otelcol-contrib_0.62.1_linux_amd64.deb to component thirdparty/otelcol-contrib for bullseye-wikimedia and buster-wikimedia - T320551