Убрал лишние проверки. Убрал дефолтные значения env переменных. Скорректировал dockerfile

This commit is contained in:
Первов Артем
2026-06-19 10:30:13 +03:00
parent cbe33500cf
commit 9b53f602ce
10 changed files with 52 additions and 105 deletions

View File

@@ -14,7 +14,6 @@ type MappingConfig = {
export type MetricMapper = {
edge: string
tagCount: number
mapValues: (values: number[], timestamp: number) => MappedMetric[]
}
@@ -34,7 +33,6 @@ export function createMetricMapper(options: MetricMapperOptions): MetricMapper {
return {
edge: config.edge,
tagCount: config.tags.length,
mapValues: (values, timestamp) =>
values.map((value, index) => ({
edge: config.edge,