Skip to content

Releases: cap-js/telemetry

v1.6.0

16 Dec 10:57
c864ef8

Choose a tag to compare

Added

  • Provide custom resource attributes via cds.requires.telemetry.resource.attributes
  • Added new queue statistic queue.processing_failed that tracks the number of failed attempts at processing tasks per instance, per tenant, per service
  • Support for optimized queue runner (in @sap/cds^9.6)
  • Support for @cap-js/hana's built-in pool

Changed

  • W3CBaggagePropagator added to the list of default propagators (cds.requires.telemetry.tracing.propagators)

Fixed

  • Resolving of OTEL_LOG_LEVEL
  • Skip registration of queue metrics collection for unknown service
  • queue.med_storage_time_in_seconds is now correctly calculated per service and ignoring cold entries
  • queue.min_storage_time_in_seconds and queue.max_storage_time_in_seconds are no longer switched up
  • Trace propagation in production by ensuring https gets wrapped

v1.5.4

27 Oct 14:43
db2aadb

Choose a tag to compare

Fixed

  • Handle pre-initialized LoggerProvider

v1.5.3

01 Sep 11:04
bb21c59

Choose a tag to compare

Fixed

  • Skip persistent queue metrics setup if no database is connected

v1.5.2

18 Aug 13:51
d958804

Choose a tag to compare

Fixed

  • SAP Passport propagation with cds.requires.telemetry.tracing._hana_prom = true

v1.5.1

11 Aug 08:48
c3ded06

Choose a tag to compare

Fixed

  • Ensure initialization of persistent queue statistics

v1.5.0

16 Jul 14:43
f7f1ffb

Choose a tag to compare

Added

  • Adopt stable semantic conventions
  • Observation of Persistent Queue metrics (beta)
    • Disable via config cds.requires.telemetry.metrics._queue = false

v1.4.1

27 Jun 13:15
e2d6dfa

Choose a tag to compare

Fixed

  • Missing SQL-related attributes with cds.requires.telemetry.tracing._hana_prom = true

v1.4.0

05 Jun 11:31
1149306

Choose a tag to compare

Added

  • Support for @sap/cds^9

Fixed

  • Remove stack from log message, if present

v1.3.1

30 Apr 11:25
8152231

Choose a tag to compare

Fixed

  • Version check in TypeScript projects

v1.3.0

25 Apr 10:12
ecd32e9

Choose a tag to compare

Added

  • Skip instrumentation of HANA driver, if it does it itself
  • telemetry-to-otlp: Automatically switch to gRPC (from default http/protobuf) when exporting to an endpoint with port 4317
  • Version check for @opentelemetry dependencies (OpenTelemetry SDK 2.0 is not yet supported)

Changed

  • By default, @cap-js/hana's promisification of the driver API is wrapped
    • Disable via config cds.requires.telemetry.tracing._hana_prom = false

Fixed

  • NonRecordingSpans do not have attributes

Removed

  • Inofficial instrumentation of legacy OData server