diff --git a/dist/index.js b/dist/index.js index 38d1b03..5167c29 100644 --- a/dist/index.js +++ b/dist/index.js @@ -98142,8 +98142,10 @@ var NixInstallerAction = class extends DetSysAction { // eslint-disable-line camelcase debug_probe_urls_status_code: resp.statusCode, // eslint-disable-line camelcase - debug_probe_urls_body: resp.body + debug_probe_urls_body: resp.body, // eslint-disable-line camelcase + // eslint-disable-next-line camelcase + debug_probe_urls_elapsed: (resp.timings.end || 0) - resp.timings.start }); } catch (e) { this.recordEvent("debug-probe-urls:exception", { diff --git a/src/index.ts b/src/index.ts index 62b094b..376d22e 100644 --- a/src/index.ts +++ b/src/index.ts @@ -169,6 +169,9 @@ class NixInstallerAction extends DetSysAction { debug_probe_urls_ok: resp.ok, // eslint-disable-line camelcase debug_probe_urls_status_code: resp.statusCode, // eslint-disable-line camelcase debug_probe_urls_body: resp.body, // eslint-disable-line camelcase + // eslint-disable-next-line camelcase + debug_probe_urls_elapsed: + (resp.timings.end || 0) - resp.timings.start, }); } catch (e: unknown) { this.recordEvent("debug-probe-urls:exception", {