diff options
author | Chocobozzz <me@florianbigard.com> | 2022-09-09 11:11:47 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-09-09 11:11:52 +0200 |
commit | 3d2e4f037125deb4711616ef6f9fa463b432ff3d (patch) | |
tree | 559643a17c7f931590a2fea60d07bf69860cd1e1 /server/lib/opentelemetry/metric-helpers/nodejs-observers-builder.ts | |
parent | e4fc3697acb27c4192cbbb63eb94272a6cf7ce32 (diff) | |
download | PeerTube-3d2e4f037125deb4711616ef6f9fa463b432ff3d.tar.gz PeerTube-3d2e4f037125deb4711616ef6f9fa463b432ff3d.tar.zst PeerTube-3d2e4f037125deb4711616ef6f9fa463b432ff3d.zip |
Update server dependencies
Diffstat (limited to 'server/lib/opentelemetry/metric-helpers/nodejs-observers-builder.ts')
-rw-r--r-- | server/lib/opentelemetry/metric-helpers/nodejs-observers-builder.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/lib/opentelemetry/metric-helpers/nodejs-observers-builder.ts b/server/lib/opentelemetry/metric-helpers/nodejs-observers-builder.ts index 473015e91..781722108 100644 --- a/server/lib/opentelemetry/metric-helpers/nodejs-observers-builder.ts +++ b/server/lib/opentelemetry/metric-helpers/nodejs-observers-builder.ts | |||
@@ -2,8 +2,8 @@ import { readdir } from 'fs-extra' | |||
2 | import { constants, PerformanceObserver } from 'perf_hooks' | 2 | import { constants, PerformanceObserver } from 'perf_hooks' |
3 | import * as process from 'process' | 3 | import * as process from 'process' |
4 | import { Meter, ObservableResult } from '@opentelemetry/api-metrics' | 4 | import { Meter, ObservableResult } from '@opentelemetry/api-metrics' |
5 | import { ExplicitBucketHistogramAggregation } from '@opentelemetry/sdk-metrics-base' | 5 | import { ExplicitBucketHistogramAggregation } from '@opentelemetry/sdk-metrics' |
6 | import { View } from '@opentelemetry/sdk-metrics-base/build/src/view/View' | 6 | import { View } from '@opentelemetry/sdk-metrics/build/src/view/View' |
7 | import { logger } from '@server/helpers/logger' | 7 | import { logger } from '@server/helpers/logger' |
8 | 8 | ||
9 | // Thanks to https://github.com/siimon/prom-client | 9 | // Thanks to https://github.com/siimon/prom-client |