[{"data":1,"prerenderedAt":530},["ShallowReactive",2],{"docs-pages-en":3,"doc-en-agent-server":154},[4,11,16,21,26,31,37,48,56,65,73,80,88,92,101,105,113,118,123,128,134,139,144,149],{"path":5,"title":6,"description":7,"order":8,"group":9,"parent":10,"package":10,"note":10,"collects":10,"status":10},"\u002Fdocs\u002Finstallation","Installation","Install CloseYourIt on your own server with one command.",1,"start",null,{"path":12,"title":13,"description":14,"order":15,"group":9,"parent":10,"package":10,"note":10,"collects":10,"status":10},"\u002Fdocs\u002Fsettings","Settings","Every setting in the .env file, what it does and which ones you must never change.",2,{"path":17,"title":18,"description":19,"order":20,"group":9,"parent":10,"package":10,"note":10,"collects":10,"status":10},"\u002Fdocs\u002Fdatabase","Database","What the database is, what is inside, how long data stays and how much room it takes.",3,{"path":22,"title":23,"description":24,"order":25,"group":9,"parent":10,"package":10,"note":10,"collects":10,"status":10},"\u002Fdocs\u002Fupdates-and-backups","Updates and backups","Update to a new version, back up and restore the database, check the install.",4,{"path":27,"title":28,"description":29,"order":30,"group":9,"parent":10,"package":10,"note":10,"collects":10,"status":10},"\u002Fdocs\u002Ftroubleshooting","Troubleshooting","What to check when the install, the certificate, email or incoming data do not work.",5,{"path":32,"title":33,"description":34,"order":35,"group":36,"parent":10,"package":10,"note":10,"collects":10,"status":10},"\u002Fdocs\u002Fconnect-your-apps","Connect your apps","Every tool that sends data to CloseYourIt, and what each one collects.",6,"connect",{"path":38,"title":39,"description":40,"order":41,"group":10,"parent":42,"package":43,"note":44,"collects":45,"status":10},"\u002Fdocs\u002Fsdk-ruby","Ruby \u002F Rails","The closeyourit-ruby gem sends errors, logs, slow queries and job metrics from a Rails app.",7,"connect-your-apps","closeyourit-ruby","Errors, logs, slow queries and methods, background jobs.",{"errors":46,"logs":46,"performance":46,"visits":47,"servers":47},"full","none",{"path":49,"title":50,"description":51,"order":52,"group":10,"parent":42,"package":53,"note":54,"collects":55,"status":10},"\u002Fdocs\u002Fsdk-javascript","JavaScript","The @bussolabs\u002Fcloseyourit-js package works in the browser and on Node 20.16 or newer.",8,"@bussolabs\u002Fcloseyourit-js","Browser and Node, framework adapters and database queries from 0.13.0.",{"errors":46,"logs":46,"performance":46,"visits":46,"servers":47},{"path":57,"title":58,"description":59,"order":60,"group":10,"parent":42,"package":61,"note":62,"collects":63,"status":10},"\u002Fdocs\u002Fsdk-dart","Dart \u002F Flutter","The closeyourit package captures the errors of Flutter apps, even when the phone is offline.",9,"closeyourit","Public errors, logs and metrics from 0.9.3.",{"errors":46,"logs":64,"performance":64,"visits":47,"servers":47},"partial",{"path":66,"title":67,"description":68,"order":69,"group":10,"parent":42,"package":61,"note":70,"collects":71,"status":72},"\u002Fdocs\u002Fsdk-python","Python","The closeyourit package sends errors, logs and metrics from server-side Python applications.",10,"Server side. SQLAlchemy; Django query monitoring and FastAPI\u002FStarlette from 0.4.0.",{"errors":46,"logs":46,"performance":64,"visits":47,"servers":47},"pre_alpha",{"path":74,"title":75,"description":76,"order":77,"group":10,"parent":42,"package":75,"note":78,"collects":79,"status":10},"\u002Fdocs\u002Fsdk-sentry","Sentry SDK","Send errors with a compatible Sentry SDK; sessions and crashes have separate profiles.",11,"Compatible errors; sessions and crashes require a verified profile.",{"errors":46,"logs":47,"performance":47,"visits":47,"servers":47},{"path":81,"title":82,"description":83,"order":84,"group":10,"parent":42,"package":85,"note":86,"collects":87,"status":10},"\u002Fdocs\u002Fagent-server","Server agent","A small program on the server that sends the state of the machine every 60 seconds.",12,"closeyourit-agent","CPU, memory, disks, network, containers and services.",{"errors":47,"logs":64,"performance":47,"visits":47,"servers":46},{"path":89,"title":90,"description":91,"order":84,"group":36,"parent":10,"package":10,"note":10,"collects":10,"status":10},"\u002Fdocs\u002Fnuxt","Vue and Nuxt","Connect Nuxt browser errors and Nitro server errors without exposing a server token.",{"path":93,"title":94,"description":95,"order":96,"group":10,"parent":42,"package":97,"note":98,"collects":99,"status":100},"\u002Fdocs\u002Fagent-kubernetes","Kubernetes","A read-only observer of the cluster: one copy per cluster.",13,"closeyourit-kube","Machines, apps and error events of the cluster.",{"errors":47,"logs":47,"performance":47,"visits":47,"servers":46},"coming",{"path":102,"title":103,"description":104,"order":96,"group":36,"parent":10,"package":10,"note":10,"collects":10,"status":10},"\u002Fdocs\u002Fopentelemetry","OpenTelemetry","Send server traces, metrics and logs through the optional OTLP receiver.",{"path":106,"title":107,"description":108,"order":109,"group":10,"parent":42,"package":110,"note":111,"collects":112,"status":10},"\u002Fdocs\u002Fcli","cyi CLI","The closeyourit command, cyi for short: manage projects, errors and tickets from the terminal.",14,"@bussolabs\u002Fcloseyourit-cli","It collects no data: it drives CloseYourIt from the terminal.",{"errors":47,"logs":47,"performance":47,"visits":47,"servers":47},{"path":114,"title":115,"description":116,"order":117,"group":36,"parent":10,"package":10,"note":10,"collects":10,"status":10},"\u002Fdocs\u002Fhttp-api","HTTP API","Send errors, logs, metrics and page views with plain HTTP requests, without an SDK.",15,{"path":119,"title":120,"description":121,"order":122,"group":36,"parent":10,"package":10,"note":10,"collects":10,"status":10},"\u002Fdocs\u002Fgithub-app","GitHub","Connect GitHub repositories to tickets and releases with your own GitHub App.",16,{"path":124,"title":125,"description":126,"order":127,"group":36,"parent":10,"package":10,"note":10,"collects":10,"status":10},"\u002Fdocs\u002Fingest-gateway","Ingest gateway","Keep incoming errors, logs and metrics safe when the app is slow or restarting.",17,{"path":129,"title":130,"description":131,"order":132,"group":133,"parent":10,"package":10,"note":10,"collects":10,"status":10},"\u002Fdocs\u002Fai","AI","Turn on assistant, analysis, dictation and smart search with a CloseYourIt AI key or your own provider.",18,"automation",{"path":135,"title":136,"description":137,"order":138,"group":133,"parent":10,"package":10,"note":10,"collects":10,"status":10},"\u002Fdocs\u002Fautomator","Automator","Let tickets be worked automatically on your own Linux machine, with Claude Code, Codex or both.",19,{"path":140,"title":141,"description":142,"order":143,"group":36,"parent":10,"package":10,"note":10,"collects":10,"status":10},"\u002Fdocs\u002Fstack-coverage","Frameworks and stack coverage","Choose a published SDK or understand the limits of a locally tested integration.",20,{"path":145,"title":146,"description":147,"order":148,"group":36,"parent":10,"package":10,"note":10,"collects":10,"status":10},"\u002Fdocs\u002Fmonitoring","Traces, measurements and sessions","Explore the new signals, compare releases and recover original error locations.",21,{"path":150,"title":151,"description":152,"order":153,"group":36,"parent":10,"package":10,"note":10,"collects":10,"status":10},"\u002Fdocs\u002Fnode-database","Node databases","Monitor slow and repeated queries with pg, mysql2, Drizzle and Prisma PostgreSQL.",22,{"id":155,"title":82,"body":156,"collects":523,"description":83,"extension":524,"group":10,"meta":525,"navigation":526,"note":86,"order":84,"package":85,"parent":42,"path":81,"seo":527,"status":10,"stem":528,"__hash__":529},"docs_en\u002Fdocs\u002Fagent-server.md",{"type":157,"value":158,"toc":517},"minimark",[159,164,220,224,228,236,352,359,384,387,406,413,432,436,498,502,513],[160,161,163],"h2",{"id":162},"what-it-collects","What it collects",[165,166,167,183,189,198,204,210,213],"ul",{},[168,169,170,174,175,178,179,182],"li",{},[171,172,173],"strong",{},"CPU",", ",[171,176,177],{},"memory"," and ",[171,180,181],{},"network",";",[168,184,185,188],{},[171,186,187],{},"disks",": space, activity and health (SMART);",[168,190,191,194,195,182],{},[171,192,193],{},"temperatures"," and the ",[171,196,197],{},"GPU",[168,199,200,201,182],{},"Docker and Podman ",[171,202,203],{},"containers",[168,205,206,207,182],{},"systemd ",[171,208,209],{},"services",[168,211,212],{},"the error lines of the system journal (journald);",[168,214,215,216,219],{},"the state of ",[171,217,218],{},"PostgreSQL",", if it finds it on the machine.",[221,222,223],"p",{},"It does not collect the errors of your applications: for those you need an SDK.",[160,225,227],{"id":226},"install","Install",[221,229,230,231,235],{},"Download the program into ",[232,233,234],"code",{},"\u002Fopt\u002Fcloseyourit-agent\u002F",", with its service file:",[237,238,243],"pre",{"className":239,"code":240,"language":241,"meta":242,"style":242},"language-bash shiki shiki-themes github-light github-dark","arch=\"$(uname -m | sed 's\u002Fx86_64\u002Famd64\u002F; s\u002Faarch64\u002Farm64\u002F')\"\nsudo mkdir -p \u002Fopt\u002Fcloseyourit-agent\ncurl -fsSL \"https:\u002F\u002Fgithub.com\u002Fbussolabs\u002Fcloseyourit-agent-community\u002Freleases\u002Flatest\u002Fdownload\u002Fcloseyourit-agent_linux_${arch}.tar.gz\" \\\n  | sudo tar -xz -C \u002Fopt\u002Fcloseyourit-agent\nsudo curl -fsSL https:\u002F\u002Fraw.githubusercontent.com\u002Fbussolabs\u002Fcloseyourit-agent-community\u002Fmain\u002Fexamples\u002Fcloseyourit-agent.service \\\n  -o \u002Fetc\u002Fsystemd\u002Fsystem\u002Fcloseyourit-agent.service\n","bash","",[232,244,245,278,292,311,330,344],{"__ignoreMap":242},[246,247,249,253,257,261,265,269,272,275],"span",{"class":248,"line":8},"line",[246,250,252],{"class":251},"sVt8B","arch",[246,254,256],{"class":255},"szBVR","=",[246,258,260],{"class":259},"sZZnC","\"$(",[246,262,264],{"class":263},"sScJk","uname",[246,266,268],{"class":267},"sj4cs"," -m",[246,270,271],{"class":255}," |",[246,273,274],{"class":263}," sed",[246,276,277],{"class":259}," 's\u002Fx86_64\u002Famd64\u002F; s\u002Faarch64\u002Farm64\u002F')\"\n",[246,279,280,283,286,289],{"class":248,"line":15},[246,281,282],{"class":263},"sudo",[246,284,285],{"class":259}," mkdir",[246,287,288],{"class":267}," -p",[246,290,291],{"class":259}," \u002Fopt\u002Fcloseyourit-agent\n",[246,293,294,297,300,303,305,308],{"class":248,"line":20},[246,295,296],{"class":263},"curl",[246,298,299],{"class":267}," -fsSL",[246,301,302],{"class":259}," \"https:\u002F\u002Fgithub.com\u002Fbussolabs\u002Fcloseyourit-agent-community\u002Freleases\u002Flatest\u002Fdownload\u002Fcloseyourit-agent_linux_${",[246,304,252],{"class":251},[246,306,307],{"class":259},"}.tar.gz\"",[246,309,310],{"class":267}," \\\n",[246,312,313,316,319,322,325,328],{"class":248,"line":25},[246,314,315],{"class":255},"  |",[246,317,318],{"class":263}," sudo",[246,320,321],{"class":259}," tar",[246,323,324],{"class":267}," -xz",[246,326,327],{"class":267}," -C",[246,329,291],{"class":259},[246,331,332,334,337,339,342],{"class":248,"line":30},[246,333,282],{"class":263},[246,335,336],{"class":259}," curl",[246,338,299],{"class":267},[246,340,341],{"class":259}," https:\u002F\u002Fraw.githubusercontent.com\u002Fbussolabs\u002Fcloseyourit-agent-community\u002Fmain\u002Fexamples\u002Fcloseyourit-agent.service",[246,343,310],{"class":267},[246,345,346,349],{"class":248,"line":35},[246,347,348],{"class":267},"  -o",[246,350,351],{"class":259}," \u002Fetc\u002Fsystemd\u002Fsystem\u002Fcloseyourit-agent.service\n",[221,353,354,355,358],{},"Write the two settings in ",[232,356,357],{},"\u002Fetc\u002Fcloseyourit-agent.env",":",[237,360,362],{"className":239,"code":361,"language":241,"meta":242,"style":242},"CYI_ENDPOINT=https:\u002F\u002Fbugs.example.com\nCYI_TOKEN=cyi_s_…\n",[232,363,364,374],{"__ignoreMap":242},[246,365,366,369,371],{"class":248,"line":8},[246,367,368],{"class":251},"CYI_ENDPOINT",[246,370,256],{"class":255},[246,372,373],{"class":259},"https:\u002F\u002Fbugs.example.com\n",[246,375,376,379,381],{"class":248,"line":15},[246,377,378],{"class":251},"CYI_TOKEN",[246,380,256],{"class":255},[246,382,383],{"class":259},"cyi_s_…\n",[221,385,386],{},"Then start the service:",[237,388,390],{"className":239,"code":389,"language":241,"meta":242,"style":242},"systemctl enable --now closeyourit-agent\n",[232,391,392],{"__ignoreMap":242},[246,393,394,397,400,403],{"class":248,"line":8},[246,395,396],{"class":263},"systemctl",[246,398,399],{"class":259}," enable",[246,401,402],{"class":267}," --now",[246,404,405],{"class":259}," closeyourit-agent\n",[221,407,408,409,412],{},"The ",[232,410,411],{},"cyi_s_…"," code is created in the app, on the servers page.",[221,414,415,416,419,420,427,428,431],{},"With Docker, use the image ",[232,417,418],{},"ghcr.io\u002Fbussolabs\u002Fcloseyourit-agent"," with the same two settings; the ",[421,422,426],"a",{"href":423,"rel":424},"https:\u002F\u002Fgithub.com\u002Fbussolabs\u002Fcloseyourit-agent-community",[425],"nofollow","repository"," has a ready ",[232,429,430],{},"docker-compose.yml",".",[160,433,435],{"id":434},"variables","Variables",[437,438,439,452],"table",{},[440,441,442],"thead",{},[443,444,445,449],"tr",{},[446,447,448],"th",{},"Variable",[446,450,451],{},"What it is for",[453,454,455,465,474,488],"tbody",{},[443,456,457,462],{},[458,459,460],"td",{},[232,461,368],{},[458,463,464],{},"the address of your installation",[443,466,467,471],{},[458,468,469],{},[232,470,378],{},[458,472,473],{},"the server's code",[443,475,476,481],{},[458,477,478],{},[232,479,480],{},"CYI_INTERVAL",[458,482,483,484,487],{},"how often it sends data (",[232,485,486],{},"60s"," by default)",[443,489,490,495],{},[458,491,492],{},[232,493,494],{},"CYI_HOST_NAME",[458,496,497],{},"a different name for the machine",[160,499,501],{"id":500},"good-to-know","Good to know",[165,503,504,507],{},[168,505,506],{},"Temperature exists only on physical machines: on virtual servers it stays empty.",[168,508,509,510,431],{},"For the health of physical disks you need ",[232,511,512],{},"smartmontools",[514,515,516],"style",{},"html pre.shiki code .sVt8B, html code.shiki .sVt8B{--shiki-default:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .szBVR, html code.shiki .szBVR{--shiki-default:#D73A49;--shiki-dark:#F97583}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 pre.shiki code .sj4cs, html code.shiki .sj4cs{--shiki-default:#005CC5;--shiki-dark:#79B8FF}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);}",{"title":242,"searchDepth":15,"depth":15,"links":518},[519,520,521,522],{"id":162,"depth":15,"text":163},{"id":226,"depth":15,"text":227},{"id":434,"depth":15,"text":435},{"id":500,"depth":15,"text":501},{"errors":47,"logs":64,"performance":47,"visits":47,"servers":46},"md",{},true,{"title":82,"description":83},"docs\u002Fagent-server","mr6ZsJtci_xut2eq3OUhrWu2gh23i55MgiXZisLrXro",1791302513060]