microbootstrap 0.16.0__tar.gz → 0.16.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {microbootstrap-0.16.0 → microbootstrap-0.16.2}/PKG-INFO +8 -8
- {microbootstrap-0.16.0 → microbootstrap-0.16.2}/README.md +1 -1
- {microbootstrap-0.16.0 → microbootstrap-0.16.2}/microbootstrap/instruments/logging_instrument.py +1 -1
- {microbootstrap-0.16.0 → microbootstrap-0.16.2}/pyproject.toml +6 -6
- {microbootstrap-0.16.0 → microbootstrap-0.16.2}/.github/workflows/release_docs.yml +0 -0
- {microbootstrap-0.16.0 → microbootstrap-0.16.2}/.github/workflows/workflow.yml +0 -0
- {microbootstrap-0.16.0 → microbootstrap-0.16.2}/.gitignore +0 -0
- {microbootstrap-0.16.0 → microbootstrap-0.16.2}/.pre-commit-config.yaml +0 -0
- {microbootstrap-0.16.0 → microbootstrap-0.16.2}/Justfile +0 -0
- {microbootstrap-0.16.0 → microbootstrap-0.16.2}/docs/.vuepress/config.js +0 -0
- {microbootstrap-0.16.0 → microbootstrap-0.16.2}/docs/README.md +0 -0
- {microbootstrap-0.16.0 → microbootstrap-0.16.2}/docs/get-started.md +0 -0
- {microbootstrap-0.16.0 → microbootstrap-0.16.2}/logo.svg +0 -0
- {microbootstrap-0.16.0 → microbootstrap-0.16.2}/microbootstrap/__init__.py +0 -0
- {microbootstrap-0.16.0 → microbootstrap-0.16.2}/microbootstrap/bootstrappers/__init__.py +0 -0
- {microbootstrap-0.16.0 → microbootstrap-0.16.2}/microbootstrap/bootstrappers/base.py +0 -0
- {microbootstrap-0.16.0 → microbootstrap-0.16.2}/microbootstrap/bootstrappers/fastapi.py +0 -0
- {microbootstrap-0.16.0 → microbootstrap-0.16.2}/microbootstrap/bootstrappers/faststream.py +0 -0
- {microbootstrap-0.16.0 → microbootstrap-0.16.2}/microbootstrap/bootstrappers/litestar.py +0 -0
- {microbootstrap-0.16.0 → microbootstrap-0.16.2}/microbootstrap/config/__init__.py +0 -0
- {microbootstrap-0.16.0 → microbootstrap-0.16.2}/microbootstrap/config/fastapi.py +0 -0
- {microbootstrap-0.16.0 → microbootstrap-0.16.2}/microbootstrap/config/faststream.py +0 -0
- {microbootstrap-0.16.0 → microbootstrap-0.16.2}/microbootstrap/config/litestar.py +0 -0
- {microbootstrap-0.16.0 → microbootstrap-0.16.2}/microbootstrap/console_writer.py +0 -0
- {microbootstrap-0.16.0 → microbootstrap-0.16.2}/microbootstrap/exceptions.py +0 -0
- {microbootstrap-0.16.0 → microbootstrap-0.16.2}/microbootstrap/granian_server.py +0 -0
- {microbootstrap-0.16.0 → microbootstrap-0.16.2}/microbootstrap/helpers.py +0 -0
- {microbootstrap-0.16.0 → microbootstrap-0.16.2}/microbootstrap/instruments/__init__.py +0 -0
- {microbootstrap-0.16.0 → microbootstrap-0.16.2}/microbootstrap/instruments/base.py +0 -0
- {microbootstrap-0.16.0 → microbootstrap-0.16.2}/microbootstrap/instruments/cors_instrument.py +0 -0
- {microbootstrap-0.16.0 → microbootstrap-0.16.2}/microbootstrap/instruments/health_checks_instrument.py +0 -0
- {microbootstrap-0.16.0 → microbootstrap-0.16.2}/microbootstrap/instruments/instrument_box.py +0 -0
- {microbootstrap-0.16.0 → microbootstrap-0.16.2}/microbootstrap/instruments/opentelemetry_instrument.py +0 -0
- {microbootstrap-0.16.0 → microbootstrap-0.16.2}/microbootstrap/instruments/prometheus_instrument.py +0 -0
- {microbootstrap-0.16.0 → microbootstrap-0.16.2}/microbootstrap/instruments/sentry_instrument.py +0 -0
- {microbootstrap-0.16.0 → microbootstrap-0.16.2}/microbootstrap/instruments/swagger_instrument.py +0 -0
- {microbootstrap-0.16.0 → microbootstrap-0.16.2}/microbootstrap/instruments_setupper.py +0 -0
- {microbootstrap-0.16.0 → microbootstrap-0.16.2}/microbootstrap/middlewares/__init__.py +0 -0
- {microbootstrap-0.16.0 → microbootstrap-0.16.2}/microbootstrap/middlewares/fastapi.py +0 -0
- {microbootstrap-0.16.0 → microbootstrap-0.16.2}/microbootstrap/middlewares/litestar.py +0 -0
- {microbootstrap-0.16.0 → microbootstrap-0.16.2}/microbootstrap/py.typed +0 -0
- {microbootstrap-0.16.0 → microbootstrap-0.16.2}/microbootstrap/settings.py +0 -0
- {microbootstrap-0.16.0 → microbootstrap-0.16.2}/package-lock.json +0 -0
- {microbootstrap-0.16.0 → microbootstrap-0.16.2}/package.json +0 -0
- {microbootstrap-0.16.0 → microbootstrap-0.16.2}/tests/__init__.py +0 -0
- {microbootstrap-0.16.0 → microbootstrap-0.16.2}/tests/bootstrappers/__init__.py +0 -0
- {microbootstrap-0.16.0 → microbootstrap-0.16.2}/tests/bootstrappers/test_fastapi.py +0 -0
- {microbootstrap-0.16.0 → microbootstrap-0.16.2}/tests/bootstrappers/test_faststream.py +0 -0
- {microbootstrap-0.16.0 → microbootstrap-0.16.2}/tests/bootstrappers/test_litestar.py +0 -0
- {microbootstrap-0.16.0 → microbootstrap-0.16.2}/tests/conftest.py +0 -0
- {microbootstrap-0.16.0 → microbootstrap-0.16.2}/tests/instruments/__init__.py +0 -0
- {microbootstrap-0.16.0 → microbootstrap-0.16.2}/tests/instruments/test_cors.py +0 -0
- {microbootstrap-0.16.0 → microbootstrap-0.16.2}/tests/instruments/test_health_checks.py +0 -0
- {microbootstrap-0.16.0 → microbootstrap-0.16.2}/tests/instruments/test_instrument_box.py +0 -0
- {microbootstrap-0.16.0 → microbootstrap-0.16.2}/tests/instruments/test_logging.py +0 -0
- {microbootstrap-0.16.0 → microbootstrap-0.16.2}/tests/instruments/test_opentelemetry.py +0 -0
- {microbootstrap-0.16.0 → microbootstrap-0.16.2}/tests/instruments/test_prometheus.py +0 -0
- {microbootstrap-0.16.0 → microbootstrap-0.16.2}/tests/instruments/test_sentry.py +0 -0
- {microbootstrap-0.16.0 → microbootstrap-0.16.2}/tests/instruments/test_swagger.py +0 -0
- {microbootstrap-0.16.0 → microbootstrap-0.16.2}/tests/test_granian_server.py +0 -0
- {microbootstrap-0.16.0 → microbootstrap-0.16.2}/tests/test_helpers.py +0 -0
- {microbootstrap-0.16.0 → microbootstrap-0.16.2}/tests/test_instruments_setupper.py +0 -0
- {microbootstrap-0.16.0 → microbootstrap-0.16.2}/tests/test_settings.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: microbootstrap
|
|
3
|
-
Version: 0.16.
|
|
3
|
+
Version: 0.16.2
|
|
4
4
|
Summary: Package for bootstrapping new micro-services
|
|
5
5
|
Author: community-of-python
|
|
6
6
|
Keywords: bootstrap,error-tracing,fastapi,litestar,logging,microservice,opentelemetry,python
|
|
@@ -20,12 +20,12 @@ Classifier: Topic :: Software Development :: Build Tools
|
|
|
20
20
|
Classifier: Typing :: Typed
|
|
21
21
|
Requires-Python: <4,>=3.9
|
|
22
22
|
Requires-Dist: eval-type-backport>=0.2
|
|
23
|
-
Requires-Dist: opentelemetry-api>=1.
|
|
24
|
-
Requires-Dist: opentelemetry-exporter-otlp>=1.
|
|
25
|
-
Requires-Dist: opentelemetry-exporter-prometheus-remote-write>=0.
|
|
26
|
-
Requires-Dist: opentelemetry-instrumentation-system-metrics>=0.
|
|
27
|
-
Requires-Dist: opentelemetry-instrumentation>=0.
|
|
28
|
-
Requires-Dist: opentelemetry-sdk>=1.
|
|
23
|
+
Requires-Dist: opentelemetry-api>=1.30.0
|
|
24
|
+
Requires-Dist: opentelemetry-exporter-otlp>=1.15.0
|
|
25
|
+
Requires-Dist: opentelemetry-exporter-prometheus-remote-write>=0.46b0
|
|
26
|
+
Requires-Dist: opentelemetry-instrumentation-system-metrics>=0.46b0
|
|
27
|
+
Requires-Dist: opentelemetry-instrumentation>=0.46b0
|
|
28
|
+
Requires-Dist: opentelemetry-sdk>=1.30.0
|
|
29
29
|
Requires-Dist: pydantic-settings>=2
|
|
30
30
|
Requires-Dist: rich>=13
|
|
31
31
|
Requires-Dist: sentry-sdk>=2.7
|
|
@@ -450,7 +450,7 @@ class YourSettings(BaseServiceSettings):
|
|
|
450
450
|
logging_buffer_capacity: int = 10
|
|
451
451
|
logging_unset_handlers: list[str] = ["uvicorn", "uvicorn.access"]
|
|
452
452
|
logging_extra_processors: list[typing.Any] = []
|
|
453
|
-
logging_exclude_endpoints: list[str] = []
|
|
453
|
+
logging_exclude_endpoints: list[str] = ["/health/", "/metrics"]
|
|
454
454
|
logging_turn_off_middleware: bool = False
|
|
455
455
|
```
|
|
456
456
|
|
|
@@ -397,7 +397,7 @@ class YourSettings(BaseServiceSettings):
|
|
|
397
397
|
logging_buffer_capacity: int = 10
|
|
398
398
|
logging_unset_handlers: list[str] = ["uvicorn", "uvicorn.access"]
|
|
399
399
|
logging_extra_processors: list[typing.Any] = []
|
|
400
|
-
logging_exclude_endpoints: list[str] = []
|
|
400
|
+
logging_exclude_endpoints: list[str] = ["/health/", "/metrics"]
|
|
401
401
|
logging_turn_off_middleware: bool = False
|
|
402
402
|
```
|
|
403
403
|
|
{microbootstrap-0.16.0 → microbootstrap-0.16.2}/microbootstrap/instruments/logging_instrument.py
RENAMED
|
@@ -125,7 +125,7 @@ class LoggingConfig(BaseInstrumentConfig):
|
|
|
125
125
|
logging_unset_handlers: list[str] = pydantic.Field(
|
|
126
126
|
default_factory=lambda: ["uvicorn", "uvicorn.access"],
|
|
127
127
|
)
|
|
128
|
-
logging_exclude_endpoints: list[str] = pydantic.Field(default_factory=
|
|
128
|
+
logging_exclude_endpoints: list[str] = pydantic.Field(default_factory=lambda: ["/health/", "/metrics"])
|
|
129
129
|
logging_turn_off_middleware: bool = False
|
|
130
130
|
|
|
131
131
|
|
|
@@ -31,12 +31,12 @@ classifiers = [
|
|
|
31
31
|
]
|
|
32
32
|
dependencies = [
|
|
33
33
|
"eval-type-backport>=0.2",
|
|
34
|
-
"opentelemetry-api>=1.
|
|
35
|
-
"opentelemetry-exporter-otlp>=1.
|
|
36
|
-
"opentelemetry-exporter-prometheus-remote-write>=0.
|
|
37
|
-
"opentelemetry-instrumentation>=0.
|
|
38
|
-
"opentelemetry-instrumentation-system-metrics>=0.
|
|
39
|
-
"opentelemetry-sdk>=1.
|
|
34
|
+
"opentelemetry-api>=1.30.0",
|
|
35
|
+
"opentelemetry-exporter-otlp>=1.15.0",
|
|
36
|
+
"opentelemetry-exporter-prometheus-remote-write>=0.46b0",
|
|
37
|
+
"opentelemetry-instrumentation>=0.46b0",
|
|
38
|
+
"opentelemetry-instrumentation-system-metrics>=0.46b0",
|
|
39
|
+
"opentelemetry-sdk>=1.30.0",
|
|
40
40
|
"pydantic-settings>=2",
|
|
41
41
|
"rich>=13",
|
|
42
42
|
"sentry-sdk>=2.7",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{microbootstrap-0.16.0 → microbootstrap-0.16.2}/microbootstrap/instruments/cors_instrument.py
RENAMED
|
File without changes
|
|
File without changes
|
{microbootstrap-0.16.0 → microbootstrap-0.16.2}/microbootstrap/instruments/instrument_box.py
RENAMED
|
File without changes
|
|
File without changes
|
{microbootstrap-0.16.0 → microbootstrap-0.16.2}/microbootstrap/instruments/prometheus_instrument.py
RENAMED
|
File without changes
|
{microbootstrap-0.16.0 → microbootstrap-0.16.2}/microbootstrap/instruments/sentry_instrument.py
RENAMED
|
File without changes
|
{microbootstrap-0.16.0 → microbootstrap-0.16.2}/microbootstrap/instruments/swagger_instrument.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|