Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

docs(kubernetes-operator): highlight the metrics example queries

DimitrisStaratzis4e0532863246
diff --git a/docs/integrations/platforms/kubernetes/infisical-static-secret-crd.mdx b/docs/integrations/platforms/kubernetes/infisical-static-secret-crd.mdx
index 66857b8f6c..909cd48a9b 100644
--- a/docs/integrations/platforms/kubernetes/infisical-static-secret-crd.mdx
+++ b/docs/integrations/platforms/kubernetes/infisical-static-secret-crd.mdx
@@ -1069,7 +1069,7 @@ The operator exposes Prometheus metrics about each `InfisicalStaticSecret`, whic
- `status`: the result of the resource's last sync (`synced`, `failed`, or `unknown` before the first sync)
- `instant_updates`: `true` if `syncOptions.instantUpdates` is enabled, otherwise `false`
- ```promql
+ ```ruby PromQL
# InfisicalStaticSecret resources
count(infisical_static_secrets)
@@ -1084,7 +1084,7 @@ The operator exposes Prometheus metrics about each `InfisicalStaticSecret`, whic
<Accordion title="infisical_static_secret_refresh_interval_seconds">
The resource's `syncOptions.refreshInterval`, in seconds.
- ```promql
+ ```ruby PromQL
# Average refresh interval (seconds)
avg(infisical_static_secret_refresh_interval_seconds)
```
@@ -1093,7 +1093,7 @@ The operator exposes Prometheus metrics about each `InfisicalStaticSecret`, whic
<Accordion title="infisical_static_secret_auto_reload_workloads">
The number of workloads with [automatic redeployment](#automatic-redeployment) enabled that consume the resource's managed Secret or ConfigMap.
- ```promql
+ ```ruby PromQL
# InfisicalStaticSecret resources with automatic redeployment enabled on at least one workload
count(infisical_static_secret_auto_reload_workloads > 0)
```
@@ -1102,7 +1102,7 @@ The operator exposes Prometheus metrics about each `InfisicalStaticSecret`, whic
<Accordion title="infisical_static_secret_workload_redeploys_total">
The number of workloads that automatic redeployment has restarted.
- ```promql
+ ```ruby PromQL
# Workloads restarted by automatic redeployment in the last 24 hours
sum(increase(infisical_static_secret_workload_redeploys_total[24h]))
```