Skip to content

Commit 6c8ee08

Browse files
committed
[DOP-25470] Add missing ping endpoint to consumer
1 parent 4a7ecab commit 6c8ee08

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

data_rentgen/http2kafka/__init__.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,11 @@
1717
from data_rentgen.http2kafka.settings import Http2KafkaApplicationSettings
1818
from data_rentgen.logging.setup_logging import setup_logging
1919
from data_rentgen.server.api.handlers import apply_exception_handlers
20+
from data_rentgen.server.api.monitoring import router as monitoring_router
2021
from data_rentgen.server.middlewares import apply_middlewares
21-
from data_rentgen.server.providers.auth.personal_token_provider import PersonalTokenAuthProvider
22+
from data_rentgen.server.providers.auth.personal_token_provider import (
23+
PersonalTokenAuthProvider,
24+
)
2225

2326
logger = logging.getLogger(__name__)
2427

@@ -68,6 +71,7 @@ def application_factory(settings: Http2KafkaApplicationSettings) -> FastAPI:
6871
)
6972

7073
application.state.settings = settings
74+
application.include_router(monitoring_router)
7175
application.include_router(openlineage_router)
7276

7377
PersonalTokenAuthProvider.setup(application)

0 commit comments

Comments
 (0)