import{s as le,n as pe,o as me}from"../chunks/scheduler.eb244325.js";import{S as re,i as fe,e as o,s as a,c as _,h as ge,a as l,d as n,b as s,f as se,g as T,j as m,k as oe,l as de,m as i,n as L,t as P,o as M,p as k}from"../chunks/index.661680a1.js";import{C as ue,H as V,E as ce}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.83ba2125.js";function he(W){let p,S,z,H,r,O,f,A,g,X=`The Logs page gives you monitoring and debugging capabilities for your deployed models. This view allows you to track the
operational status and runtime logs of your inference endpoints in real-time.`,D,d,R,u,Y=`The Logs page is accessible through the main navigation tabs within your endpoint dashboard, alongside Overview, Analytics, Usage & Cost,
and Settings. The interface displays logs for your specific model deployment.`,j,c,Z='<img src="https://raw.githubusercontent.com/huggingface/hf-endpoints-documentation/main/assets/logs/logs.png" alt="banner"/>',q,h,I,$,ee=`At the top of the logs interface, you’ll find deployment information that provides an at-a-glance view of your Inference Endpoints’s current
state. The deployment status section shows the deployment identifier (for example <code>6pajyw3k</code> like in the image above) and replica information
(z7ghx), along with the combined deployment-replica identifier (6pajyw3k-z7ghx).`,U,y,te=`Next to the filter, you’ll find a status indicator. The interface also tracks important timestamps, showing when the endpoint was started and
when it was stopped, giving you precise timing information for deployment lifecycle management.`,F,v,B,w,ne=`The logs view provides flexible filtering capabilities to help you focus on the information most relevant to your needs. The filter
controls include toggleable options for Timestamp, Log Level, Content, and Replica information. These filters allow you to customize the
log display based on your specific debugging or monitoring requirements.`,G,x,ie="The timestamp display defaults to UTC format, ensuring consistent time references across different geographical locations and team members.",N,C,ae=`The main log display area presents a paginated view of log entries. By default the latest 50 lines are loaded and by clicking the
“Load More” option you can access additional historical log data.`,J,b,K,E,Q;return r=new ue({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),f=new V({props:{title:"Runtime Logs",local:"runtime-logs",headingTag:"h1"}}),d=new V({props:{title:"Accessing the Logs Interface",local:"accessing-the-logs-interface",headingTag:"h2"}}),h=new V({props:{title:"Deployment Status Overview",local:"deployment-status-overview",headingTag:"h2"}}),v=new V({props:{title:"Log Filtering and Display Options",local:"log-filtering-and-display-options",headingTag:"h2"}}),b=new ce({props:{source:"https://github.com/huggingface/hf-endpoints-documentation/blob/main/docs/source/guides/logs.md"}}),{c(){p=o("meta"),S=a(),z=o("p"),H=a(),_(r.$$.fragment),O=a(),_(f.$$.fragment),A=a(),g=o("p"),g.textContent=X,D=a(),_(d.$$.fragment),R=a(),u=o("p"),u.textContent=Y,j=a(),c=o("p"),c.innerHTML=Z,q=a(),_(h.$$.fragment),I=a(),$=o("p"),$.innerHTML=ee,U=a(),y=o("p"),y.textContent=te,F=a(),_(v.$$.fragment),B=a(),w=o("p"),w.textContent=ne,G=a(),x=o("p"),x.textContent=ie,N=a(),C=o("p"),C.textContent=ae,J=a(),_(b.$$.fragment),K=a(),E=o("p"),this.h()},l(e){const t=ge("svelte-u9bgzb",document.head);p=l(t,"META",{name:!0,content:!0}),t.forEach(n),S=s(e),z=l(e,"P",{}),se(z).forEach(n),H=s(e),T(r.$$.fragment,e),O=s(e),T(f.$$.fragment,e),A=s(e),g=l(e,"P",{"data-svelte-h":!0}),m(g)!=="svelte-1pob2mc"&&(g.textContent=X),D=s(e),T(d.$$.fragment,e),R=s(e),u=l(e,"P",{"data-svelte-h":!0}),m(u)!=="svelte-1o2m7pw"&&(u.textContent=Y),j=s(e),c=l(e,"P",{"data-svelte-h":!0}),m(c)!=="svelte-3dics8"&&(c.innerHTML=Z),q=s(e),T(h.$$.fragment,e),I=s(e),$=l(e,"P",{"data-svelte-h":!0}),m($)!=="svelte-rxr0z9"&&($.innerHTML=ee),U=s(e),y=l(e,"P",{"data-svelte-h":!0}),m(y)!=="svelte-1tlnawa"&&(y.textContent=te),F=s(e),T(v.$$.fragment,e),B=s(e),w=l(e,"P",{"data-svelte-h":!0}),m(w)!=="svelte-121ot65"&&(w.textContent=ne),G=s(e),x=l(e,"P",{"data-svelte-h":!0}),m(x)!=="svelte-z5qkcs"&&(x.textContent=ie),N=s(e),C=l(e,"P",{"data-svelte-h":!0}),m(C)!=="svelte-p3dss6"&&(C.textContent=ae),J=s(e),T(b.$$.fragment,e),K=s(e),E=l(e,"P",{}),se(E).forEach(n),this.h()},h(){oe(p,"name","hf:doc:metadata"),oe(p,"content",$e)},m(e,t){de(document.head,p),i(e,S,t),i(e,z,t),i(e,H,t),L(r,e,t),i(e,O,t),L(f,e,t),i(e,A,t),i(e,g,t),i(e,D,t),L(d,e,t),i(e,R,t),i(e,u,t),i(e,j,t),i(e,c,t),i(e,q,t),L(h,e,t),i(e,I,t),i(e,$,t),i(e,U,t),i(e,y,t),i(e,F,t),L(v,e,t),i(e,B,t),i(e,w,t),i(e,G,t),i(e,x,t),i(e,N,t),i(e,C,t),i(e,J,t),L(b,e,t),i(e,K,t),i(e,E,t),Q=!0},p:pe,i(e){Q||(P(r.$$.fragment,e),P(f.$$.fragment,e),P(d.$$.fragment,e),P(h.$$.fragment,e),P(v.$$.fragment,e),P(b.$$.fragment,e),Q=!0)},o(e){M(r.$$.fragment,e),M(f.$$.fragment,e),M(d.$$.fragment,e),M(h.$$.fragment,e),M(v.$$.fragment,e),M(b.$$.fragment,e),Q=!1},d(e){e&&(n(S),n(z),n(H),n(O),n(A),n(g),n(D),n(R),n(u),n(j),n(c),n(q),n(I),n($),n(U),n(y),n(F),n(B),n(w),n(G),n(x),n(N),n(C),n(J),n(K),n(E)),n(p),k(r,e),k(f,e),k(d,e),k(h,e),k(v,e),k(b,e)}}}const $e='{"title":"Runtime Logs","local":"runtime-logs","sections":[{"title":"Accessing the Logs Interface","local":"accessing-the-logs-interface","sections":[],"depth":2},{"title":"Deployment Status Overview","local":"deployment-status-overview","sections":[],"depth":2},{"title":"Log Filtering and Display Options","local":"log-filtering-and-display-options","sections":[],"depth":2}],"depth":1}';function ye(W){return me(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Ce extends re{constructor(p){super(),fe(this,p,ye,he,le,{})}}export{Ce as component};
