[{"data":1,"prerenderedAt":564},["ShallowReactive",2],{"repo-tree":3,"repo-\u002Fapps\u002Flearning-api\u002Fmonitoring\u002Freadme":283},[4,7,10,13,16,19,22,25,28,31,34,37,40,43,46,49,52,55,58,61,64,67,69,72,75,78,81,84,86,88,90,93,96,99,102,105,108,111,114,117,120,123,125,127,129,131,133,135,138,141,143,146,149,152,155,158,161,164,167,169,172,175,178,180,183,186,189,192,195,198,201,203,206,209,212,215,218,221,224,227,230,233,236,239,242,245,248,251,254,257,260,263,266,269,272,275,278,281],{"path":5,"title":6},"\u002Fagents\u002Fbackend-code-style","Backend Conventions",{"path":8,"title":9},"\u002Fagents\u002Fdatabase","Database",{"path":11,"title":12},"\u002Fagents\u002Fportal-code-style","Portal Conventions",{"path":14,"title":15},"\u002Fagents\u002Ftranslation","Translation",{"path":17,"title":18},"\u002Fconventions\u002Fbackend-coding","Backend coding conventions",{"path":20,"title":21},"\u002Fconventions\u002Ffrontend-coding","Frontend coding conventions",{"path":23,"title":24},"\u002Fdevelopment-process","Development process",{"path":26,"title":27},"\u002Flearning-api-preview-hetzner-setup","Learning API Preview on Hetzner + Cloudflare",{"path":29,"title":30},"\u002Flearning-api-preview-vm-plan","Learning API Preview VM Plan",{"path":32,"title":33},"\u002Fmonorepo-structure","Monorepo structure",{"path":35,"title":36},"\u002Foperations","Operations — bugs and support",{"path":38,"title":39},"\u002Fpostmortems\u002F2026-03-16_onboarding-currency-regression","Onboarding Zod transform silently broken — web signups assigned wrong checkout currency",{"path":41,"title":42},"\u002Fpostmortems\u002Freadme","Postmortems",{"path":44,"title":45},"\u002Fpostmortems\u002F_template","TEMPLATE",{"path":47,"title":48},"\u002Fpostmortems\u002Fposthog-comparison","Postmortem practice — comparison with PostHog",{"path":50,"title":51},"\u002Fpreview-environment-plan","Preview Environment Plan",{"path":53,"title":54},"\u002Fprinciples","Engineering principles",{"path":56,"title":57},"\u002Fworking-with-ai","Working with AI",{"path":59,"title":60},"\u002F.claude\u002Fskills\u002Feval-playground\u002Fskill","Eval Playground — Co-development Skill",{"path":62,"title":63},"\u002F.claude\u002Fskills\u002Ffigma-diff-section\u002Fskill","Figma Diff Section Pipeline",{"path":65,"title":66},"\u002Fagents","AGENTS.md",{"path":68,"title":66},"\u002Fclaude",{"path":70,"title":71},"\u002Freadme","Studyflash",{"path":73,"title":74},"\u002Fapps\u002Fcore-api\u002Fagents","Core API (apps\u002Fcore-api)",{"path":76,"title":77},"\u002Fapps\u002Fcore-api\u002Freadme","README",{"path":79,"title":80},"\u002Fapps\u002Femail-previews\u002Fagents","Email Previews (apps\u002Femail-previews)",{"path":82,"title":83},"\u002Fapps\u002Flanding-page\u002Fagents","Landing Page (apps\u002Flanding-page)",{"path":85,"title":83},"\u002Fapps\u002Flanding-page\u002Fclaude",{"path":87,"title":66},"\u002Fapps\u002Flearning-api\u002Fagents",{"path":89,"title":77},"\u002Fapps\u002Flearning-api\u002Freadme",{"path":91,"title":92},"\u002Fapps\u002Flearning-api\u002Fevals-playground\u002Feval_metrics_design","Surface-Specific Eval Metrics Design",{"path":94,"title":95},"\u002Fapps\u002Flearning-api\u002Fevals-playground\u002Ftest_set","Quiz Eval Test Set",{"path":97,"title":98},"\u002Fapps\u002Flearning-api\u002Fevals-playground\u002Ffrontend\u002Freadme","React + TypeScript + Vite",{"path":100,"title":101},"\u002Fapps\u002Flearning-api\u002Fevals-playground\u002Fknown-issues\u002Fcontent-pillar-shallow-coverage\u002Freadme","Content pillar misses subtopics in dense documents",{"path":103,"title":104},"\u002Fapps\u002Flearning-api\u002Fevals-playground\u002Fknown-issues\u002Fdocling-empty-section-headers\u002Freadme","Empty section headers dropped by docling chunker",{"path":106,"title":107},"\u002Fapps\u002Flearning-api\u002Fevals-playground\u002Fknown-issues\u002Fdocling-table-reading-order\u002Freadme","Table\u002Fbox layout causes wrong reading order",{"path":109,"title":110},"\u002Fapps\u002Flearning-api\u002Fevals-playground\u002Fmetrics\u002Freadme","Quiz eval metrics — canonical rubrics",{"path":112,"title":113},"\u002Fapps\u002Flearning-api\u002Fevals-playground\u002Freports\u002F2026-04-12-quiz-summary-feedback-current-state","Quiz and Summary Feedback Current State",{"path":115,"title":116},"\u002Fapps\u002Flearning-api\u002Fevals-playground\u002Freports\u002F2026-04-24-quiz-eval-metrics","Quiz Evaluation Metrics",{"path":118,"title":119},"\u002Fapps\u002Flearning-api\u002Fevals-playground\u002Freports\u002F2026-05-01-quiz-eval-current-state","Quiz Eval Current State",{"path":121,"title":122},"\u002Fapps\u002Flearning-api\u002Fmonitoring\u002Freadme","Monitoring Stack",{"path":124,"title":77},"\u002Fapps\u002Flearning-api\u002Fshared\u002Freadme",{"path":126,"title":77},"\u002Fapps\u002Flearning-api\u002Fworkers\u002Flearning_agents\u002Fflashcard_agent\u002Freadme",{"path":128,"title":77},"\u002Fapps\u002Flearning-api\u002Fworkers\u002Flearning_agents\u002Fingestion_agent\u002Freadme",{"path":130,"title":77},"\u002Fapps\u002Flearning-api\u002Fworkers\u002Flearning_agents\u002Fquiz_agent\u002Freadme",{"path":132,"title":77},"\u002Fapps\u002Flearning-api\u002Fworkers\u002Flearning_agents\u002Fsummary_agent\u002Freadme",{"path":134,"title":77},"\u002Fapps\u002Flearning-api\u002Fworkers\u002Fparser\u002Freadme",{"path":136,"title":137},"\u002Fapps\u002Fmarketing-emails-preview\u002Fagents","Marketing Emails Preview (apps\u002Fmarketing-emails-preview)",{"path":139,"title":140},"\u002Fapps\u002Fmobile-app\u002Fagents","StudyFlash Mobile App - Claude Code Configuration",{"path":142,"title":140},"\u002Fapps\u002Fmobile-app\u002Fclaude",{"path":144,"title":145},"\u002Fapps\u002Fmountain-max\u002Fagents","Mountain Max (apps\u002Fmountain-max)",{"path":147,"title":148},"\u002Fapps\u002Fmountain-max\u002Fgame\u002Freadme","Mountain Max Game",{"path":150,"title":151},"\u002Fapps\u002Fportal\u002Fagents","Portal (apps\u002Fportal)",{"path":153,"title":154},"\u002Fapps\u002Fportal\u002Freadme","Nuxt Minimal Starter",{"path":156,"title":157},"\u002Fapps\u002Fportal\u002Fapp\u002Fcomposables\u002Ffiles\u002Freadme","File Upload Composables",{"path":159,"title":160},"\u002Fapps\u002Fportal\u002Fdocs\u002Flibrary-routing","Library Routing Documentation",{"path":162,"title":163},"\u002Fapps\u002Fsupabase\u002Fagents","Supabase (apps\u002Fsupabase)",{"path":165,"title":166},"\u002Fapps\u002Fwrapped\u002Fagents","Wrapped (apps\u002Fwrapped)",{"path":168,"title":98},"\u002Fapps\u002Fwrapped\u002Freadme",{"path":170,"title":171},"\u002Finfra\u002Freadme","infra\u002F",{"path":173,"title":174},"\u002Finfra\u002Fdns\u002Freadme","DNS Infrastructure",{"path":176,"title":177},"\u002Finfra\u002Fdokploy\u002Freadme","studyflash-dokploy",{"path":179,"title":77},"\u002Finfra\u002Fdokploy\u002Fsdk\u002Fnodejs\u002Freadme",{"path":181,"title":182},"\u002Finfra\u002Finfisical\u002Freadme","Infisical Infrastructure",{"path":184,"title":185},"\u002Finfra\u002Flearning-api\u002Freadme","Pulumi GCP TypeScript Template",{"path":187,"title":188},"\u002Finfra\u002Fopenreplay\u002Freadme","OpenReplay on Hetzner",{"path":190,"title":191},"\u002Finfra\u002Fscripts\u002Freadme","infra\u002Fscripts\u002F",{"path":193,"title":194},"\u002Finfra\u002Fturborepo-cache\u002Freadme","Turborepo Remote Cache Infrastructure",{"path":196,"title":197},"\u002Finternal\u002Fchatwoot\u002Freadme","Chatwoot Infrastructure",{"path":199,"title":200},"\u002Finternal\u002Fchatwoot\u002Fprovider\u002Freadme","studyflash-chatwoot-provider",{"path":202,"title":77},"\u002Finternal\u002Fchatwoot\u002Fprovider\u002Fsdk\u002Fnodejs\u002Freadme",{"path":204,"title":205},"\u002Finternal\u002Fdocs\u002Freadme","internal\u002Fdocs",{"path":207,"title":208},"\u002Finternal\u002Fsupport-bot\u002Fclaude","Support Bot (Maximilian)",{"path":210,"title":211},"\u002Finternal\u002Fsupport-bot\u002Freadme","Studyflash Customer Support Bot (Maximilian)",{"path":213,"title":214},"\u002Finternal\u002Fsupport-bot\u002Fkb\u002Faccount_issues","Account Issues",{"path":216,"title":217},"\u002Finternal\u002Fsupport-bot\u002Fkb\u002Fbilling_invoice","Billing Invoice",{"path":219,"title":220},"\u002Finternal\u002Fsupport-bot\u002Fkb\u002Fcontent_upload","Content Upload",{"path":222,"title":223},"\u002Finternal\u002Fsupport-bot\u002Fkb\u002Fdata_loss","Data Loss",{"path":225,"title":226},"\u002Finternal\u002Fsupport-bot\u002Fkb\u002Fflashcard_issues","Flashcard Issues",{"path":228,"title":229},"\u002Finternal\u002Fsupport-bot\u002Fkb\u002Fgarbage","Garbage",{"path":231,"title":232},"\u002Finternal\u002Fsupport-bot\u002Fkb\u002Fgeneral_how_to","General How To",{"path":234,"title":235},"\u002Finternal\u002Fsupport-bot\u002Fkb","Knowledge Base Index",{"path":237,"title":238},"\u002Finternal\u002Fsupport-bot\u002Fkb\u002Flanguage_issues","Language Issues",{"path":240,"title":241},"\u002Finternal\u002Fsupport-bot\u002Fkb\u002Fmindmap_issues","Mindmap Issues",{"path":243,"title":244},"\u002Finternal\u002Fsupport-bot\u002Fkb\u002Fmisunderstanding","Misunderstanding",{"path":246,"title":247},"\u002Finternal\u002Fsupport-bot\u002Fkb\u002Fmock_exam_issues","Mock Exam Issues",{"path":249,"title":250},"\u002Finternal\u002Fsupport-bot\u002Fkb\u002Fpodcast_issues","Podcast Issues",{"path":252,"title":253},"\u002Finternal\u002Fsupport-bot\u002Fkb\u002Fquiz_issues","Quiz Issues",{"path":255,"title":256},"\u002Finternal\u002Fsupport-bot\u002Fkb\u002Frefund_request","Refund Request",{"path":258,"title":259},"\u002Finternal\u002Fsupport-bot\u002Fkb\u002Fsubscription_cancellation","Subscription Cancellation",{"path":261,"title":262},"\u002Finternal\u002Fsupport-bot\u002Fkb\u002Fsubscription_info","Subscription Info",{"path":264,"title":265},"\u002Finternal\u002Fsupport-bot\u002Fkb\u002Fsummary_issues","Summary Issues",{"path":267,"title":268},"\u002Finternal\u002Fsupport-bot\u002Fkb\u002Ftechnical_errors","Technical Errors",{"path":270,"title":271},"\u002Finternal\u002Fsupport-bot\u002Fkb\u002Fvideo_issues","Video Issues",{"path":273,"title":274},"\u002Fpackages\u002Fcommon\u002Fdocs\u002Fearly-access-features","Declarative Early Access Features",{"path":276,"title":277},"\u002Fpackages\u002Fcommon\u002Fscripts\u002Freadme","Common Package Scripts",{"path":279,"title":280},"\u002Fpackages\u002Fdevtools\u002Ffigma-plugins\u002Freadme","Figma plugins",{"path":282,"title":77},"\u002Fpackages\u002Fpulumi-infisical\u002Freadme",{"id":284,"title":122,"body":285,"description":295,"extension":558,"lastReviewed":559,"meta":560,"navigation":510,"owner":559,"path":121,"seo":561,"status":559,"stem":562,"tags":559,"__hash__":563},"repo\u002Fapps\u002Flearning-api\u002Fmonitoring\u002FREADME.md",{"type":286,"value":287,"toc":549},"minimark",[288,292,296,301,306,335,339,441,445,452,460,464,470,474,477,545],[289,290,122],"h1",{"id":291},"monitoring-stack",[293,294,295],"p",{},"This directory contains all monitoring infrastructure for the learning-api project.",[297,298,300],"h2",{"id":299},"components","Components",[302,303,305],"h3",{"id":304},"core-monitoring","Core Monitoring",[307,308,309,317,323,329],"ul",{},[310,311,312,316],"li",{},[313,314,315],"strong",{},"Prometheus",": Metrics collection and storage",[310,318,319,322],{},[313,320,321],{},"Grafana",": Visualization dashboards",[310,324,325,328],{},[313,326,327],{},"Pushgateway",": For batch job metrics",[310,330,331,334],{},[313,332,333],{},"Flower",": Celery task monitoring UI",[297,336,338],{"id":337},"quick-start","Quick Start",[340,341,342,383,420],"ol",{},[310,343,344,347],{},[313,345,346],{},"Start monitoring stack:",[348,349,354],"pre",{"className":350,"code":351,"language":352,"meta":353,"style":353},"language-bash shiki shiki-themes github-light github-dark","cd monitoring\ndocker-compose up -d\n","bash","",[355,356,357,370],"code",{"__ignoreMap":353},[358,359,362,366],"span",{"class":360,"line":361},"line",1,[358,363,365],{"class":364},"sj4cs","cd",[358,367,369],{"class":368},"sZZnC"," monitoring\n",[358,371,373,377,380],{"class":360,"line":372},2,[358,374,376],{"class":375},"sScJk","docker-compose",[358,378,379],{"class":368}," up",[358,381,382],{"class":364}," -d\n",[310,384,385,388],{},[313,386,387],{},"Access services:",[307,389,390,399,406,413],{},[310,391,392,393],{},"Grafana: ",[394,395,396],"a",{"href":396,"rel":397},"http:\u002F\u002Flocalhost:3002",[398],"nofollow",[310,400,401,402],{},"Prometheus: ",[394,403,404],{"href":404,"rel":405},"http:\u002F\u002Flocalhost:9090",[398],[310,407,408,409],{},"Flower: ",[394,410,411],{"href":411,"rel":412},"http:\u002F\u002Flocalhost:5555",[398],[310,414,415,416],{},"Pushgateway: ",[394,417,418],{"href":418,"rel":419},"http:\u002F\u002Flocalhost:9091",[398],[310,421,422,425],{},[313,423,424],{},"Build custom images (optional):",[348,426,428],{"className":350,"code":427,"language":352,"meta":353,"style":353},"cd monitoring\n.\u002Fbuild-metrics.sh\n",[355,429,430,436],{"__ignoreMap":353},[358,431,432,434],{"class":360,"line":361},[358,433,365],{"class":364},[358,435,369],{"class":368},[358,437,438],{"class":360,"line":372},[358,439,440],{"class":375},".\u002Fbuild-metrics.sh\n",[297,442,444],{"id":443},"environment-variables","Environment Variables",[293,446,447,448,451],{},"Set these in your ",[355,449,450],{},".env"," file:",[348,453,458],{"className":454,"code":456,"language":457},[455],"language-text","CELERY_BROKER_URL=redis:\u002F\u002Fredis:6379\u002F0\nCELERY_RESULT_BACKEND=redis:\u002F\u002Fredis:6379\u002F0\nPUSHGATEWAY_URL=http:\u002F\u002Fpushgateway:9091\nFLOWER_USER=admin\nFLOWER_PASSWORD=admin\n","text",[355,459,456],{"__ignoreMap":353},[297,461,463],{"id":462},"files-structure","Files Structure",[348,465,468],{"className":466,"code":467,"language":457},[455],"monitoring\u002F\n├── docker-compose.yml          # Main monitoring stack\n├── prometheus.yml              # Prometheus configuration\n├── grafana-celery-dashboard.json # Pre-built Grafana dashboard\n├── build-metrics.sh           # Build script for custom images\n├── push-metrics-to-acr.sh     # Azure Container Registry push script\n├── docker\u002F                    # Dockerfiles for custom builds\n│   ├── prometheus.Dockerfile\n│   ├── grafana.Dockerfile  \n│   ├── flower.Dockerfile\n│   └── pushgateway.Dockerfile\n├── grafana\u002F                   # Grafana provisioning configs\n└── prometheus\u002F                # Prometheus rules and configs\n",[355,469,467],{"__ignoreMap":353},[297,471,473],{"id":472},"usage","Usage",[293,475,476],{},"The monitoring stack is separate from your main application. Run it independently:",[348,478,480],{"className":350,"code":479,"language":352,"meta":353,"style":353},"# Start only monitoring\ncd monitoring && docker-compose up -d\n\n# Start main application  \ncd .. && docker-compose up -d\n\n# Both stacks will connect via the external 'learning' network\n",[355,481,482,488,505,512,518,534,539],{"__ignoreMap":353},[358,483,484],{"class":360,"line":361},[358,485,487],{"class":486},"sJ8bj","# Start only monitoring\n",[358,489,490,492,495,499,501,503],{"class":360,"line":372},[358,491,365],{"class":364},[358,493,494],{"class":368}," monitoring",[358,496,498],{"class":497},"sVt8B"," && ",[358,500,376],{"class":375},[358,502,379],{"class":368},[358,504,382],{"class":364},[358,506,508],{"class":360,"line":507},3,[358,509,511],{"emptyLinePlaceholder":510},true,"\n",[358,513,515],{"class":360,"line":514},4,[358,516,517],{"class":486},"# Start main application  \n",[358,519,521,523,526,528,530,532],{"class":360,"line":520},5,[358,522,365],{"class":364},[358,524,525],{"class":368}," ..",[358,527,498],{"class":497},[358,529,376],{"class":375},[358,531,379],{"class":368},[358,533,382],{"class":364},[358,535,537],{"class":360,"line":536},6,[358,538,511],{"emptyLinePlaceholder":510},[358,540,542],{"class":360,"line":541},7,[358,543,544],{"class":486},"# Both stacks will connect via the external 'learning' network\n",[546,547,548],"style",{},"html pre.shiki code .sj4cs, html code.shiki .sj4cs{--shiki-default:#005CC5;--shiki-dark:#79B8FF}html pre.shiki code .sZZnC, html code.shiki .sZZnC{--shiki-default:#032F62;--shiki-dark:#9ECBFF}html pre.shiki code .sScJk, html code.shiki .sScJk{--shiki-default:#6F42C1;--shiki-dark:#B392F0}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sJ8bj, html code.shiki .sJ8bj{--shiki-default:#6A737D;--shiki-dark:#6A737D}html pre.shiki code .sVt8B, html code.shiki .sVt8B{--shiki-default:#24292E;--shiki-dark:#E1E4E8}",{"title":353,"searchDepth":372,"depth":372,"links":550},[551,554,555,556,557],{"id":299,"depth":372,"text":300,"children":552},[553],{"id":304,"depth":507,"text":305},{"id":337,"depth":372,"text":338},{"id":443,"depth":372,"text":444},{"id":462,"depth":372,"text":463},{"id":472,"depth":372,"text":473},"md",null,{},{"title":122,"description":295},"apps\u002Flearning-api\u002Fmonitoring\u002FREADME","TmeBrII2AOtF1HPC-zkt20WiBUFcwYrvMcUSr51llY4",1779007962950]