Skip to content

v0.3.1

Compare
Choose a tag to compare
@a-feld a-feld released this 02 Jun 21:30

Deprecations

  • Metric.from_value will be removed, replaced with metric constructor
  • In a future release, 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

New Features

Clients now have a Client.close interface to force close the connection.

All clients support explicitly closing the persistent TCP connection to New Relic via the Client.close method.

Bug Fixes

Harvester crashes when used with EventClient (#23)

When using the harvester with an event client, the harvester crashed when attempting to flush the data. This issue has now been fixed.