You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+11Lines changed: 11 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,15 @@
1
1
# Release Notes
2
2
3
+
## [v3.6.0] (2025-02-18)
4
+
5
+
* Set log level to warning instead of error for 4xx HTTPExceptions from FastAPI/Starlette by @alexmojaki in [#858](https://github.com/pydantic/logfire/pull/858)
6
+
* Add option to disable printing tags to console by @dmontagu in [#860](https://github.com/pydantic/logfire/pull/860)
7
+
* Experimental support for OTel logs by @alexmojaki in [#863](https://github.com/pydantic/logfire/pull/863), [#870](https://github.com/pydantic/logfire/pull/870), and [#871](https://github.com/pydantic/logfire/pull/871)
8
+
* Fix `excluded_urls` typo in instrument_flask by @alexmojaki in [#852](https://github.com/pydantic/logfire/pull/852)
9
+
* Catch more errors when checking for sqlalchemy objects by @alexmojaki in [#854](https://github.com/pydantic/logfire/pull/854)
10
+
* Don't scrub exception message by @alexmojaki in [#865](https://github.com/pydantic/logfire/pull/865)
11
+
* Only skip logging to console after updating span stack and indentation by @alexmojaki in [#844](https://github.com/pydantic/logfire/pull/844)
12
+
3
13
## [v3.5.3] (2025-02-05)
4
14
5
15
* Fixes for capturing httpx bodies by @alexmojaki in [#842](https://github.com/pydantic/logfire/pull/842)
Copy file name to clipboardExpand all lines: logfire-api/logfire_api/_internal/config.pyi
+22-1Lines changed: 22 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -5,12 +5,14 @@ from .auth import DEFAULT_FILE as DEFAULT_FILE, DefaultFile as DefaultFile, is_l
5
5
from .config_paramsimportParamManagerasParamManager, PydanticPluginRecordValuesasPydanticPluginRecordValues
6
6
from .constantsimportLevelNameasLevelName, OTLP_MAX_BODY_SIZEasOTLP_MAX_BODY_SIZE, RESOURCE_ATTRIBUTES_CODE_ROOT_PATHasRESOURCE_ATTRIBUTES_CODE_ROOT_PATH, RESOURCE_ATTRIBUTES_CODE_WORK_DIRasRESOURCE_ATTRIBUTES_CODE_WORK_DIR, RESOURCE_ATTRIBUTES_DEPLOYMENT_ENVIRONMENT_NAMEasRESOURCE_ATTRIBUTES_DEPLOYMENT_ENVIRONMENT_NAME, RESOURCE_ATTRIBUTES_VCS_REPOSITORY_REF_REVISIONasRESOURCE_ATTRIBUTES_VCS_REPOSITORY_REF_REVISION, RESOURCE_ATTRIBUTES_VCS_REPOSITORY_URLasRESOURCE_ATTRIBUTES_VCS_REPOSITORY_URL
7
7
from .exporters.consoleimportConsoleColorsValuesasConsoleColorsValues, IndentedConsoleSpanExporterasIndentedConsoleSpanExporter, ShowParentsConsoleSpanExporterasShowParentsConsoleSpanExporter, SimpleConsoleSpanExporterasSimpleConsoleSpanExporter
8
-
from .exporters.otlpimportOTLPExporterHttpSessionasOTLPExporterHttpSession, QuietSpanExporterasQuietSpanExporter, RetryFewerSpansSpanExporterasRetryFewerSpansSpanExporter
8
+
from .exporters.logsimportCheckSuppressInstrumentationLogProcessorWrapperasCheckSuppressInstrumentationLogProcessorWrapper
9
+
from .exporters.otlpimportOTLPExporterHttpSessionasOTLPExporterHttpSession, QuietLogExporterasQuietLogExporter, QuietSpanExporterasQuietSpanExporter, RetryFewerSpansSpanExporterasRetryFewerSpansSpanExporter
9
10
from .exporters.processor_wrapperimportCheckSuppressInstrumentationProcessorWrapperasCheckSuppressInstrumentationProcessorWrapper, MainSpanProcessorWrapperasMainSpanProcessorWrapper
10
11
from .exporters.quiet_metricsimportQuietMetricExporterasQuietMetricExporter
11
12
from .exporters.remove_pendingimportRemovePendingSpansExporterasRemovePendingSpansExporter
12
13
from .exporters.testimportTestExporterasTestExporter
13
14
from .integrations.executorsimportinstrument_executorsasinstrument_executors
15
+
from .logsimportProxyLoggerProviderasProxyLoggerProvider
14
16
from .mainimportLogfireasLogfire
15
17
from .metricsimportProxyMeterProviderasProxyMeterProvider
16
18
from .scrubbingimportBaseScrubberasBaseScrubber, NOOP_SCRUBBERasNOOP_SCRUBBER, ScrubberasScrubber, ScrubbingOptionsasScrubbingOptions
@@ -23,6 +25,8 @@ from logfire.exceptions import LogfireConfigError as LogfireConfigError
"""Instrument `app` so that spans are automatically created for each request.
620
620
621
621
Uses the
@@ -628,7 +628,7 @@ class Logfire:
628
628
enable_commenter: Adds comments to SQL queries performed by Flask, so that database logs have additional context.
629
629
commenter_options: Configure the tags to be added to the SQL comments.
630
630
See more about it on the [SQLCommenter Configurations](https://opentelemetry-python-contrib.readthedocs.io/en/latest/instrumentation/flask/flask.html#sqlcommenter-configurations).
631
-
exclude_urls: A string containing a comma-delimited list of regexes used to exclude URLs from tracking.
631
+
excluded_urls: A string containing a comma-delimited list of regexes used to exclude URLs from tracking.
632
632
request_hook: A function called right after a span is created for a request.
633
633
response_hook: A function called right before a span is finished for the response.
634
634
**kwargs: Additional keyword arguments to pass to the OpenTelemetry Flask instrumentation.
0 commit comments