mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-05 16:22:06 +02:00
fix: update comments for clarity on telemetry route mounting during feature-set initialization
This commit is contained in:
@@ -38,8 +38,10 @@ const INCOMING_REQUEST_PREFIXES: Array<string> = [
|
||||
const TelemetryFeatureSet: FeatureSet = {
|
||||
init: async (): Promise<void> => {
|
||||
try {
|
||||
// Mount telemetry routes only during feature-set init so they sit behind
|
||||
// the shared middleware stack from StartServer (body parsers, headers, etc.).
|
||||
/*
|
||||
* Mount telemetry routes only during feature-set init so they sit behind
|
||||
* the shared middleware stack from StartServer (body parsers, headers, etc.).
|
||||
*/
|
||||
app.use(TELEMETRY_PREFIXES, OTelIngestAPI);
|
||||
app.use(TELEMETRY_PREFIXES, MetricsAPI);
|
||||
app.use(TELEMETRY_PREFIXES, SyslogAPI);
|
||||
|
||||
Reference in New Issue
Block a user