Skip to content

Commit

Permalink
fix: inject apm service
Browse files Browse the repository at this point in the history
  • Loading branch information
Qinyouzeng committed Mar 14, 2024
1 parent fb3c0ee commit 2e400d2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ private static void AddClickHouse()
{
if (ConfigConst.StorageConst.HasInit || !ConfigConst.IsClickhouse) return;
if (string.IsNullOrEmpty(ConfigConst.ClikhouseConnection)) return;
_services.AddMASAStackClickhouse(ConfigConst.ClikhouseConnection, ConfigConst.LogIndex, ConfigConst.TraceIndex, ConfigConst.ClickHouseLogSourceTable, ConfigConst.ClickHouseTaceSourceTable);
_services.AddMASAStackApmClickhouse(ConfigConst.ClikhouseConnection, ConfigConst.LogIndex, ConfigConst.TraceIndex, ConfigConst.ClickHouseLogSourceTable, ConfigConst.ClickHouseTaceSourceTable);
ConfigConst.StorageConst.SetClickhouse();
}

Expand Down

0 comments on commit 2e400d2

Please sign in to comment.