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

Commit

Permalink
Remove trace of Datadog (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
odynvolk authored Jan 31, 2024
1 parent eef3338 commit 8859187
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 36 deletions.
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

0 comments on commit 8859187

Please sign in to comment.