跳转到主要内容
此内容尚未提供您的语言版本,正在以英文显示。

Configure Log Aggregation

技能 已验证 活跃

Set up centralized log aggregation with Loki and Promtail (or ELK stack), including log parsing, label extraction, retention policies, and integration with metrics for correlation. Use when consolidating logs from multiple services into a searchable system, replacing local log files with centralized queryable storage, correlating logs with metrics and traces, implementing structured logging with label extraction, or troubleshooting production incidents requiring cross-service log analysis.

目的

To enable users to establish a robust centralized log aggregation system for improved observability and incident troubleshooting.

功能

  • Deploy Loki and Promtail using Docker Compose
  • Configure Promtail for various log sources (system, containers, apps, Nginx, Kubernetes)
  • Implement log parsing, label extraction, and timestamp parsing
  • Demonstrate LogQL for querying logs and performing aggregations
  • Integrate logs with metrics and traces via Grafana data links
  • Configure log retention policies and compaction

使用场景

  • Consolidating logs from multiple services into a searchable system
  • Replacing local log files with centralized queryable storage
  • Correlating logs with metrics and traces for full observability
  • Troubleshooting production incidents requiring cross-service log analysis

非目标

  • Managing ELK stack deployments (focus is on Loki/Promtail)
  • Advanced Grafana dashboard creation (links to logs are provided)
  • Application-level instrumentation for trace IDs (instructions are provided on how to integrate them)

安装

/plugin install agent-almanac@pjt222-agent-almanac

质量评分

已验证
95 /100
about 24 hours ago 分析

信任信号

最近提交2 days ago
星标14
许可证MIT
状态
查看源代码

类似扩展

Meta Observer

100

Track skill performance and emerging patterns

技能
mshadmanrahman

Usage Tracker

100

跟踪每次本地 Claude Code 使用情况并进行报告:消耗的 token 数、预估成本(欧元)、会话数、项目数以及工具细分。当用户询问有关消耗、积分、使用情况、每次请求的成本、想要查看报告、询问特定请求为何昂贵、怀疑某个进程正在消耗 token、想要优化 Claude Code 使用情况或想要审核每次请求的工具使用情况时使用。还会触发对西班牙语短语的响应:'cuánto me está costando', 'cuántos tokens', 'consumo de hoy', 'qué petición fue cara', 'está consumiendo mucho', 'optimizar consumo', 'reporte de uso', 'ver uso', 'instalar tracker', 'hook no registra'。命令:/usage-tracker report [hoy|semana|mes|all] [proyecto], /usage-tracker top-requests [hoy|semana], /usage-tracker install, /usage-tracker status

技能
j4rk0r

Sentry Python SDK

100

Full Sentry SDK setup for Python. Use when asked to "add Sentry to Python", "install sentry-sdk", "setup Sentry in Python", or configure error monitoring, tracing, profiling, logging, metrics, crons, or AI monitoring for Python applications. Supports Django, Flask, FastAPI, Celery, Starlette, AIOHTTP, Tornado, and more.

技能
getsentry

Design On Call Rotation

100

Design sustainable on-call rotations with balanced schedules, clear escalation policies, fatigue management, and handoff procedures. Minimize burnout while maintaining incident response coverage. Use when setting up on-call for the first time, scaling a team from 2-3 to 5+ engineers, addressing on-call burnout or alert fatigue, improving incident response times, or after a post-mortem identifies handoff issues.

技能
pjt222

Observability Designer

100

Observability Designer (POWERFUL)

技能
alirezarezvani

Session Log

99

总结当前对话会话并将结果追加到每周代理日志。当用户说“记录此内容”、“会话日志”、“总结此会话”或要求将结果写入代理日志时使用。

技能
michalparkola