File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,13 +13,13 @@ const {
1313const os = require ( 'os' ) ;
1414const { v4 : uuidv4 } = require ( 'uuid' ) ;
1515
16- const workflowIDCount = process . env ( ' WORKFLOW_ID_COUNT' ) ;
17- const customerIDCount = process . env ( ' CUSTOMER_ID_COUNT' ) ;
18- const otlpEndpoint = process . env ( ' OTLP_ENDPOINT' ) ;
19- const serviceName = process . env ( ' SERVICE_NAME' ) ;
20- const otelMetricExporterFrequency = process . env ( ' OTLP_METRIC_EXPORTER_FREQUENCY' ) ;
21- const otelMeterName = process . env ( ' OTLP_METER_NAME' ) ;
22- const environment = process . env ( ' ENVIRONMENT' ) ;
16+ const workflowIDCount = parseInt ( process . env . WORKFLOW_ID_COUNT ) ;
17+ const customerIDCount = parseInt ( process . env . CUSTOMER_ID_COUNT ) ;
18+ const otlpEndpoint = process . env . OTLP_ENDPOINT ;
19+ const serviceName = process . env . SERVICE_NAME ;
20+ const otelMetricExporterFrequency = parseInt ( process . env . OTLP_METRIC_EXPORTER_FREQUENCY ) ;
21+ const otelMeterName = process . env . OTLP_METER_NAME ;
22+ const environment = process . env . ENVIRONMENT ;
2323
2424// Global variables
2525// Toggle this number below to explode cardinality.
You can’t perform that action at this time.
0 commit comments