Skip to content

Commit 90658d5

Browse files
authored
Drop use of console-stamp (elastic#83922)
1 parent b321e01 commit 90658d5

6 files changed

Lines changed: 1 addition & 45 deletions

File tree

package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,6 @@
419419
"@types/cmd-shim": "^2.0.0",
420420
"@types/color": "^3.0.0",
421421
"@types/compression-webpack-plugin": "^2.0.2",
422-
"@types/console-stamp": "^0.2.32",
423422
"@types/cypress-cucumber-preprocessor": "^1.14.1",
424423
"@types/cytoscape": "^3.14.0",
425424
"@types/d3": "^3.5.43",
@@ -602,7 +601,6 @@
602601
"clean-webpack-plugin": "^3.0.0",
603602
"cmd-shim": "^2.1.0",
604603
"compare-versions": "3.5.1",
605-
"console-stamp": "^0.2.9",
606604
"constate": "^1.3.2",
607605
"copy-to-clipboard": "^3.0.8",
608606
"copy-webpack-plugin": "^6.0.2",

x-pack/plugins/apm/scripts/aggregate-latency-metrics/index.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ import {
2323
TRANSACTION_RESULT,
2424
PROCESSOR_EVENT,
2525
} from '../../common/elasticsearch_fieldnames';
26-
import { stampLogger } from '../shared/stamp-logger';
2726
import { createOrUpdateIndex } from '../shared/create-or-update-index';
2827
import { parseIndexUrl } from '../shared/parse_index_url';
2928
import { ESClient, getEsClient } from '../shared/get_es_client';
@@ -49,8 +48,6 @@ import { ESClient, getEsClient } from '../shared/get_es_client';
4948
// default ones.
5049
// - exclude: comma-separated list of fields that should be not be aggregated on.
5150

52-
stampLogger();
53-
5451
export async function aggregateLatencyMetrics() {
5552
const interval = parseInt(String(argv.interval), 10) || 1;
5653
const concurrency = parseInt(String(argv.concurrency), 10) || 3;

x-pack/plugins/apm/scripts/create-functional-tests-archive/index.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,8 @@ import { execSync } from 'child_process';
99
import moment from 'moment';
1010
import path from 'path';
1111
import fs from 'fs';
12-
import { stampLogger } from '../shared/stamp-logger';
1312

1413
async function run() {
15-
stampLogger();
16-
1714
const archiveName = 'apm_8.0.0';
1815

1916
// include important APM data and ML data

x-pack/plugins/apm/scripts/shared/stamp-logger.ts

Lines changed: 0 additions & 11 deletions
This file was deleted.

x-pack/plugins/apm/scripts/upload-telemetry-data/index.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ import { merge, chunk, flatten, omit } from 'lodash';
1515
import { Client } from '@elastic/elasticsearch';
1616
import { argv } from 'yargs';
1717
import { Logger } from 'kibana/server';
18-
import { stampLogger } from '../shared/stamp-logger';
1918
// eslint-disable-next-line @kbn/eslint/no-restricted-paths
2019
import { CollectTelemetryParams } from '../../server/lib/apm_telemetry/collect_data_telemetry';
2120
import { downloadTelemetryTemplate } from '../shared/download-telemetry-template';
@@ -25,8 +24,6 @@ import { readKibanaConfig } from '../shared/read-kibana-config';
2524
import { getHttpAuth } from '../shared/get-http-auth';
2625
import { createOrUpdateIndex } from '../shared/create-or-update-index';
2726

28-
stampLogger();
29-
3027
async function uploadData() {
3128
const githubToken = process.env.GITHUB_TOKEN;
3229

yarn.lock

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -4485,11 +4485,6 @@
44854485
dependencies:
44864486
"@types/webpack" "*"
44874487

4488-
"@types/console-stamp@^0.2.32":
4489-
version "0.2.32"
4490-
resolved "https://registry.yarnpkg.com/@types/console-stamp/-/console-stamp-0.2.32.tgz#9cb9dce41b6203a28486365300a8a1cf99e5801f"
4491-
integrity sha512-Ih8HUSWSNtmHf5DgLv+BZGKaNGZKOaFjkxb/nHOBfc2wLrWY5wFQq6rjLu+LxCD/Mc+8GoKhby364Bu0Be25tQ==
4492-
44934488
"@types/cookiejar@*":
44944489
version "2.1.0"
44954490
resolved "https://registry.yarnpkg.com/@types/cookiejar/-/cookiejar-2.1.0.tgz#4b7daf2c51696cfc70b942c11690528229d1a1ce"
@@ -10034,15 +10029,6 @@ console-log-level@^1.4.1:
1003410029
resolved "https://registry.yarnpkg.com/console-log-level/-/console-log-level-1.4.1.tgz#9c5a6bb9ef1ef65b05aba83028b0ff894cdf630a"
1003510030
integrity sha512-VZzbIORbP+PPcN/gg3DXClTLPLg5Slwd5fL2MIc+o1qZ4BXBvWyc6QxPk6T/Mkr6IVjRpoAGf32XxP3ZWMVRcQ==
1003610031

10037-
console-stamp@^0.2.9:
10038-
version "0.2.9"
10039-
resolved "https://registry.yarnpkg.com/console-stamp/-/console-stamp-0.2.9.tgz#9c0cd206d1fd60dec4e263ddeebde2469209c99f"
10040-
integrity sha512-jtgd1Fx3Im+pWN54mF269ptunkzF5Lpct2LBTbtyNoK2A4XjcxLM+TQW+e+XE/bLwLQNGRqPqlxm9JMixFntRA==
10041-
dependencies:
10042-
chalk "^1.1.1"
10043-
dateformat "^1.0.11"
10044-
merge "^1.2.0"
10045-
1004610032
constant-case@^2.0.0:
1004710033
version "2.0.0"
1004810034
resolved "https://registry.yarnpkg.com/constant-case/-/constant-case-2.0.0.tgz#4175764d389d3fa9c8ecd29186ed6005243b6a46"
@@ -11101,14 +11087,6 @@ date-now@^0.1.4:
1110111087
resolved "https://registry.yarnpkg.com/date-now/-/date-now-0.1.4.tgz#eaf439fd4d4848ad74e5cc7dbef200672b9e345b"
1110211088
integrity sha1-6vQ5/U1ISK105cx9vvIAZyueNFs=
1110311089

11104-
dateformat@^1.0.11:
11105-
version "1.0.12"
11106-
resolved "https://registry.yarnpkg.com/dateformat/-/dateformat-1.0.12.tgz#9f124b67594c937ff706932e4a642cca8dbbfee9"
11107-
integrity sha1-nxJLZ1lMk3/3BpMuSmQsyo27/uk=
11108-
dependencies:
11109-
get-stdin "^4.0.1"
11110-
meow "^3.3.0"
11111-
1111211090
dateformat@^3.0.2, dateformat@~3.0.3:
1111311091
version "3.0.3"
1111411092
resolved "https://registry.yarnpkg.com/dateformat/-/dateformat-3.0.3.tgz#a6e37499a4d9a9cf85ef5872044d62901c9889ae"
@@ -19760,7 +19738,7 @@ memory-fs@^0.5.0:
1976019738
errno "^0.1.3"
1976119739
readable-stream "^2.0.1"
1976219740

19763-
meow@^3.3.0, meow@^3.7.0:
19741+
meow@^3.7.0:
1976419742
version "3.7.0"
1976519743
resolved "https://registry.yarnpkg.com/meow/-/meow-3.7.0.tgz#72cb668b425228290abbfa856892587308a801fb"
1976619744
integrity sha1-cstmi0JSKCkKu/qFaJJYcwioAfs=

0 commit comments

Comments
 (0)