{
"adaptive_load_balancing_metrics": {
"last_evaluation": "2024-01-15T10:30:00Z",
"next_evaluation": "2024-01-15T10:30:30Z",
"total_adjustments_last_hour": 12,
"performance_improvements": {
"latency_improvement": "15.2%",
"error_rate_reduction": "28.4%",
"throughput_increase": "11.8%"
},
"provider_performance": {
"openai": {
"total_keys": 3,
"healthy_keys": 2,
"degraded_keys": 1,
"avg_weight": 0.83,
"traffic_distribution": {
"gpt-4-key-1": {
"weight": 0.6,
"traffic_percentage": 28.5,
"performance_score": 0.72,
"trend": "declining"
},
"gpt-4-key-2": {
"weight": 1.1,
"traffic_percentage": 52.3,
"performance_score": 0.94,
"trend": "stable"
},
"gpt-4-key-3": {
"weight": 0.9,
"traffic_percentage": 19.2,
"performance_score": 0.87,
"trend": "improving"
}
}
},
"anthropic": {
"total_keys": 2,
"healthy_keys": 2,
"degraded_keys": 0,
"avg_weight": 1.05,
"traffic_distribution": {
"claude-3-key-1": {
"weight": 1.0,
"traffic_percentage": 48.2,
"performance_score": 0.91,
"trend": "stable"
},
"claude-3-key-2": {
"weight": 1.1,
"traffic_percentage": 51.8,
"performance_score": 0.95,
"trend": "improving"
}
}
}
}
}
}