All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog.
0.8.1 - 2021-07-29
- Add
ForceIntervalValid
to metric structs to allow for intervals with 0 duration. (#70)
0.8.0 - 2021-07-12
- Require a request context for
RequestFactory.BuildRequest
so that request cancellation can be properly handled. (#66) - Made
buildSplitRequests
internal. ([#68]#68)
- Harvester now parallelizes the requests when a payload is split. ([#68]#68)
- Sanitize API key when logging during harvester creation. (#65)
0.7.1 - 2021-05-07
- Adds support for creating event groups for the request factory
- BuildRequest on Request factories now have new interfaces to reflect the outline of the payload. Helpers for common blocks and groups are provided.
- Buffer allocations are now minimized within the request factory via internal buffer caching and re-use.
- Large payloads were not automatically split when using the harvester. Payloads are now split to reduce payload size when required.
0.6.0 - 2021-03-17
- Adds support for sending log data to New Relic.
- Add
ClientOption
for specifying gzip compression level. Use:WithGzipCompressionLevel
.
0.5.2 - 2021-03-02
- Adds a RequestFactory API that can be used for managing the telemetry data requests if you need more fine-grained control than the Harvester API supports. Only Span data is currently supported by this API.
- Fix performance issue caused by the gzip writer being reallocated for each request - it's now reused between requests.
0.5.1 - 2020-12-16
- Fixed bug that resulted in payload size remaining slightly too large after splitting it into more manageable chunks. (#39)
0.5.0 - 2020-11-19
- Implemented preliminary OpenTelemetry span support. (#31)
0.4.0 - 2020-08-04
- Fixed bug in request retrying that resulted in the a zero length request body and manifested as an error mismatch in body length and Content-Length header. (#17)
0.3.0 - 2020-06-12
- Added
ConfigSpansURLOverride
to facilitate setting the Trace Observer URL for Infinite Tracing on the New Relic Edge. (#15)
0.2.0 - 2019-12-26
- The SDK will now check metrics for infinity and NaN. Metrics with invalid values will be rejected, and will result in an error logged. (#3)
- Added
Config.Product
andConfig.ProductVersion
fields which are used to theUser-Agent
header if set. (#2)
First release!