Skip to content

Releases: logzio/logzio-nodejs

v2.5.0

20 May 13:56
8fc36df

Choose a tag to compare

  • Add null checks for span.resource.attributes in _addOpentelemetryContext().
  • Add try catch block in _addOpentelemetryContext().
  • Add addOtelContex to ILoggerOptions Typescript definition.
  • Added e2e tests

v2.4.0: [Bugfix] incompatible opentelemetry package version (#138)

04 May 09:04
7ca9327

Choose a tag to compare

2.4.0

  • Update dependencies:
    • @opentelemetry/context-async-hooks -> ^2.0.0
    • @opentelemetry/sdk-trace-node -> ^2.0.0
  • Fix service name retrieval in _addOpentelemetryContext
  • Drop support for Node 14

v2.3.0

12 Feb 10:25
21d36b7

Choose a tag to compare

2.3.0

v2.2.0

24 Dec 10:40
aa64f08

Choose a tag to compare

2.2.0

  • Add addOtelContext configuration option:
    • trace_id, span_id, service_name fields to logs when opentelemetry context is available.

v2.1.8

10 Jun 12:20
99883c2

Choose a tag to compare

  • make user-agent header not optional

v2.1.7

18 Jan 08:13
e4725b1

Choose a tag to compare

  • upgrade axios to v1.6.4 (contributed by @gcagle3)

v2.1.6

29 Oct 10:48
a6f5fc0

Choose a tag to compare

  • Test node versions 14-20
  • Upgrade axios to v1.6.0 (contributed by @gcagle3)

Add Source IP

11 Oct 09:08
3fbdefc

Choose a tag to compare

Add Source IP for each log

move from request to axios

26 Jul 07:18
a7151da

Choose a tag to compare

move from request to axios (#97)

  • move from request to axios

  • update moment to 2.29.4

  • create instance of axios

  • update from axiosIn to axiosInstance fix linting

Add flag for user-agent

26 Jun 06:25
ab2a44a

Choose a tag to compare

add option to set/unset user-agent header (#96)

* add option to set/unset user-agent header

* add unit test and fix indentation

* update test for user-agent

* update indentation

* update description of the field

* fix typo

* refactor assign headers

* update version add github action npm-publish

* update version in package-lock.json

* upgrade moment to 2.29.2