Open hyang023 opened 1 week ago
Thanks for reporting your issue, @hyang023.
@open-telemetry/collector-approvers, could you confirm that the workaround is the right fix?
Yes, otelcol_version
should be set to 0.103.0
. We had a bugfix release of the builder, but we did not release a v0.103.1
release of the rest of core modules. We likely need to update the docs automation to account for this edge case.
Yes,
otelcol_version
should be set to0.103.0
. We had a bugfix release of the builder, but we did not release av0.103.1
release of the rest of core modules. We likely need to update the docs automation to account for this edge case.
@chalin please take a look, this seems to be something where we need to update some scripts
Since this fix is likely related to infrastructure, I removed the good first issue
label.
@svrnm - took a quick look. I don't think that we want any automation to handle this edge case, but rather simply (temporarily) override the version in the file in question. How does that sound @mx-psi et al? Of course we'll need to remember to remover the override if we vote for such a solution.
if we do a temporary fix we need a way to remind us to revert it eventually, but agreed if this is an edge case that will not happen regularly we should not automate it away
Agreed that this is a pretty rare case. If the situation changes the Collector SIG and we somehow decouple builder and Collector releases we can let you know
on documentation page https://opentelemetry.io/docs/collector/custom-collector/ in Step 2, the
builder-config.yaml
manifest file contains a line wheredist. otelcol_version: 0.103.1
which conflicts with the0.103.0
version used throughout the rest of the file this results in errors in the next step (Step 3 - Generating the Code and Building your Collector’s distribution
):workaround used: changing the line to
dist. otelcol_version: 0.103.0
results in a successful build: