- Allow IDE to determine the best formatter based on settings, not force ESLint formatter (which has issues in v9)
- Added Prettier extension to VSCode extensions list.
- Updated ESLint settings to include working directories for better integration.
- Removed redundant TypeScript formatter settings.
- Excluded `.next` directory from search results in VSCode settings.
- Minor formatting adjustments in ESLint configuration files for consistency.
References: https://github.com/microsoft/vscode-eslint/issues/1826
<img width="1123" alt="image" src="https://github.com/hyperdxio/hyperdx/assets/2781687/30d8d1f7-092a-4401-84b9-faab676b14e3">
- Introduces a new `/chart/series` endpoint that will take an array of ChartSeries (logs or metrics) and return them back in `series_${i}.data` columns. Can also return in `ratio` mode if `seriesReturnType` is specified and 2 series are submitted.
- Creates a new `HDXMultiSeriesTimeChart` to render a chart with multiple series. I have a draft of mostly-done `HDXMultiSeriesTableChart` as well but I figured I'd spare the PR from blowing up further.
- Introduces `ChartSeriesFormCompact`, a hacky-ish UI to fit multiple series in an edit form easily (part of `EditMultiSeriesChartForm` which will be reused for tables).
- Modifies checkAlert to operate on multiple series, mostly through `getMultiSeriesChartLegacyFormat` which will flatten a multi-series query back into the `{ data:.., ts_bucket:..., group:... }` format.
- Adds real CH-backed tests to `checkAlert.test.ts` and `clickhouse.test.ts` with some util functions.