Skip to content

Releases: seek-oss/datadog-custom-metrics

v8.0.0

10 Mar 11:29
a441ae3

Choose a tag to compare

Major Changes

  • Migrate createLambdaExtensionClient and LambdaExtensionMetricsClient to the new lambda entry point. (#369)

    - import { createLambdaExtensionClient, type LambdaExtensionMetricsClient } from 'seek-datadog-custom-metrics';
    + import { createLambdaExtensionClient, type LambdaExtensionMetricsClient } from 'seek-datadog-custom-metrics/lambda';

    This should resolve the following runtime issue for Lambda functions when esbuild is used:

     "TypeError [ERR_INVALID_ARG_VALUE]: The argument 'filename' must be a file URL object, file URL string, or absolute path string. Received undefined",
            "    at createRequire (node:internal/modules/cjs/loader:1967:11)",
            "    at Object.<anonymous> (/node_modules/.pnpm/seek-datadog-custom-metrics@7.0.0_datadog-lambda-js@12.132.0_hot-shots@13.1.0/node_modules/seek-datadog-custom-metrics/lib/_virtual/_rolldown/runtime.mjs:4:33)",

    Your component must install the datadog-lambda-js peer dependency to use this entry point.

v7.0.0

05 Mar 04:31
8352193

Choose a tag to compare

Major Changes

  • Require Node.js 22.14.0 (#366)

Patch Changes

  • Extend hot-shots peer dependency range to include, 12.x, 13.x and 14.x (#364)

v6.0.3

30 Sep 04:41
a898d90

Choose a tag to compare

Patch Changes

  • Replace placeholder version with proper semantic version (#334)

v6.0.2

11 Aug 01:31
76ed9eb

Choose a tag to compare

6.0.2 (2025-08-11)

Allow datadog-lambda-js 12.x peer (#316) (76ed9eb)

v6.0.1

11 Aug 01:29
03fade3

Choose a tag to compare

6.0.1 (2025-08-11)

Allow hot-shots 11.x peer (#317) (03fade3)

v6.0.0

11 Aug 01:00
28f2640

Choose a tag to compare

6.0.0 (2025-08-11)

createStatsDClient: Support both environment + DD_ENV (#315) (28f2640)

Previously, createStatsDClient would override the environment config with the DD_ENV environment variable where available. Now, it will append the two values and tag metrics with both env:{environment},env:{DD_ENV}. This behaviour should be less surprising if/when you decide to propagate DD_ENV to your workload container.

DD_SERVICE and DD_VERSION environment variables no longer apply tags to metrics. This underlying hot-shots feature was never documented by seek-datadog-custom-metrics and should be unnecessary for typical SEEK usage. Gantry services do not need these to be specified on the client, as the Datadog agent sidecar already sets unified service tags outside of the workload container.

v5.0.0

23 Jul 01:52
e59a99f

Choose a tag to compare

5.0.0 (2025-07-23)

  • Remove global version tag and CloudWatch client (#310) (e59a99f)

BREAKING CHANGES

The following clients have breaking changes:

  • CloudWatch client has been removed. It was deprecated in v4.2.0 (March 2023) and there is very limited usage remaining at SEEK. Migrate to the Lambda Extension client.

  • StatsD client no longer attaches the global version tag to custom metrics, and env is now optional. These tags are automatically applied via telemetry agents in SEEK's typical container workload hosting environments.

    Environment env version
    Automat Automat environment name (development | production) {deployment}-{version}, e.g. myDeploymentName-abcdefa.123
    Gantry Gantry environment name VERSION environment variable, e.g. abcdefa.123

    Some Gantry services may have a Gantry environment name like prod-1 and then supply a different value like createStatsDClient({ environment: 'production' }) in code. This behaviour has been retained. It results in metrics that are tagged with both env:prod-1 and env:production, and may be useful for forward compatibility with Automat's development | production.

v4.6.5

14 Mar 06:38
b33164e

Choose a tag to compare

4.6.5 (2025-03-14)

Bug Fixes

  • datadog-lambda-js 6.x || 7.x || 8.x || 9.x || 10.x (#307) (b33164e)

v4.6.4

10 Sep 13:05
2c3b462

Choose a tag to compare

4.6.4 (2024-09-10)

Bug Fixes

  • datadog-lambda-js 6.x || 7.x || 8.x || 9.x (#294) (2c3b462)

v4.6.3

19 May 23:44
c23cf73

Choose a tag to compare

4.6.3 (2024-05-19)

Bug Fixes

  • types: Allow null metricsServer and version (#286) (c23cf73)