Skip to content

Commit

Permalink
Fix process import
Browse files Browse the repository at this point in the history
  • Loading branch information
paustint committed Feb 11, 2024
1 parent 3e51b57 commit 80644cb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions libs/api-config/src/lib/api-telemetry.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
/* eslint-disable @typescript-eslint/no-non-null-assertion */
import { credentials, Metadata } from '@grpc/grpc-js';
import { UserProfileServer } from '@jetstream/types';
import telemetryApi from '@opentelemetry/api';
import { getNodeAutoInstrumentations } from '@opentelemetry/auto-instrumentations-node';
import { OTLPTraceExporter } from '@opentelemetry/exporter-trace-otlp-grpc';
import { Resource } from '@opentelemetry/resources';
import { NodeSDK } from '@opentelemetry/sdk-node';
import { SemanticResourceAttributes } from '@opentelemetry/semantic-conventions';
import * as process from 'process';
import { logger } from './api-logger';
import { ENV } from './env-config';
import telemetryApi from '@opentelemetry/api';
import { UserProfileServer } from '@jetstream/types';

// Metadata is passed into to the tracer to provide both the dataset name and the API key required for Honeycomb.
//
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"start:cron:inactive-account-warning": "node dist/apps/cron-tasks/inactive-account-warning.js",
"start:cron:inactive-account-deletion": "node dist/apps/cron-tasks/inactive-account-deletion.js",
"start:cron:save-analytics-summary": "node dist/apps/cron-tasks/save-analytics-summary.js",
"build": "cross-env NODE_ENV=production npm-run-all db:generate build:core build:landing",
"build": "cross-env NODE_ENV=production npm-run-all generate:version db:generate build:core build:landing",
"build:pre-deploy": "cross-env NODE_ENV=production npm-run-all --parallel rollbar:upload-sourcemaps db:migrate",
"build:core": "NODE_OPTIONS=--max_old_space_size=8192 nx run-many --target=build --parallel=3 --projects=jetstream,api,download-zip-sw --configuration=production",
"build:affected": "nx affected --target=build --parallel=3 --configuration=production",
Expand Down

0 comments on commit 80644cb

Please sign in to comment.