Commit graph

38 commits

Author SHA1 Message Date
Aaron Knudtson
8772f5e294
chore: update clickhouse version for compose files to 26.1 (#1791) 2026-02-24 15:24:43 -05:00
Drew Davis
c3bc43add1
fix: Avoid using bodyExpression for trace sources (#1722)
Closes HDX-3361

# Summary

This PR prevents various query errors caused by references to `bodyExpression` on trace sources. The `bodyExpression` should not exist on trace sources, and cannot be edited in the source form. Despite that, the `bodyExpression` would be set on trace sources during source inference.

- The `getEventBody` helper function will now correctly use the `spanNameExpression` field instead for trace sources. A few direct references to `bodyExpression` have been updated to `getEventBody` calls.
- Source configuration inference will no longer populate the `bodyExpression` for trace sources, and the default trace source will not be created with a `bodyExpression`.
2026-02-11 13:01:12 +00:00
Warren Lee
6f4c8efba0
feat: Enforce ClickStack schemas by default (#1682)
- Introduce a new flag `HYPERDX_OTEL_EXPORTER_CREATE_LEGACY_SCHEMA` (default to false) to otel collector
- Custom ClickStack schemas should be enforced by default
- ClickHouse tables migration logs should be stored in `clickstack_db_version_xxx` tables
- The collector will run the migration at startup and retry if it fails to connect to the database (using exponential backoff).
- Fully backward compatible

Ref: HDX-3301
2026-02-02 16:39:20 +00:00
Warren Lee
fd81c4cb4f
chore: bump MongoDB version to 5.0.32 (#1569)
For the patch of CVE-2025-14847
2026-01-07 18:38:49 +00:00
Warren
540309dcf9
chore: pull otel collector from the clickstack repo (#1412)
Ref: HDX-2918
2025-11-26 15:18:29 +00:00
Mike Shi
52ca1823a4
feat: Add ClickHouse JSON Type Support (#969)
- Upgrades ClickHouse to 25.6, fixes breaking config change, needed for latest JSON type
- Upgrades OTel Collector to 0.129.1, fixes breaking config change, needed for latest JSON support in exporter
- Upgrades OTel OpAMP Supervisor to 0.128.0
- Fixes features to support JSON type columns in OTel in HyperDX (filtering, searching, graphing, opening rows, etc.)

Requires users to set `BETA_CH_OTEL_JSON_SCHEMA_ENABLED=true` in `ch-server` and `OTEL_AGENT_FEATURE_GATE_ARG='--feature-gates=clickhouse.json'` in `otel-collector` to enable JSON schema. Users must start a new ClickHouse DB or migrate their own table manually to enable as it is not schema compatible and migration is not automatic.

Closes HDX-1849, HDX-1969, HDX-1849, HDX-1966, HDX-1964

Co-authored-by: Tom Alexander <3245235+teeohhem@users.noreply.github.com>
2025-07-03 17:11:03 +00:00
Aaron Knudtson
d1fc0c727a
fix: change NEXT_PUBLIC_SERVER_URL to SERVER_URL because it's not available on the frontend (#936) 2025-06-23 12:30:09 -04:00
Warren
81f0090438
fix: allow sending in-app telemetry back to hdx (#875)
like v1, users should be able to specify `HYPERDX_API_KEY` to export in-app telemetry to hyperdx itself.
running command like
```
HYPERDX_API_KEY=XXX docker compose up -d
```
2025-05-30 21:27:21 +00:00
Warren
e27c24a13f
feat: introduce a few env vars to config otel collector (#864)
- Support `CLICKHOUSE_ENDPOINT` to switch aio clickhouse endpoint (Ref: HDX-1758)
- Support `HYPERDX_OTEL_EXPORTER_CLICKHOUSE_DATABASE ` (Ref: HDX-1786)

Support command like
```
docker run -e CLICKHOUSE_ENDPOINT=<CH-CLOUD-ENDPOINT> -e CLICKHOUSE_USER=default -e CLICKHOUSE_PASSWORD='BLABLA' -e HYPERDX_OTEL_EXPORTER_CLICKHOUSE_DATABASE =hyperdx -p 8080:8080 -p 4317:4317 -p 4318:4318 hyperdx/hyperdx-local:2-nightly
```
So users can export data to other services like clickhouse cloud
2025-05-28 18:54:13 +00:00
Warren
54622bb060
build: config opamp port (#866)
Ref: HDX-1799
2025-05-28 16:51:10 +00:00
Mike Shi
854c4b1509
feat: Add default connections and sources to docker compose and docker all in one images (#865)
Fixes HDX-1798
2025-05-28 04:17:57 +00:00
Warren
e935bb6d16
ci: introduce release-nightly workflow (#836) 2025-05-22 18:59:46 +00:00
Warren
86465a2027
fix: map CLICKHOUSE_SERVER_ENDPOINT to exporter 'endpoint' (#838)
For users connecting to ClickHouse Cloud or a TLS endpoint, add the `secure=true` query parameter or use the HTTPS protocol. Providing the full URL via the `CLICKHOUSE_SERVER_ENDPOINT` in the exporter's endpoint field should resolve this issue

Ref: HDX-1743
2025-05-22 05:56:18 +00:00
Warren
05738c7644
feat: comment out db and clickhouse ports with security warning (#833)
Ref: HDX-1731
2025-05-21 03:56:20 +00:00
Mike Shi
15bb9e6c7e
chore: remove unused dependencies (#791)
- removes redis from stack (using in memory rate limiter)
- deletes unused miner code (moved to browser-based pyodide module)
- fixes rate limit bug

fixes HDX-1248
2025-05-06 03:13:20 +00:00
Warren
d32661032b
feat: introduce RUN_SCHEDULED_TASKS_EXTERNALLY (#733)
1. new env var RUN_SCHEDULED_TASKS_EXTERNALLY to opt out in-app task process
2. introduce new `prod-extended` build that includes mongodb process
3. GA k8s dashboard (only picking the connection)
4. bake check-alert task into fullstack app build
2025-04-02 02:21:49 +00:00
github-actions[bot]
184402dccf
chore(release): bump HyperDX app/package versions (beta) (#609)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Warren <warren@Warrens-MacBook-Air.local>
2025-03-13 03:32:40 -07:00
Warren
bb6abc28d9
chore: lock ch version to 24-alpine (#613) 2025-02-12 19:48:42 +00:00
Warren
74d6f4d1cd
style: deprecate INGESTOR_API_URL env var (#565) 2025-01-22 14:18:36 +00:00
Warren
3f0e564b0d
feat: add example nginx ssl reverse proxy service (#535) 2024-12-17 18:29:54 +00:00
Warren
9993fb2097
DX: standalone app docker image (#532)
For better self-hosting experience, users should be able to run
```
docker run -e MONGO_URI=xxx -p 8080:8080 hyperdx/hyperdx:2-beta
```
to spin up the project that includes the server components
2024-12-16 23:13:16 +00:00
Warren
ce2b468a16
chore: pull images from custom registry domain (#523) 2024-12-09 20:18:18 -08:00
Warren
6a24dcf405
feat: single app image (#519) 2024-12-06 16:27:23 -08:00
Warren
aa165fcc46 feat: move more codes 2024-11-21 21:44:33 -08:00
Warren
ac88c52173
style: introduce AGGREGATOR_PAYLOAD_SIZE_LIMIT env var (#450) 2024-07-04 00:41:49 +00:00
Warren
bbc0aee3de chore: release v1.8.0 2024-04-19 16:29:50 -07:00
Mike Shi
c0ee0e19fb
Improve local mode (#361) 2024-04-01 22:42:24 -07:00
Shorpo
9083aeeb88
feat: Acknowledge and Silence Alerts (#339) 2024-03-17 16:19:40 -06:00
Warren
499c537ea5
style: inject ingestor url (otel config file) + aggregator/go-parser url (ingestor config file) through env vars (#241) 2024-01-17 01:54:25 +00:00
Warren
65a8579162
feat: build go-parser (#232) 2024-01-12 20:26:28 +00:00
Warren
79c2761904
chore: bump ch base image to v23.8.8 (#165) 2023-12-28 07:21:48 +00:00
Warren
ce70319186
chore: bump clickhouse client to v0.2.7 (#159) 2023-12-20 20:53:14 +00:00
Warren
f231d1f65f
fix: boolean env var type issue (older compose version) (#72)
for docker-vompose v1x, it throws error like:
```
ERROR: The Compose file './docker-compose.yml' is invalid because:
services.ingestor.environment.VECTOR_OPENSSL_LEGACY_PROVIDER contains false, which is an invalid type, it should be a string, number, or a null
```
2023-10-21 00:36:56 +00:00
Warren
389bb3a027
feat: support HYPERDX_LOG_LEVEL env var (#66) 2023-10-18 19:01:44 +00:00
Warren
4405d785b0
fix: app env vars override issue (#26) 2023-09-22 14:41:19 -07:00
Warren
836924377e
feat: add docker prod build stages and publish prod builds (#4) 2023-09-15 21:34:14 -07:00
Warren
f2396340b4 feat: introduce usage-stats service 2023-09-15 17:22:53 -07:00
Warren
0826d4dd89 first commit 2023-09-12 20:08:05 -07:00