argus

module
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 17, 2026 License: MIT

README ΒΆ

πŸ”­ Argus

AI-powered observability CLI for SREs.

Argus connects to your Signoz instances and uses Anthropic Claude to analyze logs, metrics, and traces with natural language queries.

"Why is latency high on the payments service?" β€” Just ask Argus.


Features

  • πŸ€– Natural language queries β€” Ask questions about your infrastructure in plain English
  • πŸ“‘ Multi-instance support β€” Manage multiple Signoz environments (production, staging, etc.)
  • πŸ“‹ Real log/trace/metric queries β€” Direct integration with Signoz query_range API (v3 + v5)
  • πŸ”§ Service discovery β€” List services with call counts and error rates
  • πŸ“Š Dashboard view β€” Combined overview of health, services, and recent errors
  • ⚑ Streaming AI responses β€” Real-time analysis output as tokens arrive
  • 🎨 Beautiful terminal UI β€” Severity-colored logs, formatted traces, metric tables
  • πŸ”§ Simple configuration β€” YAML config, multiple profiles, easy setup

Installation

From source
go install github.com/lbarahona/argus/cmd/argus@latest
Binary releases

Download from GitHub Releases.

Build from source
git clone https://github.com/lbarahona/argus.git
cd argus
make build
# Binary at ./bin/argus

Quick Start

# 1. Initialize configuration
argus config init

# 2. Check instance health
argus status

# 3. List services
argus services

# 4. Query logs with AI analysis
argus logs auth-service --query "any errors in the last hour?"

# 5. View traces
argus traces frontend --duration 30

# 6. Quick dashboard
argus dashboard

# 7. Ask free-form questions
argus ask "why is latency high on the payments service?"

Commands

Command Description
argus version Print version information
argus config init Interactive configuration setup
argus config add-instance Add a new Signoz instance
argus instances List configured instances
argus status Health check all instances
argus services List services with call counts and error rates
argus logs [service] Query and analyze logs
argus traces [service] Query distributed traces
argus metrics [metric] Query metrics
argus dashboard Combined overview dashboard
argus ask [question] Free-form AI analysis
Logs
# Query logs for a service
argus logs my-service

# Filter by severity
argus logs my-service --severity ERROR

# With AI analysis
argus logs my-service --query "find authentication failures"

# Specify instance, duration, and limit
argus logs my-service -i staging -d 120 -l 50
Services
# List all services with error rates
argus services

# From a specific instance
argus services -i production
Traces
# Query traces for a service
argus traces frontend

# With duration and limit
argus traces api-gateway -d 30 -l 50

# With AI analysis
argus traces frontend --query "find slow requests over 1s"
Metrics
# Query a specific metric
argus metrics cpu_usage

# With AI analysis
argus metrics http_request_duration --query "any anomalies?"
Dashboard
# Quick overview of everything
argus dashboard

# Look back further for errors
argus dashboard -d 120
Ask
# Free-form questions β€” gathers context from Signoz automatically
argus ask "what services had the most errors today?"
argus ask "is there a correlation between high CPU and slow responses?"

Configuration

Config is stored at ~/.argus/config.yaml:

anthropic_key: sk-ant-...
default_instance: production
instances:
  production:
    url: https://signoz.example.com
    api_key: your-signoz-api-key
    name: Production
    api_version: v3  # v3 for self-hosted, v5 for Signoz Cloud
  staging:
    url: https://signoz-staging.example.com
    api_key: your-staging-key
    name: Staging
    api_version: v5
API Version
  • v3 (default) β€” For self-hosted Signoz instances (/api/v3/query_range)
  • v5 β€” For Signoz Cloud (/api/v5/query_range)

Requirements

Contributing

Contributions are welcome! Please open an issue or submit a PR.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'feat: add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

License

MIT Β© Lester Barahona

Directories ΒΆ

Path Synopsis
cmd
argus command
internal
ai
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL