[{"data":1,"prerenderedAt":721},["ShallowReactive",2],{"navigation_docs":3,"-docs-definitions-overview":150,"-docs-definitions-overview-surround":716},[4,23,41,99,128],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":22},"Getting started","i-lucide-rocket","\u002Fdocs\u002Fgetting-started","docs\u002F1.getting-started",[10,14,18],{"title":11,"path":12,"stem":13},"Introduction","\u002Fdocs\u002Fgetting-started\u002Fintroduction","docs\u002F1.getting-started\u002F1.introduction",{"title":15,"path":16,"stem":17},"Quickstart","\u002Fdocs\u002Fgetting-started\u002Fquickstart","docs\u002F1.getting-started\u002F2.quickstart",{"title":19,"path":20,"stem":21},"How it works","\u002Fdocs\u002Fgetting-started\u002Fhow-it-works","docs\u002F1.getting-started\u002F3.how-it-works",false,{"title":24,"icon":25,"path":26,"stem":27,"children":28,"page":22},"Connect an app","i-lucide-plug","\u002Fdocs\u002Fconnect","docs\u002F2.connect",[29,33,37],{"title":30,"path":31,"stem":32},"Adonis","\u002Fdocs\u002Fconnect\u002Fadonis","docs\u002F2.connect\u002F1.adonis",{"title":34,"path":35,"stem":36},"NestJS","\u002Fdocs\u002Fconnect\u002Fnestjs","docs\u002F2.connect\u002F2.nestjs",{"title":38,"path":39,"stem":40},"Any stack, no SDK","\u002Fdocs\u002Fconnect\u002Fany-stack","docs\u002F2.connect\u002F3.any-stack",{"title":42,"icon":43,"path":44,"stem":45,"children":46,"page":22},"Definitions","i-lucide-code","\u002Fdocs\u002Fdefinitions","docs\u002F3.definitions",[47,51,55,59,63,67,71,75,79,83,87,91,95],{"title":48,"path":49,"stem":50},"Overview","\u002Fdocs\u002Fdefinitions\u002Foverview","docs\u002F3.definitions\u002F01.overview",{"title":52,"path":53,"stem":54},"Log renderers","\u002Fdocs\u002Fdefinitions\u002Flog-renderers","docs\u002F3.definitions\u002F02.log-renderers",{"title":56,"path":57,"stem":58},"Error renderers","\u002Fdocs\u002Fdefinitions\u002Ferror-renderers","docs\u002F3.definitions\u002F03.error-renderers",{"title":60,"path":61,"stem":62},"Processes","\u002Fdocs\u002Fdefinitions\u002Fprocesses","docs\u002F3.definitions\u002F04.processes",{"title":64,"path":65,"stem":66},"Pages","\u002Fdocs\u002Fdefinitions\u002Fpages","docs\u002F3.definitions\u002F05.pages",{"title":68,"path":69,"stem":70},"Dashboards","\u002Fdocs\u002Fdefinitions\u002Fdashboards","docs\u002F3.definitions\u002F06.dashboards",{"title":72,"path":73,"stem":74},"Alerts","\u002Fdocs\u002Fdefinitions\u002Falerts","docs\u002F3.definitions\u002F07.alerts",{"title":76,"path":77,"stem":78},"Monitors","\u002Fdocs\u002Fdefinitions\u002Fmonitors","docs\u002F3.definitions\u002F08.monitors",{"title":80,"path":81,"stem":82},"Status page","\u002Fdocs\u002Fdefinitions\u002Fstatus-page","docs\u002F3.definitions\u002F09.status-page",{"title":84,"path":85,"stem":86},"Tools","\u002Fdocs\u002Fdefinitions\u002Ftools","docs\u002F3.definitions\u002F10.tools",{"title":88,"path":89,"stem":90},"Redactors","\u002Fdocs\u002Fdefinitions\u002Fredactors","docs\u002F3.definitions\u002F11.redactors",{"title":92,"path":93,"stem":94},"Catalog","\u002Fdocs\u002Fdefinitions\u002Fcatalog","docs\u002F3.definitions\u002F12.catalog",{"title":96,"path":97,"stem":98},"More definitions","\u002Fdocs\u002Fdefinitions\u002Fmore","docs\u002F3.definitions\u002F13.more",{"title":100,"icon":101,"path":102,"stem":103,"children":104,"page":22},"Features","i-lucide-layers","\u002Fdocs\u002Ffeatures","docs\u002F4.features",[105,109,112,116,120,124],{"title":106,"path":107,"stem":108},"Tasks","\u002Fdocs\u002Ffeatures\u002Ftasks","docs\u002F4.features\u002F1.tasks",{"title":80,"path":110,"stem":111},"\u002Fdocs\u002Ffeatures\u002Fstatus-page","docs\u002F4.features\u002F2.status-page",{"title":113,"path":114,"stem":115},"Alerts and notifications","\u002Fdocs\u002Ffeatures\u002Falerts","docs\u002F4.features\u002F3.alerts",{"title":117,"path":118,"stem":119},"MCP","\u002Fdocs\u002Ffeatures\u002Fmcp","docs\u002F4.features\u002F4.mcp",{"title":121,"path":122,"stem":123},"Releases","\u002Fdocs\u002Ffeatures\u002Freleases","docs\u002F4.features\u002F5.releases",{"title":125,"path":126,"stem":127},"Ask Vigie","\u002Fdocs\u002Ffeatures\u002Fask-vigie","docs\u002F4.features\u002F6.ask-vigie",{"title":129,"icon":130,"path":131,"stem":132,"children":133,"page":22},"Self-hosting","i-lucide-server","\u002Fdocs\u002Fself-hosting","docs\u002F5.self-hosting",[134,138,142,146],{"title":135,"path":136,"stem":137},"Deploy","\u002Fdocs\u002Fself-hosting\u002Fdeploy","docs\u002F5.self-hosting\u002F1.deploy",{"title":139,"path":140,"stem":141},"Configuration","\u002Fdocs\u002Fself-hosting\u002Fconfiguration","docs\u002F5.self-hosting\u002F2.configuration",{"title":143,"path":144,"stem":145},"Security","\u002Fdocs\u002Fself-hosting\u002Fsecurity","docs\u002F5.self-hosting\u002F3.security",{"title":147,"path":148,"stem":149},"Backups and retention","\u002Fdocs\u002Fself-hosting\u002Fbackups","docs\u002F5.self-hosting\u002F4.backups",{"id":151,"title":48,"body":152,"description":710,"extension":711,"links":712,"meta":713,"navigation":303,"path":49,"seo":714,"stem":50,"__hash__":715},"docs\u002Fdocs\u002F3.definitions\u002F01.overview.md",{"type":153,"value":154,"toc":704},"minimark",[155,172,182,189,194,200,220,227,231,450,460,464,472,491,495,700],[156,157,158,159,163,164,167,168,171],"p",{},"Vigie knows requests, tasks, traces and errors. It does not know your app's words: that ",[160,161,162],"code",{},"parcelo.ship"," creates a shipment, that an order goes from payment to parcel, or that ",[160,165,166],{},"INVOXA_INVALID_COUNTRY"," means a customer's country is wrong. You teach it in ",[160,169,170],{},"definitions\u002F",".",[173,174,179],"pre",{"className":175,"code":177,"language":178},[176],"language-text","definitions\u002F\n├─ renderers\u002F     how an event reads\n├─ processes\u002F     flows across several tasks\n├─ pages\u002F         screens of your own\n├─ dashboards\u002F\n├─ alerts\u002F\n├─ monitors\u002F      URLs checked every minute\n├─ tools\u002F         more MCP tools\n├─ redactors\u002F     secrets in your paths\n├─ catalog\u002F       providers, task kinds, SLOs, rules\n└─ status.ts      the public status page\n","text",[160,180,177],{"__ignoreMap":181},"",[156,183,184,185,188],{},"The folder names are only a convention. Vigie loads every ",[160,186,187],{},".ts"," file and looks at what each one exports.",[190,191,193],"h2",{"id":192},"where-it-lives","Where it lives",[156,195,196,197,199],{},"Keep ",[160,198,170],{}," in your app's repository, so it is reviewed with the code it describes. Point Vigie at it:",[201,202,203,213],"ul",{},[204,205,206,207,210,211,171],"li",{},"On your machine, run ",[160,208,209],{},"bunx vigie"," from the folder that holds ",[160,212,170],{},[204,214,215,216,219],{},"On a server, set ",[160,217,218],{},"VIGIE_DEFINITIONS"," to the folder.",[156,221,222,223,226],{},"Files import from ",[160,224,225],{},"vigie\u002Fsdk",", which resolves from anywhere: no install, no path alias.",[190,228,230],{"id":229},"typed-all-the-way","Typed all the way",[173,232,237],{"className":233,"code":234,"filename":235,"language":236,"meta":181,"style":181},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import { defineStatusPage } from 'vigie\u002Fsdk'\nimport { api, shop } from '.\u002Fmonitors\u002Facme.ts'\n\nexport const status = defineStatusPage({\n  title: 'Acme status',\n  components: [\n    { name: 'API', from: api },\n    { name: 'Shop', from: shop },\n  ],\n  days: 90,\n})\n","definitions\u002Fstatus.ts","ts",[160,238,239,271,298,305,330,351,362,392,419,427,441],{"__ignoreMap":181},[240,241,244,248,252,256,259,262,265,268],"span",{"class":242,"line":243},"line",1,[240,245,247],{"class":246},"s7zQu","import",[240,249,251],{"class":250},"sMK4o"," {",[240,253,255],{"class":254},"sTEyZ"," defineStatusPage",[240,257,258],{"class":250}," }",[240,260,261],{"class":246}," from",[240,263,264],{"class":250}," '",[240,266,225],{"class":267},"sfazB",[240,269,270],{"class":250},"'\n",[240,272,274,276,278,281,284,287,289,291,293,296],{"class":242,"line":273},2,[240,275,247],{"class":246},[240,277,251],{"class":250},[240,279,280],{"class":254}," api",[240,282,283],{"class":250},",",[240,285,286],{"class":254}," shop",[240,288,258],{"class":250},[240,290,261],{"class":246},[240,292,264],{"class":250},[240,294,295],{"class":267},".\u002Fmonitors\u002Facme.ts",[240,297,270],{"class":250},[240,299,301],{"class":242,"line":300},3,[240,302,304],{"emptyLinePlaceholder":303},true,"\n",[240,306,308,311,315,318,321,324,327],{"class":242,"line":307},4,[240,309,310],{"class":246},"export",[240,312,314],{"class":313},"spNyl"," const",[240,316,317],{"class":254}," status ",[240,319,320],{"class":250},"=",[240,322,255],{"class":323},"s2Zo4",[240,325,326],{"class":254},"(",[240,328,329],{"class":250},"{\n",[240,331,333,337,340,342,345,348],{"class":242,"line":332},5,[240,334,336],{"class":335},"swJcz","  title",[240,338,339],{"class":250},":",[240,341,264],{"class":250},[240,343,344],{"class":267},"Acme status",[240,346,347],{"class":250},"'",[240,349,350],{"class":250},",\n",[240,352,354,357,359],{"class":242,"line":353},6,[240,355,356],{"class":335},"  components",[240,358,339],{"class":250},[240,360,361],{"class":254}," [\n",[240,363,365,368,371,373,375,378,380,382,384,386,389],{"class":242,"line":364},7,[240,366,367],{"class":250},"    {",[240,369,370],{"class":335}," name",[240,372,339],{"class":250},[240,374,264],{"class":250},[240,376,377],{"class":267},"API",[240,379,347],{"class":250},[240,381,283],{"class":250},[240,383,261],{"class":335},[240,385,339],{"class":250},[240,387,388],{"class":254}," api ",[240,390,391],{"class":250},"},\n",[240,393,395,397,399,401,403,406,408,410,412,414,417],{"class":242,"line":394},8,[240,396,367],{"class":250},[240,398,370],{"class":335},[240,400,339],{"class":250},[240,402,264],{"class":250},[240,404,405],{"class":267},"Shop",[240,407,347],{"class":250},[240,409,283],{"class":250},[240,411,261],{"class":335},[240,413,339],{"class":250},[240,415,416],{"class":254}," shop ",[240,418,391],{"class":250},[240,420,422,425],{"class":242,"line":421},9,[240,423,424],{"class":254},"  ]",[240,426,350],{"class":250},[240,428,430,433,435,439],{"class":242,"line":429},10,[240,431,432],{"class":335},"  days",[240,434,339],{"class":250},[240,436,438],{"class":437},"sbssI"," 90",[240,440,350],{"class":250},[240,442,444,447],{"class":242,"line":443},11,[240,445,446],{"class":250},"}",[240,448,449],{"class":254},")\n",[156,451,452,455,456,459],{},[160,453,454],{},"from"," takes the monitor itself, not a string, so a renamed or deleted monitor fails to compile. ",[160,457,458],{},"days: 45"," fails too: only 30, 60 and 90 exist.",[190,461,463],{"id":462},"reloading-and-errors","Reloading and errors",[156,465,466,467,471],{},"Locally, a saved file applies within a second. A file that fails to load shows its error on ",[468,469,470],"strong",{},"Settings, Extensions",", and everything else keeps working. Check them all before you deploy:",[173,473,477],{"className":474,"code":475,"language":476,"meta":181,"style":181},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","bunx vigie check\n","bash",[160,478,479],{"__ignoreMap":181},[240,480,481,485,488],{"class":242,"line":243},[240,482,484],{"class":483},"sBMFI","bunx",[240,486,487],{"class":267}," vigie",[240,489,490],{"class":267}," check\n",[190,492,494],{"id":493},"everything-you-can-define","Everything you can define",[496,497,498,514],"table",{},[499,500,501],"thead",{},[502,503,504,508,511],"tr",{},[505,506,507],"th",{},"Define",[505,509,510],{},"With",[505,512,513],{},"What you get",[515,516,517,534,549,564,579,594,609,624,643,658,673,688],"tbody",{},[502,518,519,523,531],{},[520,521,522],"td",{},"How an event reads",[520,524,525],{},[526,527,528],"a",{"href":53},[160,529,530],{},"defineLogRenderer",[520,532,533],{},"Sections in the event panel, phrases in log rows, text for agents",[502,535,536,539,546],{},[520,537,538],{},"Why and how to fix an error",[520,540,541],{},[526,542,543],{"href":57},[160,544,545],{},"defineErrorRenderer",[520,547,548],{},"The why and fix when the app does not say itself",[502,550,551,554,561],{},[520,552,553],{},"A business process",[520,555,556],{},[526,557,558],{"href":61},[160,559,560],{},"defineProcess",[520,562,563],{},"Instances, funnel, what is stuck and why",[502,565,566,569,576],{},[520,567,568],{},"A page",[520,570,571],{},[526,572,573],{"href":65},[160,574,575],{},"definePage",[520,577,578],{},"A screen in the nav, plus an MCP tool that reads it",[502,580,581,584,591],{},[520,582,583],{},"A dashboard",[520,585,586],{},[526,587,588],{"href":69},[160,589,590],{},"defineDashboard",[520,592,593],{},"Widgets from SQL",[502,595,596,599,606],{},[520,597,598],{},"An alert",[520,600,601],{},[526,602,603],{"href":73},[160,604,605],{},"defineAlert",[520,607,608],{},"Evaluated every 30 s, sent to your channels",[502,610,611,614,621],{},[520,612,613],{},"An uptime check",[520,615,616],{},[526,617,618],{"href":77},[160,619,620],{},"defineMonitor",[520,622,623],{},"A URL checked every minute",[502,625,626,629,636],{},[520,627,628],{},"The status page",[520,630,631],{},[526,632,633],{"href":81},[160,634,635],{},"defineStatusPage",[520,637,638,639,642],{},"What ",[160,640,641],{},"\u002Fstatus"," shows",[502,644,645,648,655],{},[520,646,647],{},"An agent tool",[520,649,650],{},[526,651,652],{"href":85},[160,653,654],{},"defineTool",[520,656,657],{},"One more MCP tool",[502,659,660,663,670],{},[520,661,662],{},"Secrets in your paths",[520,664,665],{},[526,666,667],{"href":89},[160,668,669],{},"defineRedactor",[520,671,672],{},"Masked at ingest",[502,674,675,678,685],{},[520,676,677],{},"Providers, task kinds, SLOs, rules",[520,679,680],{},[526,681,682],{"href":93},[160,683,684],{},"defineCatalog",[520,686,687],{},"Names, clocks, objectives and production rules",[502,689,690,693,698],{},[520,691,692],{},"Views, channels, enrichers, health rules, people",[520,694,695],{},[526,696,697],{"href":97},"More",[520,699],{},[701,702,703],"style",{},"html pre.shiki code .s7zQu, html code.shiki .s7zQu{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}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 .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}",{"title":181,"searchDepth":273,"depth":273,"links":705},[706,707,708,709],{"id":192,"depth":273,"text":193},{"id":229,"depth":273,"text":230},{"id":462,"depth":273,"text":463},{"id":493,"depth":273,"text":494},"Everything specific to your app lives in definitions\u002F, as typed TypeScript that reloads when you save and deploys with your app.","md",null,{},{"title":48,"description":710},"31eQ0me9-krtCB3wI7egDVP7FvhykcAjHfpS7XTYfIM",[717,719],{"title":38,"path":39,"stem":40,"description":718,"children":-1},"Vigie reads plain OpenTelemetry. Any language works, and a few attribute names turn a log record into a request or a task.",{"title":52,"path":53,"stem":54,"description":720,"children":-1},"defineLogRenderer turns a namespace of fields into a readable section, a phrase in log rows, and a sentence for agents.",1795043962290]