/* core/server/dashboard_page.h -- the dashboard's page: one document with its script, style and * type inlined, so the engine serves it from memory with no asset directory and no fetch from * another origin (it runs on machines with no route to one). * * GENERATED by tools/dashboard_embed.py from the build of dashboard/; edit the sources there and * run `npm run embed` in that directory. The ctest `dashboard_page` fails while the sources and * this file disagree. */ #pragma once /* A digest of dashboard/'s sources as of this build of the page. */ static const char* const kPageSources = "6e4b952a7acd6ebb56a321f90011faeb0f937f2538dbc76c804a068186a2198e"; /* Every field the page reads of a route's object, as "object.field": the members of the * interfaces in dashboard/src/lib/api.ts, which the page's compiler holds it to. Ends with null. */ static const char* const kPageReads[] = { "stats.model", "stats.uptime_s", "stats.in_flight", "stats.max_num_seqs", "stats.jobs", "stats.running", "stats.waiting", "stats.kv_bytes_used", "stats.kv_bytes_total", "stats.prefix_hit_rate", "stats.prefill_tps", "stats.decode_tps", "stats.total_requests", "stats.preemptions", "stats.step_ns_decode_best", "stats.draft_positions", "stats.requests", "stats.experts", "requests.id", "requests.state", "requests.prompt", "requests.computed", "requests.cached", "requests.output", "requests.max", "requests.age_s", "requests.tps", "draft_positions.reached", "draft_positions.rate", "experts.n_units", "experts.tiers", "experts.layer_units", "experts.layer_resident", "tiers.name", "tiers.units", "tiers.bytes", "sessions.sessions", "sessions.enabled", "sessions.pool", "sessions.occupancy", "sessions.linear", "sessions.prefix_hit_rate", "session.id", "session.label", "session.tokens", "session.bytes", "session.idle_s", "session.on_device", "session.on_host", "session.moving", "session.snapshots", "session.resume_tokens", nullptr }; static const char* const kPage = R"RADPAGE( radiance
)RADPAGE";