C SDK compatibility and requirements

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.

Language versions

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.

Operating environments

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
  • libprce 8.20 or higher
  • libpthread
  • cmake 2.8 or higher

Compiling the New Relic daemon requires Go 1.4 or higher.

License key

For any installation, you will need your New Relic license key. This is a 40-character hexadecimal string that New Relic provides when you sign up for your account.

Processor type

  • Intel (and compatible) platforms only
  • Support for SSE2 instructions is required

Security requirements

As a standard security measure for data collection, your app server must support SHA-2 (256-bit). SHA-1 is not supported.

Database and instance-level performance

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:

  • Firebird
  • Informix
  • MSSQL
  • MySQL
  • Oracle
  • Postgres
  • SQLite
  • Sybase

For more help

Recommendations for learning more: