Repository navigation
Add dvpod-monitoring skill and document chart's bundled Prometheus/Loki options - #7
Conversation
| user-invocable: true | ||
| disable-model-invocation: false | ||
| allowed-tools: Read, Grep, Glob, Bash | ||
| allowed-tools: Read, Grep, Glob, Bash, Bash(kubectl get *), Bash(kubectl logs *), Bash(kubectl wait *), Bash(helm list *), Bash(helm get values *) |
There was a problem hiding this comment.
I wonder do these bash commands need obol too?
There was a problem hiding this comment.
for use within the stack I assume so, but I haven't tested it stackwise thoroughly yet. Might need several more commands whitelisted, trying to keep it read-only for this skill.
There was a problem hiding this comment.
i think use of dv-pod will be > 50% in the stack just fyi. Maybe good to tell the dv-pod and this skill to read the run-obol-stack skill (think they were started before it existed) and make bi-directional references as needed
happy to merge this as two skills for now until we see issues with tool selection
|
would putting this within the dv-pod skill reduce the challenge of an agent having to pick the right tool? and it just has all it needs about montioring a dv-pod in the dv-pod skill? (just not all of it in skill.md) what's the pro for separate skills? |
The monitoring skill is instructed to be strictly read-only, while the dv-pod skill can make changes. We can combine them if you want, current they cross-reference each other so the agent should know when to use each if the situation calls for it. |
Summary
centralMonitoring.enabled=truedeploys a bundled Prometheus pod (not just remote-write config),serviceMonitor.enabledintegrates with a cluster Prometheus Operator, andcharon.lokiAddressesmakes Charon push logs directly to a Loki endpoint. Updatesvalues-reference.md,examples.md(new Loki example, corrected Example 10), andtroubleshooting.md.dvpod-monitoringskill paired withdvpod. It runs pre-flight detection (bundled Prom / cluster Prom via ServiceMonitor / direct Charon:3620/ nothing) before querying, defaults tokubectl logsfor log search, and only uses LogQL when the user has Loki configured. Adapts the local-monitoring pattern from CDVN PR #472 to Kubernetes/Helm.descriptionfrontmatter, a sharedskills/dvpod/discovery.mdhelper for namespace/release/pod/values resolution, and ahealth.shscript that produces a prompt-free health snapshot from the bundled Prometheus.allowed-toolsto specific read-onlykubectl/helmpatterns so common queries don't trigger permission prompts.