{
  "service": {
    "name": "atlas-kv",
    "environment": "production",
    "version": "3.8.2",
    "region": "us-east-1",
    "cluster": {
      "id": "kv-prod-use1-01",
      "replicationFactor": 3,
      "consistency": {
        "defaultRead": "quorum",
        "defaultWrite": "quorum",
        "allowStaleReads": false
      },
      "nodes": [
        {
          "id": "node-a1",
          "host": "10.42.1.11",
          "port": 7400,
          "zone": "us-east-1a",
          "roles": [
            "storage",
            "coordinator"
          ],
          "status": "healthy",
          "capacity": {
            "totalBytes": 2199023255552,
            "usedBytes": 824633720832
          }
        },
        {
          "id": "node-b1",
          "host": "10.42.2.11",
          "port": 7400,
          "zone": "us-east-1b",
          "roles": [
            "storage"
          ],
          "status": "healthy",
          "capacity": {
            "totalBytes": 2199023255552,
            "usedBytes": 781684047872
          }
        },
        {
          "id": "node-c1",
          "host": "10.42.3.11",
          "port": 7400,
          "zone": "us-east-1c",
          "roles": [
            "storage"
          ],
          "status": "degraded",
          "capacity": {
            "totalBytes": 2199023255552,
            "usedBytes": 901943132160
          }
        }
      ]
    },
    "storage": {
      "engine": "lsm",
      "dataDirectory": "/var/lib/atlas-kv/data",
      "compression": "zstd",
      "memtableSizeBytes": 134217728,
      "maxOpenFiles": 8192,
      "compaction": {
        "strategy": "leveled",
        "targetFileSizeBytes": 67108864,
        "maxConcurrentJobs": 4
      }
    },
    "network": {
      "clientAddress": "0.0.0.0:7399",
      "peerAddress": "0.0.0.0:7400",
      "requestTimeoutMs": 2500,
      "maxConnections": 20000,
      "tls": {
        "enabled": true,
        "certificateFile": "/etc/atlas-kv/tls/server.crt",
        "privateKeyFile": "/etc/atlas-kv/tls/server.key",
        "clientAuthentication": "required"
      }
    },
    "namespaces": [
      {
        "name": "sessions",
        "keyPrefix": "sess:",
        "defaultTtlSeconds": 86400,
        "maxValueBytes": 1048576,
        "encryption": {
          "enabled": true,
          "keyAlias": "alias/atlas-kv-sessions"
        }
      },
      {
        "name": "feature-flags",
        "keyPrefix": "flag:",
        "defaultTtlSeconds": null,
        "maxValueBytes": 65536,
        "encryption": {
          "enabled": false,
          "keyAlias": null
        }
      }
    ],
    "observability": {
      "metrics": {
        "enabled": true,
        "endpoint": "/metrics",
        "port": 9090
      },
      "tracing": {
        "enabled": true,
        "sampleRate": 0.05,
        "collectorUrl": "https://otel-collector.internal.example.com/v1/traces"
      },
      "logging": {
        "level": "info",
        "format": "json",
        "includeRequestIds": true
      }
    },
    "maintenance": {
      "snapshotSchedule": "0 */6 * * *",
      "snapshotRetentionDays": 14,
      "automaticRebalancing": true,
      "drainTimeoutSeconds": 300
    }
  }
}