Commit graph

67 commits

Author SHA1 Message Date
Warren
8d8a50afdf
chore: bump next to v13.5.11 (#736) 2025-04-02 23:24:19 +00:00
github-actions[bot]
a8f18bae2e
chore(release): bump HyperDX app/package versions (beta) (#684)
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to v2, this PR will be updated.

⚠️⚠️⚠️⚠️⚠️⚠️

`v2` is currently in **pre mode** so this branch has prereleases rather than normal releases. If you want to exit prereleases, run `changeset pre exit` on `v2`.

⚠️⚠️⚠️⚠️⚠️⚠️

# Releases
## @hyperdx/common-utils@0.2.0-beta.2

### Minor Changes

-   a9dfa14: Added support to CTE rendering where you can now specify a CTE using a full chart config object instance. This CTE capability is then used to avoid the URI too long error for delta event queries.
-   e002c2f: Support querying a sum metric as a value instead of a rate

### Patch Changes

-   50ce38f: Histogram metric query test cases
-   2e350e2: feat: implement logs > metrics correlation flow + introduce convertV1ChartConfigToV2
-   a6fd5e3: feat: introduce k8s preset dashboard
-   b9f7d32: Refactored renderWith to simplify logic and ship more tests with the changes.
-   eaa6bfa: fix: transform partition_key to be the same format as others
-   bd9dc18: perf: reuse existing queries promises to avoid duplicate requests
-   5db2767: Fixed CI linting and UI release task.
-   414ff92: feat: export 'Connection' type
-   e884d85: fix: metrics > logs correlation flow
-   e5a210a: feat: support search on multi implicit fields (BETA)

## @hyperdx/app@2.0.0-beta.13

### Minor Changes

-   9579251: Stores the collapse vs expand status of the side navigation in local storage so it's carried across browser windows/sessions.

### Patch Changes

-   3be7f4d: fix: input does not overlap with language select button anymore
-   2e350e2: feat: implement logs > metrics correlation flow + introduce convertV1ChartConfigToV2
-   a6fd5e3: feat: introduce k8s preset dashboard
-   a9dfa14: Added support to CTE rendering where you can now specify a CTE using a full chart config object instance. This CTE capability is then used to avoid the URI too long error for delta event queries.
-   5a10ae1: fix: delete huge z-value for tooltip
-   6864836: fix: don't show ellipses on search when query is in-flight
-   b99236d: fix: autocomplete options for dashboard page
-   5db2767: Fixed CI linting and UI release task.
-   2580ddd: chore: bump next to v13.5.10
-   5044083: Session Replay tab for traces is disabled unless the source is configured with a sessionId
-   6dafb87: fix: View Events not shown for multiple series; grabs where clause when single series
-   decd622: fix: k8s dashboard uptime metrics + warning k8s event body
-   e884d85: fix: metrics > logs correlation flow
-   e5a210a: feat: support search on multi implicit fields (BETA)
-   Updated dependencies [50ce38f]
-   Updated dependencies [2e350e2]
-   Updated dependencies [a6fd5e3]
-   Updated dependencies [a9dfa14]
-   Updated dependencies [e002c2f]
-   Updated dependencies [b9f7d32]
-   Updated dependencies [eaa6bfa]
-   Updated dependencies [bd9dc18]
-   Updated dependencies [5db2767]
-   Updated dependencies [414ff92]
-   Updated dependencies [e884d85]
-   Updated dependencies [e5a210a]
    -   @hyperdx/common-utils@0.2.0-beta.2

## @hyperdx/api@2.0.0-beta.13

### Patch Changes

-   50ce38f: Histogram metric query test cases
-   2e350e2: feat: implement logs > metrics correlation flow + introduce convertV1ChartConfigToV2
-   b9f7d32: Refactored renderWith to simplify logic and ship more tests with the changes.
-   5db2767: Fixed CI linting and UI release task.
-   d326610: feat: introduce RUN_SCHEDULED_TASKS_EXTERNALLY + enable in-app task
-   414ff92: perf + fix: single clickhouse proxy middleware instance
-   Updated dependencies [50ce38f]
-   Updated dependencies [2e350e2]
-   Updated dependencies [a6fd5e3]
-   Updated dependencies [a9dfa14]
-   Updated dependencies [e002c2f]
-   Updated dependencies [b9f7d32]
-   Updated dependencies [eaa6bfa]
-   Updated dependencies [bd9dc18]
-   Updated dependencies [5db2767]
-   Updated dependencies [414ff92]
-   Updated dependencies [e884d85]
-   Updated dependencies [e5a210a]
    -   @hyperdx/common-utils@0.2.0-beta.2


Co-authored-by: Warren <5959690+wrn14897@users.noreply.github.com>
2025-04-02 02:33:29 +00:00
Warren
2580dddb27
chore: bump next to v13.5.10 (#710)
https://github.com/advisories/GHSA-f82v-jwr5-mffw
2025-03-25 15:56:45 +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
Tom Alexander
e7ffdb9fbf
fix: Add http url info to spans in span waterfall chart (#652)
Changes
* Adds http url info to spans in the waterfall chart if they exist
* Adds dependencies and jest setup to enable better UI testing
* Adds new test file to test the waterfall component

On Staging:
![image](https://github.com/user-attachments/assets/b76902cb-3dd6-4b98-89ef-7b843d67cf50)

After Changes:
![image](https://github.com/user-attachments/assets/e2640d76-ee7a-4f1a-b9bb-790edffbb899)
2025-03-05 14:14:32 +00:00
github-actions[bot]
8b5a8182d3
chore(release): bump HyperDX app/package versions (beta) (#607)
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to v2, this PR will be updated.

⚠️⚠️⚠️⚠️⚠️⚠️

`v2` is currently in **pre mode** so this branch has prereleases rather than normal releases. If you want to exit prereleases, run `changeset pre exit` on `v2`.

⚠️⚠️⚠️⚠️⚠️⚠️

# Releases
## @hyperdx/api@2.0.0-beta.10

### Patch Changes

-   adc2a0b: fix: Ensure errors from proxy are shown to the user

## @hyperdx/app@2.0.0-beta.10

### Patch Changes

-   459267a: feat: introduce session table model form
2025-02-11 21:01:11 +00:00
Warren
3fb3169f43
ci: publish images in release workflow (#604) 2025-02-11 18:27:45 +00:00
github-actions[bot]
a111b064af
Version Packages (#602)
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or [setup this action to publish automatically](https://github.com/changesets/action#with-publishing). If you're not ready to do a release yet, that's fine, whenever you add more changesets to v2, this PR will be updated.


# Releases
## @hyperdx/common-utils@0.1.0

### Minor Changes

-   497fba8: Added support for querying gauge metric table with default detection for OTEL collector schema.
2025-02-10 00:17:01 +00:00
Warren
e59cfd0f8b
chore: remove scss pkg (#600)
Its wrong and unused
2025-02-07 19:29:38 +00:00
github-actions[bot]
ff66cc3989
Version Packages (#596)
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or [setup this action to publish automatically](https://github.com/changesets/action#with-publishing). If you're not ready to do a release yet, that's fine, whenever you add more changesets to v2, this PR will be updated.


# Releases
## @hyperdx/common-utils@0.0.14

### Patch Changes

-   621bd55: feat: add session source and SourceKind enum
2025-02-04 02:06:04 +00:00
github-actions[bot]
760a5d2ef9
Version Packages (#579)
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to v2, this PR will be updated.


# Releases
## @hyperdx/common-utils@0.0.13

### Patch Changes

-   b79433e: refactor: Extract alert configuration schema into AlertBaseSchema
2025-01-28 01:20:07 +00:00
Dan Hable
1396c84256
fix: limit inferred dates to the past (#572)
When parsing a date with inferred parts, this commit changes the parser to assume that the intended date was in the past. This impacts individual date fields and date range fields.
2025-01-27 21:03:44 +00:00
github-actions[bot]
cbe029ad05
Version Packages (#571)
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to v2, this PR will be updated.


# Releases
## @hyperdx/common-utils@0.0.12

### Patch Changes

-   418c293: feat: extract AlertChannelType to its own schema
2025-01-24 05:28:37 +00:00
Ernest Iliiasov
418c293836
feat: Alert UI for saved search page (#559)
Allow users to manage alerts for a saved search:
- Create new alert
- Update existing alert
- Delete alert

![Screenshot 2025-01-18 at 9 49 14 PM](https://github.com/user-attachments/assets/e7758f87-0c66-4654-90e9-9b123ef3cac7)
2025-01-24 05:16:17 +00:00
github-actions[bot]
0fc458f22d
Version Packages (#570)
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to v2, this PR will be updated.


# Releases
## @hyperdx/common-utils@0.0.11

### Patch Changes

-   a483780: style: move types from renderChartConfig + add exceptions types
2025-01-24 02:13:47 +00:00
Warren
af4faa4611
DX: running api + app + task concurrently with npm script (dev) (#567)
1. Test with `common-utils` easily
2. Faster hot-reloads

TL;DR
run `npm run dev` or `make dev-up` to run HyperDX fullstack locally
2025-01-23 17:31:25 +00:00
github-actions[bot]
7c03397fe9
Version common-utils + Setup int test environment (#566)
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to v2, this PR will be updated.


# Releases
## @hyperdx/common-utils@0.0.10

### Patch Changes

-   fc4548f: feat: add alert schema + types


Co-authored-by: Warren <5959690+wrn14897@users.noreply.github.com>
2025-01-22 23:30:13 +00:00
Warren
a70080e533
style: use common utils package (api and app) (#555) 2025-01-21 18:44:14 +00:00
Warren
8b6e09c20a
migration: alert v2 model (#542)
This PR includes changes:
1. Rename `type` field to `thresholdType` (enum 'above' or 'below')
2. Introduce alert source enum ('saved_search' or 'tile')
3. Rename `dashboardId` field to `dashboard`
4. Deprecate unused `cron` field
5. Deprecate external alert translation layers
6. Deprecate `appType` flag
7. Copied over 'common' pkgs from app dir (mostly clickhouse query helpers + types) -> will become a sharable pkg between app and api
2025-01-07 20:15:02 +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
6a24dcf405
feat: single app image (#519) 2024-12-06 16:27:23 -08:00
Mike Shi
4291636636
Use next-runtime-env for dynamic envs (#515)
Disabling ASO had some issues with app navigation clashing with query parameter updates from all our nuqs usage. Switching to `next-runtime-env` and also changing the preset environment variables to `NEXT_PUBLIC_HDX_LOCAL_DEFAULT_CONNECTIONS` and `NEXT_PUBLIC_HDX_LOCAL_DEFAULT_SOURCES`, which is required for the package, but also makes it nice and clear that these are going to be publicly exposed environment variables.
2024-12-02 06:08:07 +00:00
Warren
75ff549891 dev: specify app lint --quiet flag 2024-11-22 15:17:54 -08:00
Warren
aa165fcc46 feat: move more codes 2024-11-21 21:44:33 -08:00
Warren
b16456fc39 feat: move v2 codes 2024-11-12 05:53:15 -07:00
Warren
dddfbbc315 chore: release v1.10.0 2024-10-14 11:04:10 -07:00
Ernest Iliiasov
01b7d46507
feat: New mighty date range picker (#476)
Brand new date range picker with new features:
- More 1-click `Past N` options to choose from
- Ability to move the search time window 1h back and 1h forward with 1 click
- More robust start and end time inputs with natural language parsing
- `Around a time` option: allow set a time anchor with a +- 15m/1h/1d/etc windor

https://github.com/user-attachments/assets/1b01dea0-f150-44b6-9e4c-ea57d5ed6a63
2024-07-16 19:34:27 +00:00
Ernest Iliiasov
5971267b9a
chore: Set up Stylelint, set up path aliases (#458) 2024-07-08 10:06:45 -07:00
Warren
556329b411 chore: release v1.9.0 2024-06-28 17:42:23 -07:00
Warren
25faa4dfe2
chore: bump HyperDX SDKs (node-opentelemetry v0.8.0 + browser 0.21.0) (#446) 2024-06-28 22:54:17 +00:00
Ernest Iliiasov
0fa131f4b9
feat: Updated AppNav user panel (#422)
Co-authored-by: CHP <cole@hyperdx.io>
2024-06-03 15:58:17 -07:00
Ernest Iliiasov
5e17d3bd08
chore: Add Storybook 8 (#419) 2024-05-31 15:07:57 -07:00
Ernest Iliiasov
4af680283a
chore: Remove unused dependencies (#417) 2024-05-29 11:25:02 -07:00
Ernest Iliiasov
9c451094f7
chore: Replace react-toastify with mantine notifications (#404) 2024-05-22 10:54:46 -07:00
Ernest Iliiasov
6d99e3be9c
fix: Update session player (#395)
* Replace react-slider with mantine's slider + custom markers for better performance
* Fix bug when opening a session replay with a ?ts param shows the first frame instead of correct frame at `ts`
* abort loading events when navigating off the page

before

https://github.com/hyperdxio/hyperdx/assets/20255948/195ce791-2d31-4ae4-9700-0ff52f021171

after

https://github.com/hyperdxio/hyperdx/assets/20255948/8ec31ff4-c3c1-4c0d-9f04-29c123e9444f
2024-05-12 17:39:00 +00:00
Warren
bbc0aee3de chore: release v1.8.0 2024-04-19 16:29:50 -07:00
Ernest Iliiasov
3a85c0a790
bump: Upgrade Mantine (#376) 2024-04-19 22:17:16 +00:00
Warren
5fc7c21c6e
feat: use handlebar to build up webhook body (#351) 2024-03-27 22:52:02 +00:00
CHP
0e365bfff2
Generic Webhooks v0 (#337)
[Generic Webhook Option for Alerts
](https://github.com/hyperdxio/hyperdx/issues/2#issue-1893833428
)

### DETAILS:

This PR enables the creation and use of generic webhooks alongside the existing slack webhooks. This allows users to configure arbitrary webhook consumers/destinations with custom payloads.

For now the lack of signage/security features means more complex webhooks that perform actions on alert will most likely be gated off due to their internal requirements, but this should unlock a variety of message-focused consumers alongside the existing slack implementation. Query parameter usage was built into the migration and logic, and can be enabled in a later version when security options make those more complex use cases (like caching) worthwhile. For the time being many consumers allow/mirror QP functionality in the body of the request, and otherwise building into the url manually achieves the same purpose.

This implementation assumes and is limited to POST requests only, which is the ideal sender behavior and has exceptionally large coverage, but optionality for GETs and PUTs can be added in later versions if they are desired.

Message templating is still quite limited while the more robust templating system is in development, and users should refer to their specific consumer documentation for implementation.

As a minor addition, with the added complexity beyond just single slack webhooks, optional descriptions were also added to the webhook model and displayed on the settings page.

### V1+ NEXT STEPS:
- security/signature functionality
- user facing webhook edit functionality
- functionality to send webhook tests during creation
- alignment with current in-progress alert templating
- user facing queryParam functionality (and/or url building for ease of use)

### VISUALS:

**TEAM SETTINGS UPDATE:**
![Screenshot 2024-03-07 at 3 16 11 PM](https://github.com/hyperdxio/hyperdx/assets/4743932/e0c3a60c-d9b6-4893-a8bb-81a4c6c829ea)

**GENERIC WEBHOOK CREATION:**
![Screenshot 2024-03-07 at 3 17 50 PM](https://github.com/hyperdxio/hyperdx/assets/4743932/ffc0945b-2dae-444b-9ef2-0e0d705c0c3d)

**ALERT CREATION UPDATE:**
![Screenshot 2024-03-07 at 3 18 27 PM](https://github.com/hyperdxio/hyperdx/assets/4743932/a948ef19-9978-4a6f-9beb-3ee49f660aac)
2024-03-11 04:18:58 +00:00
Warren
6bcd0b7329
ci: uninstall @deploysentinel/jest-rtl-debugger + bump @testing-library/react (#328) 2024-03-03 14:03:05 -08:00
Warren
b362acca20 chore: release v1.7.0 2024-03-01 11:01:00 -08:00
Warren
4df153864f
chore: bump hdx pkgs (node-opentelemetry + browser + python) (#327) 2024-02-28 07:24:35 +00:00
Shorpo
c09342fbe3
chore: Upgrade to Mantine@7 (#306)
really like the fact they moved away from css-in-js haha

```
Stack/Group spacing => gap
Stack/Group position => justify
Button compact prop => size
Button, Input, etc icon/leftIcon prop => leftSection
sx prop => style
Table thead/tbody/tr/td => <Table.Thead> / <Table.Tbody> / <Table.Tr> / <Table.Td>
Badge - set variant="light" prop
```

To do:

- [x] Tables
- [x] Update all Badge variant to light

more testing won't hurt :D
2024-02-25 10:37:55 +00:00
Shorpo
396468c4a6
fix: Use nuqs for ChartPage url query params (#311) 2024-02-16 18:46:20 -07:00
Mike Shi
f9521a5a07
chore: Upgrade to Next 13 + React 18 🎉 (#298)
Disables SSR on Search and Chart pages, though I don't expect that to be actually consequential given those pages never had any real content SSR'd.
2024-02-09 07:45:44 +00:00
Warren
76815883f9 chore: release v1.6.0 2024-01-26 14:53:59 -08:00
Shorpo
ac667cd164
feat: Spotlight (#235)
https://github.com/hyperdxio/hyperdx/assets/149748269/a2622a4e-c7c2-402e-a9ad-19e3f736b2df
2024-01-17 00:52:55 +00:00
Warren
56a126dac5 chore: release v1.5.0 2024-01-12 12:38:09 -08:00
Shorpo
a7bf2b6579
fix: Perf optimization for Table virtualization (#204)
there's a bad delay when switching tabs in infra dashboard. this pr should fix it
2024-01-09 04:07:30 +00:00
Warren
95e2bc0ef8 chore: release v1.4.0 2024-01-03 23:52:06 -08:00