newrelic / newrelic-dotnet-agent

The New Relic .NET language agent.
Apache License 2.0
97 stars 63 forks source link

[Urgent][Blocker] Feature require for support YUM/DNF in DotNet Agent Installer, APT-GET is not working #2853

Closed kumail-talverse closed 6 days ago

kumail-talverse commented 6 days ago

Is your feature request related to a problem? Please describe.

I have .NetCore 8 application deployed via AWS Beanstalk on instance with .NET 8 running on 64bit Amazon Linux 2023, I faced two issues

================================================================================ = = = Warning = = = = This installation will automatically restart all systemd services = = that run .NET applications upon completion. = = =

If you are hosting your .NET application differently then check out our other installation options: https://docs.newrelic.com/docs/agents/net-agent/installation/install-net-agent-linux/.

Do you want to install the .NET Agent Y/N (default: Y)?

sudo: apt-get: command not found ! Installing dotnet-agent-installer Failed

New Relic installation complete



### Feature Description

- Upgrade to support OpenSSL `openSSL 3.0.8 7 Feb 2023 (Library: OpenSSL 3.0.8 7 Feb 2023)`
- Add support for `yum or dnf` in installation of `dotnet-agent-installer` ASAP.

### Describe Alternatives
I tried manual steps installing dotnet-agent using `dnf` but tried to configure manually but it seems APM still attached, since connection is not build with newrelic dashboard. 

### Additional context
I am stuck with the AWS and Newrelic. As If I downgrade from Amazon Linux 2023 to Amazon Linux 2, NewRelic is working but Amazon Linux 2 do not have supporter .NetCore 8

### Priority
Blocker
workato-integration[bot] commented 6 days ago

https://new-relic.atlassian.net/browse/NR-332529

tippmar-nr commented 6 days ago

Hi @kumail-talverse - thanks for reporting this issue.

It looks like you're having trouble with the NewRelic cli tool, which is separate from the NewRelic .NET agent. I would direct you to https://github.com/newrelic/newrelic-cli for support on that tool.

However, it is possible to manually install the .NET agent on Amazon Linux 2023 in Elastic Beanstalk without using the NewRelic CLI. We have a basic working example available in our .NET agent examples repository -- the README should guide you through the installation process.

I'm going to close this issue for now, but feel free to re-open it if you need further assistance with the .NET agent.

kumail-talverse commented 3 days ago

@tippmar-nr , yep manually I did, but I have some automation which is break for .net 8 on amazon linux 2023 due above issue. I will create issue on newrelic-cli repo.