mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-22 22:15:22 +00:00
bugfix: use Basic prefix for otel metrics
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user