Agent skill
observability-patterns
Use this skill when implementing logging, monitoring, timing, or diagnostics. Triggers on: logging setup, performance profiling, timing, stderr output, or mentions of "logging", "monitoring", "timing", "profiling", "observability", or "diagnostics".
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/observability-patterns-codehalwell-doclingoptimisation
SKILL.md
Observability Patterns — DoclingOptimisation
Current Logging
- Python
loggingmodule with custom format (%(message)s) - All logs go to stderr (stdout reserved for markdown output)
- Timing helper
_step()logs elapsed time since process start - Pipeline profiling enabled:
settings.debug.profile_pipeline_timings = True
Logging Standards
- Use
logging.getLogger("docling-processor")for the main logger - Include elapsed time in all step messages
- Log CPU detection results, accelerator config, batch sizes
- Log input file metadata (name, size)
- Log conversion timing (convert duration, export duration, total)
For Azure Deployment
- Container App Job logs go to Azure Log Analytics
- Consider structured JSON logging for machine-parseable output
- Track: conversion time, file size, thread count, model used
- Set up alerts for: job failures, timeouts, excessive memory usage
Health Monitoring
- Container App Jobs don't need health check endpoints
- Monitor job execution status via Azure Container Apps API
- Track job duration trends to detect performance regressions
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?