Newrelic-telemetry-sdk

Latest version: v0.5.1

Safety actively analyzes 621876 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

0.5.1

* Added classifiers for Python 3.12 support.

0.5.0

New Features

Python 3.11 Support

Support for Python 3.11 has been added.

Changes

Previous references to the deprecated New Relic Insights Insert Keys have been replaced, going forward New Relic License Keys can be used in their place. References to keyword arguments that previously were named `insert_key` are now named `license_key`.

Deprecations

Python 3.6 support has been removed.

0.4.3

New Features

Python 3.10 Support

Support for Python 3.10 has been added.

Optional Timeout Parameter

An optional timeout parameter has been added to all client's `send` and `send_batch` methods. Thank you to [julcsii](https://github.com/julcsii) for the contribution!

0.4.2

New Features

New Relic Logs

The telemetry SDK now includes the New Relic log formatter, which formats log messages that can later be forwarded with the New Relic infrastructure agent, or other log forwarders.
In addition, support has been added so that log structures can be sent directly to New Relic via the Log HTTP API.

Python 3.9 support

Support for Python 3.9 has been added.

0.4.1

Minor Updates

Add `x-request-id` header to outbound payloads (32)

A new header named `x-request-id`, which is a UUID4 value, has been added to all outbound payloads. This header may be used in the future by ingest services as described in the [telemetry sdk specs repository](https://github.com/newrelic/newrelic-telemetry-sdk-specs/pull/17).

0.4.0

Backwards Incompatible Changes

* `Metric.from_value` is removed, replaced with metric constructor
* `CountMetric` / `SummaryMetric` `interval_ms` must be specified
* `Harvester.record` is removed and replaced with `Harvester.batch.record` (or simply `Batch.record`)
* `MetricBatch.record` method is removed, replaced with `MetricBatch.record_gauge`, `MetricBatch.record_count`, `MetricBatch.record_summary`
* `MetricBatch.create_identity` interface has been changed to accept name(str), tags (dict), and metric type (str)

New Features

Add HTTP proxy support for all clients (30)

The telemetry SDK now supports HTTP proxies specified via environment variable and for MacOS/Windows via the operating system registry.

Bug Fixes

Harvesters now close the client on stop.

When using the harvester, the client was not closed when the harvester was stopped via the `Harvester.stop` interface. Clients are now closed when the harvester is stopped.

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.