New Relic's C SDK provides a generic library you can customize to communicate with New Relic. Before you install New Relic's C SDK, make sure your system meets these requirements. Also refer to the C SDK licenses documentation.
Want to try out our C SDK? Create a New Relic account for free! No credit card required.
The C SDK allows you to instrument any application on Linux, provided:
- You must have access to the source code.
- The target language must be able to import C libraries.
You can use the C SDK to create instrumentation for applications written in C and C++. You can also use it in languages like Perl, which are implemented in C or C++, and in any language that has a foreign function interface with C.
The C SDK works in 64-bit Linux operating systems with:
- gcc 4.8 or higher
- glibc 2.17 or higher
- Kernel version 2.6.26 or higher
- libpcre 8.20 or higher
- cmake 2.8 or higher
Compiling the New Relic daemon requires Go 1.7 or higher.
You will need a New Relic license key for the account you want to report data to.
- Intel (and compatible) platforms only
- Support for SSE2 instructions is required
As a standard security measure for data collection, your app server must support SHA-2 (256-bit). SHA-1 is not supported.
You can collect instance details for a variety of databases and database drivers. You can also view slow query trace details for the following SQL-based database platforms:
- Microsoft SQL Server
If you need more help, check out these support and learning resources:
- Browse the Explorers Hub to get help from the community and join in discussions.
- Find answers on our sites and learn how to use our support portal.
- Run New Relic Diagnostics, our troubleshooting tool for Linux, Windows, and macOS.
- Review New Relic's data security and licenses documentation.