[9.0](backport #7456) Support replace directives in otel readme mage command#7612
[9.0](backport #7456) Support replace directives in otel readme mage command#7612ycombinator merged 3 commits into9.0from
Conversation
|
Cherry-pick of 9071254 has failed: To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally |
|
Pinging @elastic/elastic-agent-control-plane (Team:Elastic-Agent-Control-Plane) |
|
This pull request has not been merged yet. Could you please review and merge it @swiatekm? 🙏 |
|
This pull request is now in conflicts. Could you fix it? 🙏 |
* Support pseudo-versions in otel readme mage command * Move otel dependency handling to a separate package (cherry picked from commit 9071254)
42daa72 to
889a759
Compare
|
@swiatekm CI was failing because it wanted |
|
💛 Build succeeded, but was flaky
Failed CI StepsHistory
cc @swiatekm |
|
This pull request has not been merged yet. Could you please review and merge it @swiatekm? 🙏 |
|
This pull request has not been merged yet. Could you please review and merge it @swiatekm? 🙏 |





What does this PR do?
Makes the
otel:readmemage command support replace directives. It now also supports pseudo-versions that Go uses for commit hashes in go.mod.The implementation now actually parses the go.mod file using x/mod.
Why is it important?
In order to resolve a dependency conflict between beats and otel 0.120.x, we're going to use our own fork of prometheusreceiver. See #7443 for this change made in the 8.18 branch.
Checklist
This is an automatic backport of pull request #7456 done by [Mergify](https://mergify.com).