The dashboard shows query tiles and a stacked queries-over-time chart drawn with Chart.js in the active theme's colours, with a node filter #121
Labels
No labels
agent
api-regen
agent
architect
agent
coder
agent
console-coder
agent
docs-writer
agent
mechanic
agent
protocol-coder
agent
storage-coder
area/api
area/ci
area/console
area/dhcp
area/dns
area/docs
area/packaging
area/process
area/storage
area/windows
kind
bug
kind
chore
kind
docs
kind
epic
kind
feature
kind
performance
kind
security
kind
test
priority
high
priority
low
priority
medium
resolution
duplicate
resolution
not-a-bug
resolution
wontfix
status
blocked
status
in-progress
status
needs-decision
status
needs-design
status
ready
theme
ad-samba-dns
theme
alternatives-benchmark
theme
console-toolchain
theme
later
theme
parity-devices
theme
parity-query
theme
post-release-fixes
theme
tracker-setup
theme
valkey
theme
windows-installer
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
Depends on
#122 The dashboard shows top-N bar charts and answer-mix doughnuts that link to the filtered query log
lantea-one/ninlil
#123 The dashboard shows each upstream's response time over time
lantea-one/ninlil
Reference
lantea-one/ninlil#121
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
This is the first visible half of #110, and it lays the chart foundation and the node filter #122, #123 and #124 reuse.
What changes
src/angular/package.json: add@coreui/angular-chartjs(the 5.x line that matches@coreui/angular5.7) andchart.js4.x, both MIT. Record the bundle size before and after in the PR; the charts load with the dashboard route only.src/angular/src/app/shared/charts/(new): a chart-theme helper that reads colours from the CoreUI CSS variables of the active theme (body colour, border colour, the palette's primary, success, danger, warning and info) and rebuilds chart options whenThemeService.resolvedColorScheme()orThemeService.palette()changes (src/angular/src/app/core/theme/theme.service.ts:61-82). Every chart in #122 to #124 uses it.src/angular/src/app/features/dashboard/:nodeIdon every statistics call.GET api/statistics/nodes), shown only when more than one node is listed.querylog:read, likefetchCount(dashboard-stats.service.ts:58-69).Acceptance
nodeIdon the summary and time-series calls; with one node the selector is hidden.resolvedColorSchemefrom light to dark changes the chart's tick colour to the dark theme's body colour.Source
audit-feature-parity.md§2A #1.