Skip to content
This repository was archived by the owner on Oct 23, 2024. It is now read-only.

Remove trace of Datadog #63

Merged
merged 1 commit into from
Jan 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 0 additions & 17 deletions scripts/one-shot.js

This file was deleted.

19 changes: 0 additions & 19 deletions test/feature/logging-feature.js
Original file line number Diff line number Diff line change
Expand Up @@ -365,16 +365,6 @@ Feature("Logging", () => {
prometheusClient.register.resetMetrics();
});

Given("Datadog is ready to receive our requests for logging", () => {
const serviceName = "lu-logger";
const ddSource = "nodejs";
const ddTags = encodeURIComponent("bn-department:bn-data,bn-env:non-prod,bn-env-specific:test,bn-app:lu-logger");
nock("https://http-intake.logs.datadoghq.eu")
.post(`/v1/input/some-api-key?service=${serviceName}&ddsource=${ddSource}&ddtags=${ddTags}`)
.times(25)
.reply(204);
});

When("initializing the logger and doing some string logging", () => {
logger.error(message);

Expand Down Expand Up @@ -431,15 +421,6 @@ Feature("Logging", () => {
prometheusClient.register.resetMetrics();
});

Given("Datadog is ready to receive our requests for logging", () => {
const serviceName = "lu-logger";
const ddSource = "nodejs";
const ddTags = encodeURIComponent("bn-department:bn-data,bn-env:non-prod,bn-env-specific:test,bn-app:lu-logger");
nock("https://http-intake.logs.datadoghq.eu")
.post(`/v1/input/some-api-key?service=${serviceName}&ddsource=${ddSource}&ddtags=${ddTags}`)
.reply(204);
});

When("initializing the logger and doing some string logging", () => {
logger.error(message, { meta: { routingKey } });
});
Expand Down
Loading