bugfix: use Basic prefix for otel metrics

This commit is contained in:
evanpelle
2025-09-11 22:19:21 -07:00
parent b46d76932d
commit 272c362182
+1 -1
View File
@@ -20,7 +20,7 @@ export function initWorkerMetrics(gameManager: GameManager): void {
// Configure auth headers
const headers: Record<string, string> = {};
if (config.otelEnabled()) {
headers["Authorization"] = config.otelAuthHeader();
headers["Authorization"] = "Basic " + config.otelAuthHeader();
}
// Create metrics exporter