在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:newrelic/go-agent开源软件地址:https://github.com/newrelic/go-agent开源编程语言:Go 99.2%开源软件介绍:New Relic Go AgentThe New Relic Go Agent allows you to monitor your Go applications with New Relic. It helps you track transactions, outbound requests, database calls, and other parts of your Go application's behavior and provides a running overview of garbage collection, goroutine activity, and memory use. Go is a compiled language, and doesn’t use a virtual machine. This means that setting up New Relic for your Golang app requires you to use our Go agent API and manually add New Relic methods to your source code. Our API provides exceptional flexibility and control over what gets instrumented. InstallationCompatibility and RequirementsFor the latest version of the agent, Go 1.7+ is required, due to the use of Linux, OS X, and Windows (Vista, Server 2008 and later) are supported. Installing and using the Go agentTo install the agent, follow the instructions in our GETTING_STARTED document or our GUIDE. We recommend instrumenting your Go code to get the maximum benefits from the New Relic Go agent. But we make it easy to get great data in couple of ways:
UpgradingIf you have already been using version 2.X of the agent and are upgrading to version 3.0, see our MIGRATION guide for details. Getting Startedv3/examples/server/main.go is an example that will appear as "Example App" in your New Relic applications list. To run it:
Some endpoints exposed are http://localhost:8000/ and http://localhost:8000/notice_error UsageIntegration PackagesThe following integration packages extend the base newrelic package to support the following frameworks and libraries. Frameworks and databases which don't have an integration package may still be instrumented using the newrelic package primitives. Service Frameworks
DatastoresMore information about instrumenting databases without an integration package using newrelic package primitives can be found here.
Logging
AWS
GraphQL
Misc
These integration packages must be imported along with the newrelic package, as shown in this nrgin example. AlternativesIf you are already using another open source solution to gather telemetry data, you may find it easier to use one of our open source exporters to send this data to New Relic:
SupportShould you need assistance with New Relic products, you are in good hands with several support channels. If the issue has been confirmed as a bug or is a Feature request, please file a Github issue.
PrivacyAt New Relic we take your privacy and the security of your information seriously, and are committed to protecting your information. We must emphasize the importance of not sharing personal data in public forums, and ask all users to scrub logs and diagnostic information for sensitive information, whether personal, proprietary, or otherwise. We define "Personal Data" as any information relating to an identified or identifiable individual, including, for example, your name, phone number, post code or zip code, Device ID, IP address and email address. For more information, review New Relic’s General Data Privacy Notice. ContributeWe encourage your contributions to improve the Go Agent! Keep in mind when you submit your pull request, you'll need to sign the CLA via the click-through using CLA-Assistant. You only have to sign the CLA one time per project. If you have any questions, or to execute our corporate CLA, required if your contribution is on behalf of a company, please drop us an email at [email protected]. A note about vulnerabilities As noted in our security policy, New Relic is committed to the privacy and security of our customers and their data. We believe that providing coordinated disclosure by security researchers and engaging with the security community are important means to achieve our security goals. If you believe you have found a security vulnerability in this project or any of New Relic's products or websites, we welcome and greatly appreciate you reporting it to New Relic through HackerOne. If you would like to contribute to this project, please review these guidelines. To all contributors, we thank you! Without your contribution, this project would not be what it is today. We also host a community project page dedicated to the Go Agent. LicenseThe New Relic Go agent is licensed under the Apache 2.0 License. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论