Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 20 additions & 17 deletions .github/actions/e2e-setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: |
Shared setup for E2E test workflows: sets the HDX_E2E_* port env vars and
common Playwright env vars, then runs Node.js setup, dependency install,
build, Playwright browser install, and starts the E2E Docker Compose stack
(MongoDB + ClickHouse) with health checks. The caller is responsible for
(DocumentDB + ClickHouse) with health checks. The caller is responsible for
`actions/checkout`, running Playwright, uploading artifacts, and tearing
down the Docker stack.
runs:
Expand All @@ -22,7 +22,7 @@ runs:
echo "HDX_E2E_MONGO_PORT=$MONGO_PORT" >> $GITHUB_ENV
echo "HDX_E2E_APP_LOCAL_PORT=21200" >> $GITHUB_ENV
echo "HDX_E2E_APP_PORT=21300" >> $GITHUB_ENV
echo "MONGO_URI=mongodb://localhost:$MONGO_PORT/hyperdx-e2e" >> $GITHUB_ENV
echo "MONGO_URI=mongodb://hyperdx:hyperdx@localhost:$MONGO_PORT/hyperdx-e2e?tls=true&tlsAllowInvalidCertificates=true&authMechanism=SCRAM-SHA-256" >> $GITHUB_ENV
echo "E2E_FULLSTACK=true" >> $GITHUB_ENV
echo "E2E_UNIQUE_USER=true" >> $GITHUB_ENV
echo "E2E_API_HEALTH_CHECK_MAX_RETRIES=60" >> $GITHUB_ENV
Expand Down Expand Up @@ -66,12 +66,23 @@ runs:
shell: bash
run: cd packages/app && npx playwright install --with-deps chromium

- name: Expose GitHub Runtime
uses: crazy-max/ghaction-github-runtime@v4

# DocumentDB is built from source; the GHA cache keeps that to the first run.
# The tag must match the e2e compose `db` image so `up` reuses it instead of rebuilding.
- name: Build DocumentDB image
shell: bash
run: |
docker buildx create --use --driver=docker-container
docker buildx build docker/documentdb -t hyperdx/documentdb:local --cache-to "type=gha,mode=max,scope=documentdb" --cache-from "type=gha,scope=documentdb" --load

- name: Start E2E Docker Compose
shell: bash
run: |
# Pre-pull images with retries to handle transient Docker Hub timeouts
for attempt in 1 2 3; do
if docker compose -p e2e-0 -f packages/app/tests/e2e/docker-compose.yml pull; then
if docker compose -p e2e-0 -f packages/app/tests/e2e/docker-compose.yml pull --ignore-buildable; then
echo "Docker images pulled successfully on attempt $attempt"
break
fi
Expand All @@ -82,20 +93,12 @@ runs:
echo "Docker pull failed (attempt $attempt/3), retrying in 10s..."
sleep 10
done
docker compose -p e2e-0 -f packages/app/tests/e2e/docker-compose.yml up -d
echo "Waiting for MongoDB..."
for i in $(seq 1 30); do
if docker compose -p e2e-0 -f packages/app/tests/e2e/docker-compose.yml exec -T db mongosh --quiet --eval "db.adminCommand({ping:1})" >/dev/null 2>&1; then
echo "MongoDB is ready"
break
fi
if [ "$i" -eq 30 ]; then
echo "MongoDB failed to become ready after 30 seconds"
exit 1
fi
echo "Waiting for MongoDB... ($i/30)"
sleep 1
done
# --wait blocks on the DocumentDB healthcheck (gateway accepting connections).
if ! docker compose -p e2e-0 -f packages/app/tests/e2e/docker-compose.yml up -d --wait --wait-timeout 300; then
echo "E2E services failed to become healthy"
docker compose -p e2e-0 -f packages/app/tests/e2e/docker-compose.yml logs db | tail -30
exit 1
fi
echo "Waiting for ClickHouse..."
for i in $(seq 1 60); do
if curl -sf http://localhost:${HDX_E2E_CH_PORT}/ping >/dev/null 2>&1; then
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,11 +121,15 @@ jobs:
- name: Spin up docker services
run: |
docker buildx create --use --driver=docker-container
docker buildx bake -f ./docker-compose.ci.yml --set *.cache-to="type=gha,mode=max,scope=ci-integration" --set *.cache-from="type=gha,scope=ci-integration" --load
# One cache scope per image (a scope holds one manifest); db reuses the e2e job's documentdb scope.
docker buildx bake -f ./docker-compose.ci.yml \
--set otel-collector.cache-to="type=gha,mode=max,scope=ci-integration" --set otel-collector.cache-from="type=gha,scope=ci-integration" \
--set db.cache-to="type=gha,mode=max,scope=documentdb" --set db.cache-from="type=gha,scope=documentdb" \
--load
- name: Build dependencies
run: make ci-build
# Integration tests boot a MockServer on fixed ports and share a single
# MongoDB/ClickHouse database, so they must stay serial (--runInBand)
# DocumentDB/ClickHouse database, so they must stay serial (--runInBand)
# within a runner. We shard ACROSS runners instead: each shard is its own
# VM with its own Docker stack, and jest's --shard splits the test files
# so the shards run in parallel.
Expand All @@ -144,6 +148,8 @@ jobs:
- name: Run integration tests
run: |
docker compose -f ./docker-compose.ci.yml up -d --quiet-pull
# Wait on DocumentDB only: the collector's healthcheck needs an OpAMP server this job doesn't run.
docker compose -f ./docker-compose.ci.yml up -d --wait --wait-timeout 300 db
status=0
yarn workspace @hyperdx/common-utils ci:int --shard=${{ matrix.shard }}/${{ strategy.job-total }} || status=1
yarn workspace @hyperdx/api ci:int --shard=${{ matrix.shard }}/${{ strategy.job-total }} || status=1
Expand Down
7 changes: 4 additions & 3 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ yarn dev # Start full stack with worktree-isolated ports
```

The project uses **Yarn 4.13.0** workspaces. Docker Compose manages ClickHouse,
MongoDB, and the OTel Collector.
DocumentDB (the local metadata store, which the API reaches over the Mongo wire
protocol), and the OTel Collector.

**This repo is multi-agent friendly.** `yarn dev`, `make dev-int`, and
`make dev-e2e` all use slot-based port isolation so multiple worktrees can run
Expand Down Expand Up @@ -461,7 +462,7 @@ default `/workspace` directory, the slot is **76**, so services are at:
- **App**: http://localhost:30276
- **API**: http://localhost:30176
- **ClickHouse**: http://localhost:30576
- **MongoDB**: localhost:30476
- **DocumentDB**: localhost:30476

### Key commands reference

Expand All @@ -475,7 +476,7 @@ reference. Quick summary:

### First-time registration

When the dev stack starts fresh (empty MongoDB), the app shows a registration
When the dev stack starts fresh (empty DocumentDB), the app shows a registration
page. Create any account to get started — no external auth provider is needed.

---
Expand Down
9 changes: 6 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ install-tools:
# API server : 30100 + slot
# App (Next.js) : 30200 + slot
# OpAMP : 30300 + slot
# MongoDB : 30400 + slot
# DocumentDB : 30400 + slot
# ClickHouse HTTP : 30500 + slot
# ClickHouse Native : 30600 + slot
# OTel health : 30700 + slot
Expand Down Expand Up @@ -158,7 +158,8 @@ dev-int:
@echo "Using CI slot $(HDX_CI_SLOT) (project=$(HDX_CI_PROJECT) ch=$(HDX_CI_CH_PORT) mongo=$(HDX_CI_MONGO_PORT) api=$(HDX_CI_API_PORT))"
@mkdir -p $(HDX_CI_LOGS_DIR)
@bash scripts/ensure-dev-portal.sh
docker compose -p $(HDX_CI_PROJECT) -f ./docker-compose.ci.yml up -d
docker compose -p $(HDX_CI_PROJECT) -f ./docker-compose.ci.yml up -d --build
docker compose -p $(HDX_CI_PROJECT) -f ./docker-compose.ci.yml up -d --wait --wait-timeout 300 db
bash -c 'set -o pipefail; npx nx run @hyperdx/api:dev:int $(FILE) 2>&1 | tee $(HDX_CI_LOGS_DIR)/api-int.log'; ret=$$?; \
docker compose -p $(HDX_CI_PROJECT) -f ./docker-compose.ci.yml down -v; \
$(call archive-int-logs); \
Expand All @@ -169,7 +170,8 @@ dev-int-common-utils:
@echo "Using CI slot $(HDX_CI_SLOT) (project=$(HDX_CI_PROJECT) ch=$(HDX_CI_CH_PORT) mongo=$(HDX_CI_MONGO_PORT))"
@mkdir -p $(HDX_CI_LOGS_DIR)
@bash scripts/ensure-dev-portal.sh
docker compose -p $(HDX_CI_PROJECT) -f ./docker-compose.ci.yml up -d
docker compose -p $(HDX_CI_PROJECT) -f ./docker-compose.ci.yml up -d --build
docker compose -p $(HDX_CI_PROJECT) -f ./docker-compose.ci.yml up -d --wait --wait-timeout 300 db
bash -c 'set -o pipefail; npx nx run @hyperdx/common-utils:dev:int $(FILE) 2>&1 | tee $(HDX_CI_LOGS_DIR)/common-utils-int.log'; ret=$$?; \
docker compose -p $(HDX_CI_PROJECT) -f ./docker-compose.ci.yml down -v; \
$(call archive-int-logs); \
Expand All @@ -179,6 +181,7 @@ dev-int-common-utils:
ci-int:
@mkdir -p $(HDX_CI_LOGS_DIR)
docker compose -p $(HDX_CI_PROJECT) -f ./docker-compose.ci.yml up -d --quiet-pull
docker compose -p $(HDX_CI_PROJECT) -f ./docker-compose.ci.yml up -d --wait --wait-timeout 300 db
bash -c 'set -o pipefail; npx nx run-many -t ci:int --parallel=false --output-style=stream 2>&1 | tee $(HDX_CI_LOGS_DIR)/ci-int.log'; ret=$$?; \
docker compose -p $(HDX_CI_PROJECT) -f ./docker-compose.ci.yml down -v; \
$(call archive-int-logs); \
Expand Down
19 changes: 14 additions & 5 deletions agent_docs/development.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,16 @@ yarn dev # or equivalently: make dev
## Environment Configuration

- `.env.development`: Development environment variables
- Docker Compose manages ClickHouse, MongoDB, OTel Collector
- Docker Compose manages ClickHouse, DocumentDB, OTel Collector
- The metadata store is [DocumentDB](https://github.com/documentdb/documentdb)
(Postgres plus a Mongo wire-protocol gateway), built from
`docker/documentdb/Dockerfile`. The API still talks to it through Mongoose.
To browse it with MongoDB Compass or `mongosh`, connect to
`mongodb://hyperdx:hyperdx@localhost:<HDX_DEV_MONGO_PORT>/?tls=true&tlsAllowInvalidCertificates=true&authMechanism=SCRAM-SHA-256`.
Everything works except Compass's Performance tab (the gateway doesn't
implement `serverStatus` or `top`).
Dev data lives in `.volumes/docdb_dev_<slot>`; data from the old MongoDB
volumes (`.volumes/db_dev_<slot>`) is not migrated, so the dev stack starts empty.
- Hot reload enabled for all services in development

## Worktree Isolation (Multi-Agent / Multi-Developer)
Expand Down Expand Up @@ -59,7 +68,7 @@ integration tests (14320-40098) and E2E tests (20320-21399).
| API server | 30100 | 30100 - 30199 | `HYPERDX_API_PORT` |
| App (Next.js) | 30200 | 30200 - 30299 | `HYPERDX_APP_PORT` |
| OpAMP | 30300 | 30300 - 30399 | `HYPERDX_OPAMP_PORT` |
| MongoDB | 30400 | 30400 - 30499 | `HDX_DEV_MONGO_PORT` |
| DocumentDB | 30400 | 30400 - 30499 | `HDX_DEV_MONGO_PORT` |
| ClickHouse HTTP | 30500 | 30500 - 30599 | `HDX_DEV_CH_HTTP_PORT` |
| ClickHouse Native | 30600 | 30600 - 30699 | `HDX_DEV_CH_NATIVE_PORT` |
| OTel health | 30700 | 30700 - 30799 | `HDX_DEV_OTEL_HEALTH_PORT` |
Expand Down Expand Up @@ -173,15 +182,15 @@ Port mapping (base + slot):
| Service | Default port (slot 0) | Variable |
| --------------- | --------------------- | ----------------- |
| ClickHouse HTTP | 18123 | HDX_CI_CH_PORT |
| MongoDB | 39999 | HDX_CI_MONGO_PORT |
| DocumentDB | 39999 | HDX_CI_MONGO_PORT |
| API test server | 19000 | HDX_CI_API_PORT |
| OpAMP | 14320 | HDX_CI_OPAMP_PORT |

**CI Testing Notes:**

- Uses separate Docker Compose configuration (`docker-compose.ci.yml`)
- Isolated test environment with unique `-p int-<slot>` project name
- Includes all necessary services (ClickHouse, MongoDB, OTel Collector)
- Includes all necessary services (ClickHouse, DocumentDB, OTel Collector)
- Tests run against real database instances for accurate integration testing

### E2E Testing
Expand All @@ -198,7 +207,7 @@ E2E port mapping (base + slot):
| ClickHouse HTTP | 20500 | 20500 - 20599 | `HDX_E2E_CH_PORT` |
| ClickHouse Native | 20600 | 20600 - 20699 | `HDX_E2E_CH_NATIVE_PORT` |
| API server | 21000 | 21000 - 21099 | `HDX_E2E_API_PORT` |
| MongoDB | 21100 | 21100 - 21199 | `HDX_E2E_MONGO_PORT` |
| DocumentDB | 21100 | 21100 - 21199 | `HDX_E2E_MONGO_PORT` |
| App (local) | 21200 | 21200 - 21299 | `HDX_E2E_APP_LOCAL_PORT` |
| App (fullstack) | 21300 | 21300 - 21399 | `HDX_E2E_APP_PORT` |

Expand Down
9 changes: 6 additions & 3 deletions docker-compose.ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,13 @@ services:
networks:
- internal
db:
image: mongo:5.0.32-focal
command: --port 29999
image: hyperdx/documentdb:local
build: ./docker/documentdb
environment:
DOCDB_USER: hyperdx
DOCDB_PASSWORD: hyperdx
ports:
- '${HDX_CI_MONGO_PORT:-39999}:29999'
- '${HDX_CI_MONGO_PORT:-39999}:10260'
networks:
- internal
networks:
Expand Down
12 changes: 8 additions & 4 deletions docker-compose.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,17 @@ services:
db:
labels:
<<: *hdx-labels
hdx.dev.service: mongodb
hdx.dev.service: documentdb
hdx.dev.port: '${HDX_DEV_MONGO_PORT:-27017}'
image: mongo:5.0.32-focal
image: hyperdx/documentdb:local
build: ./docker/documentdb
environment:
DOCDB_USER: hyperdx
DOCDB_PASSWORD: hyperdx
volumes:
- .volumes/db_dev_${HDX_DEV_SLOT:-0}:/data/db
- .volumes/docdb_dev_${HDX_DEV_SLOT:-0}:/data/docdb
ports:
- '${HDX_DEV_MONGO_PORT:-27017}:27017'
- '${HDX_DEV_MONGO_PORT:-27017}:10260'
networks:
- internal
otel-collector:
Expand Down
48 changes: 48 additions & 0 deletions docker/documentdb/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# DocumentDB (MIT): Postgres extensions plus a Mongo wire-protocol gateway, used
# in place of MongoDB (SSPL). Built from source because upstream ships glibc
# packages only; Alpine 3.24 matches the all-in-one base and its PostGIS targets PG18.
ARG DOCUMENTDB_VERSION=v1.0-RC2
# Tags can move; the build fails unless the tag still resolves to this commit.
ARG DOCUMENTDB_COMMIT=b0cb0dae85e8746f4e0b79c847894179b2f80d64

FROM alpine:3.24 AS builder
ARG DOCUMENTDB_VERSION
ARG DOCUMENTDB_COMMIT
RUN apk add --no-cache build-base cmake git curl bash tar pkgconf perl linux-headers python3 \
icu-dev krb5-dev openssl-dev rust cargo \
postgresql18 postgresql18-dev postgresql18-contrib postgresql-pg_cron postgresql-pgvector postgis
ENV PG_CONFIG=/usr/libexec/postgresql18/pg_config INSTALL_DEPENDENCIES_ROOT=/deps
RUN git clone --depth 1 --branch ${DOCUMENTDB_VERSION} https://github.com/documentdb/documentdb.git /src \
&& test "$(git -C /src rev-parse HEAD)" = "${DOCUMENTDB_COMMIT}" \
&& mkdir -p /deps
# musl exports _init/_fini from every .so, which the duplicate-export check counts.
RUN sed -i "s#grep -vxE '_PG_init|Pg_magic_func'#grep -vxE '_PG_init|Pg_magic_func|_init|_fini'#g" \
/src/pg_documentdb_extended_rum/validate_rum_core_exports.sh
RUN cd /src/scripts && MAKE_PROGRAM=cmake bash install_setup_libbson.sh \
&& bash install_setup_pcre2.sh && bash install_setup_intel_decimal_math_lib.sh
# Serial make: with -j the RUM export check can run before the library is linked.
RUN cd /src && make install-documentdb with_llvm=no PG_CONFIG=$PG_CONFIG
RUN cd /src/pg_documentdb_gw && cargo build --release -p documentdb_gateway \
&& install -s target/release/documentdb_gateway /usr/bin/documentdb-gateway
# Keep only what Postgres and DocumentDB link against: no GDAL, JIT or PostGIS raster/topology.
RUN set -e; PG=/usr/libexec/postgresql18; LIB=/usr/lib/postgresql18; SH=/usr/share/postgresql18; \
rm -f $LIB/llvmjit*.so $LIB/postgis_raster-3.so $LIB/postgis_sfcgal-3.so $LIB/postgis_topology-3.so $LIB/address_standardizer*.so; rm -rf $LIB/bitcode; \
rm -f $SH/extension/postgis_raster* $SH/extension/postgis_sfcgal* $SH/extension/postgis_topology* $SH/extension/postgis_tiger* $SH/extension/address_standardizer*; rm -rf $SH/contrib/postgis*; \
for f in $PG/postgres $PG/pg_ctl $PG/initdb $PG/psql /usr/bin/documentdb-gateway $LIB/*.so; do echo $f; ldd $f 2>/dev/null | awk '/=> \//{print $3}'; done | sort -u > /tmp/files; \
mkdir /out; tar -ch -T /tmp/files -f - | tar -x -C /out; \
tar -ch $PG/postgres $PG/pg_ctl $PG/initdb $PG/psql $LIB $SH /usr/share/proj /usr/share/icu -f - | tar -x -C /out; \
install -D -m 644 /src/pg_documentdb_gw/SetupConfiguration.json /out/etc/documentdb/gateway/SetupConfiguration.json

FROM alpine:3.24 AS runtime
RUN apk add --no-cache bash openssl su-exec \
&& addgroup -S postgres && adduser -S -G postgres -h /var/lib/postgresql postgres \
&& install -d -o postgres -g postgres /data/docdb
COPY --from=builder /out/ /
COPY --chmod=755 entrypoint.sh /usr/local/bin/documentdb-entrypoint.sh
ENV PATH=/usr/libexec/postgresql18:$PATH PGDATA=/data/docdb/pgdata
EXPOSE 10260
# The gateway only listens once Postgres is initialised and the user exists; the
# psql probe catches Postgres dying under a gateway that keeps its port open.
HEALTHCHECK --interval=2s --timeout=3s --start-period=60s --retries=30 \
CMD nc -z 127.0.0.1 10260 && psql -h /tmp -U postgres -d postgres -qtAX -c 'SELECT 1' >/dev/null
ENTRYPOINT ["bash", "/usr/local/bin/documentdb-entrypoint.sh"]
57 changes: 57 additions & 0 deletions docker/documentdb/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
#!/bin/bash
# Starts Postgres with the DocumentDB extensions, then the gateway on :10260.
# Run as root: fixes data dir ownership, then re-runs itself as postgres.
set -euo pipefail
: "${DOCDB_USER:?DOCDB_USER is required}" "${DOCDB_PASSWORD:?DOCDB_PASSWORD is required}"

if [ "$(id -u)" = 0 ]; then
# Volumes may be root-owned or hold lost+found, and initdb needs an empty dir it owns.
install -d -o postgres -g postgres -m 700 "$PGDATA"
exec su-exec postgres "$0" "$@"
fi

# Postgres logs to a file; print it on a failed start so `docker logs` shows the cause.
start_postgres() {
pg_ctl -D "$PGDATA" -l "$PGDATA/postgresql.log" -w start >/dev/null || {
tail -n 50 "$PGDATA/postgresql.log" >&2
exit 1
}
}

# The marker is written last, so a first boot killed part-way is redone, not left broken.
if [ ! -f "$PGDATA/.documentdb-initialised" ]; then
find "$PGDATA" -mindepth 1 -delete
initdb -D "$PGDATA" -U postgres --auth=trust >/dev/null
cat >> "$PGDATA/postgresql.conf" <<CONF
listen_addresses = 'localhost'
unix_socket_directories = '/tmp'
shared_preload_libraries = 'pg_cron, pg_documentdb_core, pg_documentdb, pg_documentdb_extended_rum'
cron.database_name = 'postgres'
documentdb.enableBackgroundWorker = true
documentdb.enableBackgroundWorkerJobs = true
documentdb.indexBuildsScheduledOnBgWorker = false
documentdb.rum_library_load_option = 'require_documentdb_extended_rum'
documentdb.alternate_index_handler_name = 'extended_rum'
CONF
start_postgres
psql -h /tmp -U postgres -d postgres -qX -v ON_ERROR_STOP=1 -c "CREATE EXTENSION documentdb CASCADE; CREATE EXTENSION documentdb_extended_rum;"
doc=$(printf '{"createUser":"%s","pwd":"%s","roles":[{"role":"readWriteAnyDatabase","db":"admin"},{"role":"clusterAdmin","db":"admin"}]}' "$DOCDB_USER" "$DOCDB_PASSWORD")
psql -h /tmp -U postgres -d postgres -qX -v ON_ERROR_STOP=1 -v doc="$doc" <<< "SELECT documentdb_api.create_user(:'doc');" >/dev/null
touch "$PGDATA/.documentdb-initialised"
else
start_postgres
fi

echo "postgresql://postgres@localhost:5432/postgres" > /tmp/pg-url
mkdir -p /tmp/tls
export DOCUMENTDB_PG_URL_FILE=/tmp/pg-url DOCUMENTDB_TLS_STATE_DIR=/tmp/tls

documentdb-gateway run --config /etc/documentdb/gateway/SetupConfiguration.json &
gateway=$!
# Stop Postgres cleanly on docker stop so persistent volumes skip crash recovery.
trap 'kill "$gateway" 2>/dev/null; pg_ctl -D "$PGDATA" -m fast stop >/dev/null; exit 0' TERM INT
# Keep the gateway's exit code so a crash shows as a failed container, not a clean exit.
rc=0
wait "$gateway" || rc=$?
pg_ctl -D "$PGDATA" -m fast stop >/dev/null || true
exit "$rc"
2 changes: 1 addition & 1 deletion packages/api/.env.development
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ FRONTEND_URL="http://localhost:${HYPERDX_APP_PORT}"
HDX_NODE_ADVANCED_NETWORK_CAPTURE=1
HDX_NODE_BETA_MODE=1
HDX_NODE_CONSOLE_CAPTURE=1
MONGO_URI="mongodb://localhost:${HDX_DEV_MONGO_PORT}/hyperdx"
MONGO_URI="mongodb://hyperdx:hyperdx@localhost:${HDX_DEV_MONGO_PORT}/hyperdx?tls=true&tlsAllowInvalidCertificates=true&authMechanism=SCRAM-SHA-256"
NODE_ENV=development
OTEL_SERVICE_NAME="hdx-oss-dev-api"
OTEL_RESOURCE_ATTRIBUTES="service.version=dev"
Expand Down
Loading
Loading