diff --git a/lambdas/src/MetricsServer.ts b/lambdas/src/MetricsServer.ts index fad20313e..29f971b7d 100644 --- a/lambdas/src/MetricsServer.ts +++ b/lambdas/src/MetricsServer.ts @@ -1,5 +1,5 @@ import { IMetricsComponent } from '@well-known-components/interfaces' -import { HttpMetrics } from '@well-known-components/metrics/dist/http' +import { HttpMetrics } from '@well-known-components/http-server' import express from 'express' import { collectDefaultMetrics, Registry } from 'prom-client' diff --git a/lambdas/src/metrics.ts b/lambdas/src/metrics.ts index c9600c874..23b18177a 100644 --- a/lambdas/src/metrics.ts +++ b/lambdas/src/metrics.ts @@ -1,5 +1,5 @@ import { createTestMetricsComponent, validateMetricsDeclaration } from '@well-known-components/metrics' -import { getDefaultHttpMetrics } from '@well-known-components/metrics/dist/http' +import { getDefaultHttpMetrics } from '@well-known-components/http-server' import { metricDeclarations as theGraphMetrics } from '@well-known-components/thegraph-component' export const metrics = validateMetricsDeclaration({