Skip to content

Commit

Permalink
Service dashboard updates and fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeShi42 committed Jan 11, 2024
1 parent 2bb6f0f commit 33d654e
Show file tree
Hide file tree
Showing 6 changed files with 245 additions and 165 deletions.
1 change: 1 addition & 0 deletions packages/api/src/clickhouse/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1639,6 +1639,7 @@ FROM ??
WHERE
(?)
AND trace_id IN (SELECT trace_id FROM trace_ids)
AND _duration >= 0
GROUP BY "group"
ORDER BY "series_0.data" DESC
LIMIT ?`,
Expand Down
2 changes: 1 addition & 1 deletion packages/app/src/DBQuerySidePanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const defaultTimeRange = parseTimeQuery('Past 1h', false);

const CHART_HEIGHT = 300;

const DB_STATEMENT_PROPERTY = 'db.statement';
const DB_STATEMENT_PROPERTY = 'db.normalized_statement';

export default function DBQuerySidePanel() {
const [service] = useQueryParam('service', withDefault(StringParam, ''), {
Expand Down
1 change: 1 addition & 0 deletions packages/app/src/EndpointSidePanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ export default function EndpointSidePanel() {
<EndpointLatencyTile
dateRange={dateRange}
height={CHART_HEIGHT}
scopeWhereQuery={scopeWhereQuery}
/>
</Grid.Col>
<Grid.Col span={12}>
Expand Down
2 changes: 1 addition & 1 deletion packages/app/src/LogSidePanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2813,7 +2813,7 @@ export default function LogSidePanel({

{/* Metrics */}
{displayedTab === 'metrics' ? (
<div className="px-4 overflow-auto">
<div className="px-4 flex-grow-1 overflow-auto">
<MetricsSubpanel logData={logData} />
</div>
) : null}
Expand Down
Loading

0 comments on commit 33d654e

Please sign in to comment.