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>
This commit is contained in:
github-actions[bot] 2025-03-13 03:32:40 -07:00 committed by GitHub
parent 521facae92
commit 184402dccf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
18 changed files with 154 additions and 68 deletions

View file

@ -7,10 +7,22 @@
"@hyperdx/common-utils": "0.1.0"
},
"changesets": [
"breezy-ligers-divide",
"dull-radios-wink",
"famous-laws-laugh",
"famous-poets-rush",
"forty-mails-deliver",
"lemon-walls-collect",
"metal-doors-burn",
"nervous-timers-dream",
"odd-hats-wash",
"olive-peaches-marry",
"perfect-nails-doubt",
"taco-cat-v2"
"silent-dolphins-call",
"silver-mails-try",
"spicy-guests-bow",
"stale-maps-divide",
"taco-cat-v2",
"tasty-bats-refuse"
]
}

View file

@ -0,0 +1,7 @@
---
"@hyperdx/common-utils": patch
"@hyperdx/api": patch
"@hyperdx/app": patch
---
fix: use quote for aliases for sql compatibility

4
.env
View file

@ -6,8 +6,8 @@ LOCAL_IMAGE_NAME=ghcr.io/hyperdxio/hyperdx-local
LOCAL_IMAGE_NAME_DOCKERHUB=hyperdx/hyperdx-local
OTEL_COLLECTOR_IMAGE_NAME=ghcr.io/hyperdxio/hyperdx-otel-collector
OTEL_COLLECTOR_IMAGE_NAME_DOCKERHUB=hyperdx/hyperdx-otel-collector
CHANGESET_TAG=2.0.0-beta.10
IMAGE_VERSION_SUB_TAG=.10
CHANGESET_TAG=2.0.0-beta.12
IMAGE_VERSION_SUB_TAG=.12
IMAGE_VERSION=2-beta
# Set up domain URLs

View file

@ -12,8 +12,7 @@ jobs:
name: Publish @hyperdx/common-utils
runs-on: ubuntu-latest
outputs:
changeset_outputs_hasChangesets:
${{ steps.changesets.outputs.hasChangesets }}
changeset_outputs_hasChangesets: ${{ steps.changesets.outputs.hasChangesets }}
steps:
- name: Checkout
uses: actions/checkout@v4
@ -47,13 +46,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
release:
[
'release-app',
'release-otel-collector',
'release-local',
'release-local-ui',
]
release: ['release-app', 'release-otel-collector', 'release-local']
steps:
- name: Checkout
uses: actions/checkout@v4
@ -75,7 +68,5 @@ jobs:
- name: Load environment variables from .env
uses: xom9ikk/dotenv@v2
- name: Publish images
if:
needs.publish_common_utils.outputs.changeset_outputs_hasChangesets ==
'false'
if: needs.publish_common_utils.outputs.changeset_outputs_hasChangesets == 'false'
run: make ${{ matrix.release }}

View file

@ -82,33 +82,28 @@ services:
- internal
depends_on:
- ch-server
# task-check-alerts:
# image: ${IMAGE_NAME_HDX}:${IMAGE_VERSION}-app
# entrypoint: 'node'
# command: './build/tasks/index.js check-alerts'
# environment:
# APP_TYPE: 'scheduled-task'
# CLICKHOUSE_LOG_LEVEL: ${HYPERDX_LOG_LEVEL}
# EXPRESS_SESSION_SECRET: 'hyperdx is cool 👋'
# FRONTEND_URL: ${HYPERDX_APP_URL}:${HYPERDX_APP_PORT} # need to be localhost (CORS)
# HDX_NODE_ADVANCED_NETWORK_CAPTURE: 1
# HDX_NODE_BETA_MODE: 0
# HDX_NODE_CONSOLE_CAPTURE: 1
# HYPERDX_API_KEY: ${HYPERDX_API_KEY}
# HYPERDX_LOG_LEVEL: ${HYPERDX_LOG_LEVEL}
# MINER_API_URL: 'http://miner:5123'
# MONGO_URI: 'mongodb://db:27017/hyperdx'
# NODE_ENV: development
# OTEL_EXPORTER_OTLP_ENDPOINT: 'http://otel-collector:4318'
# OTEL_SERVICE_NAME: 'hdx-oss-task-check-alerts'
# REDIS_URL: redis://redis:6379
# restart: always
# networks:
# - internal
# depends_on:
# - ch-server
# - db
# - redis
task-check-alerts:
image: ${IMAGE_NAME_HDX}:${IMAGE_VERSION}
entrypoint: 'node'
command: '/app/api/build/tasks/index.js check-alerts'
environment:
APP_TYPE: 'scheduled-task'
FRONTEND_URL: ${HYPERDX_APP_URL}:${HYPERDX_APP_PORT}
HYPERDX_API_KEY: ${HYPERDX_API_KEY}
HYPERDX_LOG_LEVEL: ${HYPERDX_LOG_LEVEL}
MINER_API_URL: 'http://miner:5123'
MONGO_URI: 'mongodb://db:27017/hyperdx'
NODE_ENV: 'development' # so task will CronJob library
OTEL_EXPORTER_OTLP_ENDPOINT: 'http://otel-collector:4318'
OTEL_SERVICE_NAME: 'hdx-oss-task-check-alerts'
REDIS_URL: redis://redis:6379
restart: always
networks:
- internal
depends_on:
- ch-server
- db
- redis
app:
image: ${IMAGE_NAME_HDX}:${IMAGE_VERSION}
ports:

View file

@ -1,5 +1,34 @@
# @hyperdx/api
## 2.0.0-beta.12
### Patch Changes
- fix: use quote for aliases for sql compatibility
- Updated dependencies
- @hyperdx/common-utils@0.2.0-beta.1
## 2.0.0-beta.11
### Minor Changes
- 759da7a: Support multiple OTEL metric types in source configuration setup.
### Patch Changes
- 99b60d5: Fixed sum metric query to pass integration test case from v1.
- cd0e4fd: fix: correct handling of gauge metrics in renderChartConfig
- Updated dependencies [8acc725]
- Updated dependencies [9c5c239]
- Updated dependencies [c50c42d]
- Updated dependencies [759da7a]
- Updated dependencies [e80630c]
- Updated dependencies [29e8f37]
- Updated dependencies [99b60d5]
- Updated dependencies [57a6bc3]
- Updated dependencies [cd0e4fd]
- @hyperdx/common-utils@0.2.0-beta.0
## 2.0.0-beta.10
### Patch Changes

View file

@ -1,6 +1,6 @@
{
"name": "@hyperdx/api",
"version": "2.0.0-beta.10",
"version": "2.0.0-beta.12",
"license": "MIT",
"private": true,
"engines": {
@ -8,7 +8,7 @@
},
"dependencies": {
"@clickhouse/client": "^0.2.10",
"@hyperdx/common-utils": "^0.1.0",
"@hyperdx/common-utils": "^0.2.0-beta.1",
"@hyperdx/lucene": "^3.1.1",
"@hyperdx/node-opentelemetry": "^0.8.1",
"@opentelemetry/api": "^1.8.0",

View file

@ -24,5 +24,6 @@
"strict": true,
"target": "ES2022"
},
"include": ["src", "migrations"]
"include": ["src", "migrations"],
"exclude": ["node_modules", "**/*.test.ts"]
}

View file

@ -1,5 +1,36 @@
# @hyperdx/app
## 2.0.0-beta.12
### Patch Changes
- fix: use quote for aliases for sql compatibility
- Updated dependencies
- @hyperdx/common-utils@0.2.0-beta.1
## 2.0.0-beta.11
### Minor Changes
- 759da7a: Support multiple OTEL metric types in source configuration setup.
- 57a6bc3: feat: BETA metrics support (sum + gauge)
### Patch Changes
- ab617c1: feat: support multiseries metrics chart
- 4514f2c: Remove connection health hook - too noisy
- cd0e4fd: fix: correct handling of gauge metrics in renderChartConfig
- Updated dependencies [8acc725]
- Updated dependencies [9c5c239]
- Updated dependencies [c50c42d]
- Updated dependencies [759da7a]
- Updated dependencies [e80630c]
- Updated dependencies [29e8f37]
- Updated dependencies [99b60d5]
- Updated dependencies [57a6bc3]
- Updated dependencies [cd0e4fd]
- @hyperdx/common-utils@0.2.0-beta.0
## 2.0.0-beta.10
### Patch Changes

View file

@ -1,6 +1,6 @@
{
"name": "@hyperdx/app",
"version": "2.0.0-beta.10",
"version": "2.0.0-beta.12",
"private": true,
"license": "MIT",
"engines": {
@ -27,7 +27,7 @@
"@codemirror/lang-sql": "^6.7.0",
"@hookform/resolvers": "^3.9.0",
"@hyperdx/browser": "^0.21.1",
"@hyperdx/common-utils": "^0.1.0",
"@hyperdx/common-utils": "^0.2.0-beta.1",
"@hyperdx/node-opentelemetry": "^0.8.1",
"@lezer/highlight": "^1.2.0",
"@mantine/core": "7.9.2",

View file

@ -41,7 +41,7 @@ import {
AppNavLink,
AppNavUserMenu,
} from './AppNav.components';
import { IS_DEV, IS_LOCAL_MODE } from './config';
import { IS_LOCAL_MODE } from './config';
import Icon from './Icon';
import Logo from './Logo';
import { useSavedSearches, useUpdateSavedSearch } from './savedSearch';
@ -690,16 +690,14 @@ export default function AppNav({ fixed = false }: { fixed?: boolean }) {
href="/chart"
iconName="bi-graph-up"
/>
{IS_DEV && (
{!IS_LOCAL_MODE && (
<AppNavLink label="Alerts" href="/alerts" iconName="bi-bell" />
)}
{IS_DEV && (
<AppNavLink
label="Client Sessions"
href="/sessions"
iconName="bi-laptop"
/>
)}
<AppNavLink
label="Client Sessions"
href="/sessions"
iconName="bi-laptop"
/>
<AppNavLink
label="Dashboards"

View file

@ -61,7 +61,6 @@ import { SQLInlineEditorControlled } from '@/components/SQLInlineEditor';
import { Tags } from '@/components/Tags';
import { TimePicker } from '@/components/TimePicker';
import WhereLanguageControlled from '@/components/WhereLanguageControlled';
import { IS_DEV } from '@/config';
import { IS_LOCAL_MODE } from '@/config';
import {
useAliasMapFromChartConfig,
@ -916,7 +915,7 @@ function DBSearchPage() {
return (
<Flex direction="column" h="100vh" style={{ overflow: 'hidden' }}>
{IS_DEV && isAlertModalOpen && (
{!IS_LOCAL_MODE && isAlertModalOpen && (
<DBSearchPageAlertModal
id={savedSearch?.id}
searchedConfig={searchedConfig}
@ -1012,7 +1011,7 @@ function DBSearchPage() {
Update
</Button>
)}
{IS_DEV && (
{!IS_LOCAL_MODE && (
<Button
variant="outline"
color="dark.2"

View file

@ -44,7 +44,7 @@ import DBTableChart from '@/components/DBTableChart';
import { DBTimeChart } from '@/components/DBTimeChart';
import { SQLInlineEditorControlled } from '@/components/SQLInlineEditor';
import { TimePicker } from '@/components/TimePicker';
import { IS_DEV } from '@/config';
import { IS_LOCAL_MODE } from '@/config';
import { GranularityPickerControlled } from '@/GranularityPicker';
import { useFetchMetricResourceAttrs } from '@/hooks/useFetchMetricResourceAttrs';
import SearchInputV2 from '@/SearchInputV2';
@ -622,7 +622,7 @@ export default function EditTimeChartForm({
)}
{displayType === DisplayType.Line &&
dashboardId &&
IS_DEV && (
!IS_LOCAL_MODE && (
<Button
variant="subtle"
size="sm"

View file

@ -26,6 +26,6 @@ export const IS_LOCAL_MODE = //true;
(process.env.NEXT_PUBLIC_IS_LOCAL_MODE ?? 'false') === 'true';
// Features in development
export const IS_METRICS_ENABLED = false || IS_DEV;
export const IS_METRICS_ENABLED = true;
export const IS_MTVIEWS_ENABLED = false;
export const IS_SESSIONS_ENABLED = false || IS_DEV;
export const IS_SESSIONS_ENABLED = true;

View file

@ -24,5 +24,5 @@
}
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
"exclude": ["node_modules"]
"exclude": ["node_modules", "**/*.test.ts", "**/*.test.tsx"]
}

View file

@ -1,5 +1,28 @@
# @hyperdx/common-utils
## 0.2.0-beta.1
### Patch Changes
- fix: use quote for aliases for sql compatibility
## 0.2.0-beta.0
### Minor Changes
- 759da7a: Support multiple OTEL metric types in source configuration setup.
- e80630c: Add chart support for querying OTEL histogram metric table
- 57a6bc3: feat: BETA metrics support (sum + gauge)
### Patch Changes
- 8acc725: Fixes to histogram value computation
- 9c5c239: fix: handle 'filters' config (metrics)
- c50c42d: add correlate log in trace waterfall chart
- 29e8f37: fix: aggCondition issue in sum/gauge/histogram metrics
- 99b60d5: Fixed sum metric query to pass integration test case from v1.
- cd0e4fd: fix: correct handling of gauge metrics in renderChartConfig
## 0.1.0
### Minor Changes

View file

@ -1,7 +1,7 @@
{
"name": "@hyperdx/common-utils",
"description": "Common utilities for HyperDX application",
"version": "0.1.0",
"version": "0.2.0-beta.1",
"license": "MIT",
"publishConfig": {
"access": "public"

View file

@ -4216,7 +4216,7 @@ __metadata:
resolution: "@hyperdx/api@workspace:packages/api"
dependencies:
"@clickhouse/client": "npm:^0.2.10"
"@hyperdx/common-utils": "npm:^0.1.0"
"@hyperdx/common-utils": "npm:^0.2.0-beta.1"
"@hyperdx/lucene": "npm:^3.1.1"
"@hyperdx/node-opentelemetry": "npm:^0.8.1"
"@opentelemetry/api": "npm:^1.8.0"
@ -4303,7 +4303,7 @@ __metadata:
"@hookform/devtools": "npm:^4.3.1"
"@hookform/resolvers": "npm:^3.9.0"
"@hyperdx/browser": "npm:^0.21.1"
"@hyperdx/common-utils": "npm:^0.1.0"
"@hyperdx/common-utils": "npm:^0.2.0-beta.1"
"@hyperdx/node-opentelemetry": "npm:^0.8.1"
"@jedmao/location": "npm:^3.0.0"
"@lezer/highlight": "npm:^1.2.0"
@ -4429,7 +4429,7 @@ __metadata:
languageName: node
linkType: hard
"@hyperdx/common-utils@npm:^0.1.0, @hyperdx/common-utils@workspace:packages/common-utils":
"@hyperdx/common-utils@npm:^0.2.0-beta.1, @hyperdx/common-utils@workspace:packages/common-utils":
version: 0.0.0-use.local
resolution: "@hyperdx/common-utils@workspace:packages/common-utils"
dependencies: