Skip to content

Add dvpod-monitoring skill and document chart's bundled Prometheus/Loki options - #7

Merged
OisinKyne merged 4 commits into
mainfrom
nick/dv-monitoring
May 6, 2026
Merged

OisinKyne merged 4 commits into
mainfrom
nick/dv-monitoring

Conversation

@nickh-obol

@nickh-obol nickh-obol commented May 1, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Documents the dvpod chart's actual monitoring/logging surface: centralMonitoring.enabled=true deploys a bundled Prometheus pod (not just remote-write config), serviceMonitor.enabled integrates with a cluster Prometheus Operator, and charon.lokiAddresses makes Charon push logs directly to a Loki endpoint. Updates values-reference.md, examples.md (new Loki example, corrected Example 10), and troubleshooting.md.
  • Adds a new read-only dvpod-monitoring skill paired with dvpod. It runs pre-flight detection (bundled Prom / cluster Prom via ServiceMonitor / direct Charon :3620 / nothing) before querying, defaults to kubectl logs for log search, and only uses LogQL when the user has Loki configured. Adapts the local-monitoring pattern from CDVN PR #472 to Kubernetes/Helm.
  • Couples the two skills: cross-references in both description frontmatter, a shared skills/dvpod/discovery.md helper for namespace/release/pod/values resolution, and a health.sh script that produces a prompt-free health snapshot from the bundled Prometheus.
  • Tightens both skills' allowed-tools to specific read-only kubectl/helm patterns so common queries don't trigger permission prompts.

Comment thread skills/dvpod/SKILL.md
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 *)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder do these bash commands need obol too?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

@OisinKyne

Copy link
Copy Markdown
Contributor

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?

@nickh-obol

Copy link
Copy Markdown
Contributor Author

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.

@OisinKyne
OisinKyne merged commit a3f76e9 into main May 6, 2026
5 checks passed
@OisinKyne
OisinKyne deleted the nick/dv-monitoring branch May 6, 2026 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants