Skip to content

feat: queryChartConfig method + events chart ratio #759

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: v2
Choose a base branch
from

Conversation

wrn14897
Copy link
Member

@wrn14897 wrn14897 commented Apr 18, 2025

Ref: HDX-1631

  1. use temp centralized queryChartConfig to handle multi-series chart (metrics specifically)
  2. move ratio computation logics (events chart) to the renderChartConfig
  3. fix missing seriesReturnType prop in chartConfig in the checkAlert file

Copy link

changeset-bot bot commented Apr 18, 2025

🦋 Changeset detected

Latest commit: b8e27b1

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
@hyperdx/common-utils Patch
@hyperdx/api Patch
@hyperdx/app Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

vercel bot commented Apr 18, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
hyperdx-v2-oss-app ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 18, 2025 4:42pm

@@ -19,107 +19,6 @@ import { IS_MTVIEWS_ENABLED } from '@/config';
import { buildMTViewSelectQuery } from '@/hdxMTViews';
import { getMetadata } from '@/metadata';

export const isMetric = (config: ChartConfigWithOptDateRange) =>
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Move all these to common-utils

@wrn14897 wrn14897 force-pushed the warren/introduce-queryChartConfig-method branch from f29b031 to 218fc8c Compare April 18, 2025 05:14
@wrn14897 wrn14897 changed the title (WIP) feat: queryChartConfig method + events chart ratio feat: queryChartConfig method + events chart ratio Apr 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant