{
  "service": {
    "name": "atlas-kv",
    "environment": "production",
    "version": "3.8.1",
    "region": "ca-central-1",
    "clusterId": "kv-prod-7f31c2",
    "listenAddress": "0.0.0.0",
    "ports": {
      "client": 7400,
      "peer": 7401,
      "metrics": 9090
    }
  },
  "cluster": {
    "replicationFactor": 3,
    "consistency": {
      "defaultRead": "quorum",
      "defaultWrite": "quorum",
      "allowStaleReads": false
    },
    "nodes": [
      {
        "id": "node-a1",
        "host": "10.42.1.11",
        "zone": "ca-central-1a",
        "roles": [
          "leader-eligible",
          "storage"
        ],
        "capacity": {
          "diskBytes": 2199023255552,
          "memoryBytes": 68719476736
        },
        "status": "healthy"
      },
      {
        "id": "node-b1",
        "host": "10.42.2.11",
        "zone": "ca-central-1b",
        "roles": [
          "leader-eligible",
          "storage"
        ],
        "capacity": {
          "diskBytes": 2199023255552,
          "memoryBytes": 68719476736
        },
        "status": "healthy"
      },
      {
        "id": "node-d1",
        "host": "10.42.3.11",
        "zone": "ca-central-1d",
        "roles": [
          "leader-eligible",
          "storage"
        ],
        "capacity": {
          "diskBytes": 2199023255552,
          "memoryBytes": 68719476736
        },
        "status": "healthy"
      }
    ]
  },
  "storage": {
    "engine": "lsm",
    "dataDirectory": "/var/lib/atlas-kv/data",
    "compression": {
      "algorithm": "zstd",
      "level": 3
    },
    "writeAheadLog": {
      "enabled": true,
      "syncMode": "batch",
      "segmentSizeBytes": 134217728
    },
    "compaction": {
      "strategy": "leveled",
      "maxConcurrentJobs": 4,
      "tombstoneGraceSeconds": 86400
    }
  },
  "sharding": {
    "strategy": "consistent-hash",
    "virtualNodesPerNode": 256,
    "rebalance": {
      "automatic": true,
      "maxTransfers": 8,
      "bandwidthLimitMbps": 400
    }
  },
  "security": {
    "tls": {
      "enabled": true,
      "minimumVersion": "1.3",
      "certificateFile": "/etc/atlas-kv/tls/server.crt",
      "privateKeyFile": "/etc/atlas-kv/tls/server.key",
      "clientCaFile": "/etc/atlas-kv/tls/clients-ca.crt",
      "requireClientCertificate": true
    },
    "authentication": {
      "enabled": true,
      "providers": [
        {
          "type": "service-token",
          "tokenTtlSeconds": 3600
        },
        {
          "type": "oidc",
          "issuer": "https://identity.example.net",
          "audiences": [
            "atlas-kv",
            "atlas-kv-admin"
          ]
        }
      ]
    }
  },
  "limits": {
    "maxKeyBytes": 4096,
    "maxValueBytes": 10485760,
    "maxBatchOperations": 1000,
    "requestTimeoutMs": 5000,
    "rateLimits": {
      "readsPerSecond": 50000,
      "writesPerSecond": 20000,
      "burstMultiplier": 1.5
    }
  },
  "observability": {
    "metrics": {
      "enabled": true,
      "format": "prometheus",
      "path": "/metrics"
    },
    "tracing": {
      "enabled": true,
      "exporter": "otlp",
      "endpoint": "https://telemetry.example.net/v1/traces",
      "sampleRate": 0.05
    },
    "logging": {
      "level": "info",
      "format": "json",
      "fields": {
        "service": "atlas-kv",
        "environment": "production"
      },
      "redact": [
        "authorization",
        "cookie",
        "x-service-token"
      ]
    }
  },
  "backup": {
    "enabled": true,
    "schedule": "0 */6 * * *",
    "retention": {
      "daily": 14,
      "weekly": 8,
      "monthly": 12
    },
    "destination": {
      "type": "object-storage",
      "bucket": "atlas-kv-prod-backups",
      "prefix": "ca-central-1/",
      "encryption": "kms"
    }
  },
  "featureFlags": {
    "conditionalWrites": true,
    "transactions": true,
    "changeStreams": false,
    "crossRegionReplication": false
  },
  "metadata": {
    "managedBy": "platform-engineering",
    "labels": {
      "tier": "critical",
      "costCenter": "cc-1042",
      "dataClassification": "confidential"
    },
    "lastUpdated": "2026-07-15T14:32:18Z"
  }
}