question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add special support for latest version to remote attacher

See original GitHub issue

Our AgentDownloader currently constructs maven URL in the form: https://repo1.maven.org/maven2/co/elastic/apm/elastic-apm-agent/<VERSION>, where the VERSION comes from the input arguments. We want to add special handling to get the latest version. Requirements are:

  1. When the requested version is latest - use the following URL for agent downloading: https://oss.sonatype.org/service/local/artifact/maven/redirect?r=releases&g=co.elastic.apm&a=elastic-apm-agent&v=LATEST
  2. In the slim CLI, when the version argument is not provided, default to latest.

Related to our Fleet integration - see https://github.com/elastic/kibana/issues/129866 for more context

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
eyalkorencommented, Jun 2, 2022

Oh, you already did? Nice! Do you have a working branch or draft PR that I can have a look at?

I am just finishing tests, related docs and --help instructions and uploading for review

1reaction
felixbarnycommented, Jun 2, 2022

I just had another idea. We can also call https://oss.sonatype.org/service/local/artifact/maven/redirect?r=releases&g=co.elastic.apm&a=elastic-apm-agent&p=jar.asc&v=LATEST and not follow the redirect but instead check the Location header manually.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Attach to running processes with the Visual Studio debugger
Discover how to attach the Visual Studio debugger to a running process on a local or remote computer.
Read more >
Attach to running Go processes with the debugger - JetBrains
In GoLand, you can attach the debugger to a running Go process on a local machine, on a remote machine, or in the...
Read more >
Installing the AWS Load Balancer Controller add-on
Learn how to install the AWS Load Balancer Controller add-on to your cluster.
Read more >
Attach to a running container - Visual Studio Code
To attach to a Docker container, either select Dev Containers: Attach to Running Container... from the Command Palette (F1) or use the Remote...
Read more >
Cloud attach, remote help, drivers & more - YouTube
Today we take a closer look at the latest updates to Windows management for hybrid work and what you get when you attach...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found