This commit is contained in:
Michal 2024-08-17 03:04:03 +01:00
parent 630ae101e5
commit 95166c1d18

View File

@ -37,7 +37,8 @@ namespace PrometheusExporterEdenic
app.UseDeveloperExceptionPage();
}
string EDENIC_API = Environment.GetEnvironmentVariable("EDENIC_API") ?? "placeholderapikey";
string EDENIC_ORGID = Environment.GetEnvironmentVariable("EDENIC_ORGID") ?? "9ffb9b70-461c-11ef-92e1-85f1b2168e5a";
string EDENIC_API = Environment.GetEnvironmentVariable("EDENIC_API") ?? "ed_tjf14py97vz1cf4ugxljiiqwckxkhzim0coqogqmk1x99rfjlgi1q2vxesav4z55";
// Enable prometheus metrics
app.UseMetricServer();