File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed
Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change 1212 FastStreamPrometheusMiddlewareProtocol ,
1313 LitestarPrometheusConfig ,
1414)
15+ from microbootstrap .instruments .pyroscope_instrument import PyroscopeConfig
1516from microbootstrap .instruments .sentry_instrument import SentryConfig
1617from microbootstrap .instruments .swagger_instrument import SwaggerConfig
1718from microbootstrap .settings import (
3738 "LitestarSettings" ,
3839 "LoggingConfig" ,
3940 "OpentelemetryConfig" ,
41+ "PyroscopeConfig" ,
4042 "SentryConfig" ,
4143 "SwaggerConfig" ,
4244)
Original file line number Diff line number Diff line change 1414 LitestarPrometheusConfig ,
1515 LoggingConfig ,
1616 OpentelemetryConfig ,
17+ PyroscopeConfig ,
1718 SentryConfig ,
1819 SwaggerConfig ,
1920)
@@ -66,6 +67,7 @@ class LitestarSettings( # type: ignore[misc]
6667 SwaggerConfig ,
6768 CorsConfig ,
6869 HealthChecksConfig ,
70+ PyroscopeConfig ,
6971):
7072 """Settings for a litestar botstrap."""
7173
@@ -80,6 +82,7 @@ class FastApiSettings( # type: ignore[misc]
8082 SwaggerConfig ,
8183 CorsConfig ,
8284 HealthChecksConfig ,
85+ PyroscopeConfig ,
8386):
8487 """Settings for a fastapi botstrap."""
8588
@@ -92,6 +95,7 @@ class FastStreamSettings( # type: ignore[misc]
9295 SentryConfig ,
9396 FastStreamPrometheusConfig ,
9497 HealthChecksConfig ,
98+ PyroscopeConfig ,
9599):
96100 """Settings for a faststream bootstrap."""
97101
@@ -103,5 +107,6 @@ class InstrumentsSetupperSettings( # type: ignore[misc]
103107 LoggingConfig ,
104108 OpentelemetryConfig ,
105109 SentryConfig ,
110+ PyroscopeConfig ,
106111):
107112 """Settings for a vanilla service."""
You can’t perform that action at this time.
0 commit comments