Skip to content

Conversation

joshrotenberg
Copy link
Contributor

@joshrotenberg joshrotenberg commented Oct 3, 2025

Overview

This PR introduces an Antora-based documentation site as an alternative to the MkDocs implementation in #65.

What's Changed

Documentation Structure

  • ✅ Installed Antora as a dev dependency
  • ✅ Created comprehensive documentation structure using AsciiDoc
  • ✅ Added platform-specific integration guides:
    • Grafana
    • Prometheus
    • Dynatrace
    • New Relic
    • Splunk
    • Kibana
  • ✅ Included operational guides:
    • Monitoring Redis Cloud
    • Alerting configuration
    • Troubleshooting
  • ✅ Added reference documentation:
    • Complete metrics reference
    • Configuration options
  • ✅ Configured build scripts (npm run docs)
  • ✅ Updated .gitignore to exclude build artifacts

Latest Updates

  • Added "Example Configurations" sections to all platform pages
    • Direct GitHub links to production-ready alert rules
    • Links to complete dashboard JSON files
    • Working docker-compose demo environments
    • OpenTelemetry Collector configurations
    • Terraform deployment modules
  • Created tracking issue Documentation Enhancement: Testing, Templates, and Configuration Guidance #75 for additional documentation enhancements
    • Testing & validation guide
    • Quick start templates
    • Production deployment checklist

Why Antora?

The team expressed preference for Antora over MkDocs. Antora offers:

  • Component-based documentation architecture
  • Support for multiple versions
  • AsciiDoc format (more powerful than Markdown)
  • Modular documentation structure
  • Better suited for enterprise documentation

How to Build

# Install dependencies
npm install

# Generate the site
npm run docs

# View the site
open build/site/index.html

# Or serve locally
npm run docs:serve
# Visit http://localhost:8080

Documentation Structure

docs/
├── antora.yml              # Component descriptor
└── modules/
    └── ROOT/
        ├── nav.adoc       # Navigation
        └── pages/         # Content
            ├── index.adoc
            ├── platforms/
            ├── dashboards/
            ├── guides/
            └── reference/

Key Features

  • Production-ready examples: Each platform page now links directly to tested configurations in the repository
  • Complete coverage: Documentation covers concepts with practical, copy-paste ready examples
  • Clear next steps: Users can immediately find working configurations without searching the repo
  • Future improvements tracked: Issue Documentation Enhancement: Testing, Templates, and Configuration Guidance #75 tracks testing guides, templates, and production checklists

Next Steps

Related

- Install Antora as dev dependency
- Create comprehensive documentation structure with AsciiDoc
- Add platform guides for Grafana, Prometheus, Dynatrace, New Relic, Splunk, Kibana
- Include guides for monitoring, alerting, and troubleshooting
- Add metrics and configuration reference documentation
- Configure build scripts for generating and serving docs
- Update .gitignore to exclude build output
- Automatically builds and deploys docs on push to main
- Triggers on changes to docs/, antora-playbook.yml, or workflow file
- Supports manual workflow dispatch
- Uses GitHub Pages for deployment
- Use github.com/redis/antora-ui-redis UI bundle
- Ensures consistent look and feel across Redis Field Engineering projects
- Adds .nojekyll file for GitHub Pages compatibility
- Aligns with redis-kafka-connect and other FE project styling
Added detailed, production-ready examples for:

Prometheus:
- Multi-cluster monitoring configurations
- TLS/SSL setup
- Kubernetes and Consul service discovery
- Recording rules for performance
- Retention and storage configuration
- Troubleshooting commands and fixes

Grafana:
- Data source provisioning (UI, file, docker-compose)
- Dashboard import methods (UI, API, provisioning)
- Template variable configuration
- Panel examples (timeseries, gauge, stat)
- Alert rule configuration
- Notification channels setup

Alerting:
- Complete Prometheus alert rules (critical and warning)
- Full Alertmanager configuration with routing
- PagerDuty and Slack integration examples
- Inhibition rules to prevent alert fatigue
- Testing and silencing commands
- Multiple receiver configurations

All examples are copy-paste ready with realistic values.
- Infrastructure agent installation and setup
- Prometheus integration configuration
- Kubernetes deployment examples
- Remote write configuration with queue settings
- Comprehensive NRQL query examples
- Alert condition configurations
- Terraform automation for alerts and policies
- Dashboard creation via API examples
- Keep Antora build/ directory ignore
- Merge in Terraform-related ignores from upstream
- Keep .claude ignore from upstream
- Add prominent links to production-ready configs in GitHub repo
- Include direct links to alert rules, dashboards, and complete configurations
- Add helpful tips encouraging users to download/customize rather than start from scratch
- Covers Prometheus, Grafana, New Relic, Dynatrace, and Splunk platforms

Related to redis-field-engineering#75
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.

1 participant