{
  "service": {
    "name": "atlas-kv",
    "environment": "production",
    "version": "2.8.4",
    "region": "us-east-1",
    "startedAt": "2026-07-11T13:42:18Z"
  },
  "cluster": {
    "clusterId": "kv-prod-use1-a7f3",
    "topology": "multi_az",
    "shardCount": 12,
    "replicationFactor": 3,
    "nodes": [
      {
        "nodeId": "kv-use1-a-001",
        "host": "10.24.18.11",
        "port": 7379,
        "availabilityZone": "us-east-1a",
        "role": "leader",
        "status": "healthy",
        "shards": [0, 3, 7, 10]
      },
      {
        "nodeId": "kv-use1-b-002",
        "host": "10.24.42.19",
        "port": 7379,
        "availabilityZone": "us-east-1b",
        "role": "follower",
        "status": "healthy",
        "shards": [1, 4, 8, 11]
      },
      {
        "nodeId": "kv-use1-c-003",
        "host": "10.24.76.23",
        "port": 7379,
        "availabilityZone": "us-east-1c",
        "role": "follower",
        "status": "syncing",
        "shards": [2, 5, 6, 9]
      }
    ]
  },
  "storage": {
    "engine": "lsm-tree",
    "dataDirectory": "/var/lib/atlas-kv/data",
    "writeAheadLog": {
      "enabled": true,
      "directory": "/var/lib/atlas-kv/wal",
      "fsyncPolicy": "every_second",
      "segmentSizeMb": 128
    },
    "compaction": {
      "strategy": "leveled",
      "maxBackgroundJobs": 6,
      "targetFileSizeMb": 64
    }
  },
  "consistency": {
    "defaultRead": "quorum",
    "defaultWrite": "majority",
    "linearizableReads": true,
    "readRepair": {
      "enabled": true,
      "sampleRate": 0.05
    }
  },
  "api": {
    "protocols": ["http", "grpc"],
    "http": {
      "bindAddress": "0.0.0.0",
      "port": 8080,
      "requestTimeoutMs": 3000
    },
    "grpc": {
      "bindAddress": "0.0.0.0",
      "port": 9090,
      "maxMessageSizeBytes": 4194304
    }
  },
  "limits": {
    "maxKeyBytes": 1024,
    "maxValueBytes": 1048576,
    "maxBatchOperations": 500,
    "rateLimits": [
      {
        "scope": "tenant",
        "operationsPerSecond": 25000,
        "burst": 50000
      },
      {
        "scope": "client",
        "operationsPerSecond": 5000,
        "burst": 10000
      }
    ]
  },
  "security": {
    "tls": {
      "enabled": true,
      "certificateFile": "/etc/atlas-kv/tls/server.crt",
      "privateKeyFile": "/etc/atlas-kv/tls/server.key",
      "clientCertificateRequired": true
    },
    "authentication": {
      "enabled": true,
      "provider": "oauth2",
      "issuer": "https://auth.example.com/",
      "audiences": ["atlas-kv-api"]
    }
  },
  "observability": {
    "metrics": {
      "enabled": true,
      "endpoint": "/metrics",
      "histogramBucketsMs": [1, 5, 10, 25, 50, 100, 250, 500, 1000]
    },
    "logging": {
      "level": "info",
      "format": "json",
      "sampleDebugLogs": false
    },
    "tracing": {
      "enabled": true,
      "collectorEndpoint": "http://otel-collector.monitoring:4318"
    }
  },
  "backup": {
    "enabled": true,
    "schedule": "0 */6 * * *",
    "retentionDays": 14,
    "destination": {
      "type": "s3",
      "bucket": "atlas-kv-prod-backups",
      "prefix": "us-east-1/kv-prod-use1-a7f3"
    }
  }
}