PageSourceSearch

https://flanksource.com/assets/js/24f770dc.a126a9cd.js

js flanksource.com collected 2026-09-25 15:26:20 UTC 2,998 bytes, 1 lines download raw bytes

1"use strict";(globalThis.webpackChunkmission_control=globalThis.webpackChunkmission_control||[]).push([[3322],{73026(e,n,s){s.r(n),s.d(n,{assets:()=>a,contentTitle:()=>o,default:()=>h,frontMatter:()=>c,metadata:()=>t,toc:()=>l});const t=JSON.parse('{"id":"guide/canary-checker/concepts/expressions/index","title":"Expressions","description":"canary-checker can be extended using expressions in 3 ways:","source":"@site/docs/guide/canary-checker/concepts/expressions/index.md","sourceDirName":"guide/canary-checker/concepts/expressions","slug":"/guide/canary-checker/concepts/expressions/","permalink":"/docs/guide/canary-checker/concepts/expressions/","draft":false,"unlisted":false,"editUrl":"https://github.com/flanksource/docs/tree/main/docs/guide/canary-checker/concepts/expressions/index.md","tags":[],"version":"current","frontMatter":{"title":"Expressions","sidebar_custom_props":{"icon":"code"}},"sidebar":"guide","previous":{"title":"Env Vars","permalink":"/docs/guide/canary-checker/concepts/secret-management"},"next":{"title":"Display Formatting","permalink":"/docs/guide/canary-checker/concepts/expressions/display-formatting"}}');var r=s(74848),i=s(28453);const c={title:"Expressions",sidebar_custom_props:{icon:"code"}},o=void 0,a={},l=[];function d(e){const n={a:"a",li:"li",ol:"ol",p:"p",ul:"ul",...(0,i.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.p,{children:"canary-checker can be extended using expressions in 3 ways:"}),"\n",(0,r.jsxs)(n.ol,{children:["\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.a,{href:"./display-formatting",children:"Display Formatting"})," provides the ability to customize the info or error message for a health check."]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.a,{href:"./health-evaluation",children:"Health Evaluation"})," provides the ability to define whether a check is considered passing or failing based on the result"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.a,{href:"./transforms",children:"Transforms"})," allow arbitrary transformations to:","\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsx)(n.li,{children:"Split a check into multiple (e.g. If they are all received in a single JSON)"}),"\n",(0,r.jsx)(n.li,{children:"Modify check results (e.g. Add labels, change severity etc)"}),"\n",(0,r.jsx)(n.li,{children:"Change the namespace target of a check"}),"\n",(0,r.jsx)(n.li,{children:"Save part of the result (e.g. last log age) to be used in future checks"}),"\n"]}),"\n"]}),"\n"]})]})}function h(e={}){const{wrapper:n}={...(0,i.R)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(d,{...e})}):d(e)}},28453(e,n,s){s.d(n,{R:()=>c,x:()=>o});var t=s(96540);const r={},i=t.createContext(r);function c(e){const n=t.useContext(i);return t.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function o(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:c(e.components),t.createElement(i.Provider,{value:n},e.children)}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.