Add openobserve-skills and claude-telemetry-hooks plugins - #173
Merged
Conversation
REST API skill that lets agents talk to OpenObserve (Cloud or self-hosted) with curl. Covers auth, search/SQL with microsecond timestamps, stream listing, dashboard CRUD, the v8 panel JSON schema, and known pitfalls (customQuery re-aggregation, hash concurrency). OpenObserve Cloud has no terminal CLI (o2-cli is Enterprise self-hosted only), so this fills the gap for agent-driven dashboard work. Includes 13 reference docs synced from openobserve/openobserve-docs and 3 helper recipes for search, dashboard build, and panel update.
Two hook scripts that fill gaps in Claude Code's OTel export. session_start_chat_id.py mints a sticky chat_id per project so resumed sessions group together (the OTel session_id resets on every claude invocation). user_prompt_reject_feedback.py detects tool rejections in the prior turn and emits a categorized reject_feedback log event with 10 categories (profanity, factual_challenge, terse_reject, wrong_target, tool_steering, scope_drift, verify_first, rule_setting, why_rhetorical, retry_request) derived from 995 real user messages across 402 transcripts. Pairs with openobserve-skills for building the receiving dashboards.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two coupled plugins for the Claude Code observability stack.
openobserve-skillsgives the agent curl-based REST API access to OpenObserve (search, streams, dashboards, panel schema) since OpenObserve Cloud has no terminal CLI.claude-telemetry-hooksships a SessionStart hook that mints a stickychat_idper project so resumed sessions group together (the OTelsession_idresets on everyclaudeinvocation), and a UserPromptSubmit hook that classifies tool-rejection follow-ups into 10 categories (profanity, factual_challenge, terse_reject, wrong_target, tool_steering, scope_drift, verify_first, rule_setting, why_rhetorical, retry_request) derived from 995 user messages across 402 transcripts.