Download the PHP package leocavalcante/newrelic-telemetry-sdk without Composer
On this page you can find all versions of the php package leocavalcante/newrelic-telemetry-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download leocavalcante/newrelic-telemetry-sdk
More information about leocavalcante/newrelic-telemetry-sdk
Files in leocavalcante/newrelic-telemetry-sdk
Download leocavalcante/newrelic-telemetry-sdk
More information about leocavalcante/newrelic-telemetry-sdk
Files in leocavalcante/newrelic-telemetry-sdk
Vendor leocavalcante
Package newrelic-telemetry-sdk
Short Description Unofficial PHP library for sending telemetry data to New Relic
License Apache-2.0
Package newrelic-telemetry-sdk
Short Description Unofficial PHP library for sending telemetry data to New Relic
License Apache-2.0
Please rate this library. Is it a good library?
Informations about the package newrelic-telemetry-sdk
New Relic Telemetry SDK for PHP
Unofficial PHP library for sending telemetry data to New Relic.
Status | API | Description |
---|---|---|
✅ | Trace API | Used to send distributed tracing data to New Relic (New Relic's format). |
✅ | Metric API | Used to send metric data to New Relic. |
✅ | Event API | Is one way to report custom events to New Relic. |
- | Log API | Not planned. |
- ⚠️ Heavily under development, but open-sourced seeking for contributions.
- It is not an agent wrapper, it calls the New Relic Ingest APIs.
Usage
Example
Sending a Gauge metric.
Companion resources
Tips
- Make sure you are including service.instance.id when reporting your traces and/or metrics.
Why
Main reasons includes:
- Too many segfaults with the regular agent.
-
Even for simple use cases the regular agent doesn't play well with Swoole. This small snippet is enough to throw a segfault:
- There are other SDKs for other languages, this is an unofficial PHP version.
- Could be used to build a New Relic exporter for the upcoming OpenTelemetry PHP library.
All versions of newrelic-telemetry-sdk with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.4
ext-json Version *
ext-curl Version *
ext-zlib Version *
ramsey/uuid Version ^4.1
ext-json Version *
ext-curl Version *
ext-zlib Version *
ramsey/uuid Version ^4.1
The package leocavalcante/newrelic-telemetry-sdk contains the following files
Loading the files please wait ....