Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file removed dist/singlestore_pulse-0.4.3-py3-none-any.whl
Binary file not shown.
Binary file removed dist/singlestore_pulse-0.4.3.tar.gz
Binary file not shown.
Binary file added dist/singlestore_pulse-0.4.4-py3-none-any.whl
Binary file not shown.
Binary file added dist/singlestore_pulse-0.4.4.tar.gz
Binary file not shown.
3 changes: 2 additions & 1 deletion pulse_otel/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ def __init__(
A LoggingHandler is then created, configured to capture logs at the DEBUG level and to use the custom logger provider. The Python logging system is configured via logging.basicConfig to use this handler and to set the root logger’s level to INFO. This means all logs at INFO level or higher will be processed and sent to the OTLP collector, while the handler itself is capable of handling DEBUG logs if needed.
"""
handler = LoggingHandler(level=logging.DEBUG, logger_provider=log_provider)
logging.root.addHandler(handler)

"""
In Python logging, both the logger and the handler have their own log levels, and both levels must be satisfied for a log record to be processed and exported.
Expand All @@ -214,7 +215,7 @@ def __init__(
2. Root Logger Level (logging.basicConfig(level=logging.INFO, ...)):
This sets the minimum level for the root logger. Only log records at INFO level and above will be passed from the logger to the handler.
"""
logging.basicConfig(level=logging.INFO, handlers=[handler])
logging.basicConfig(level=logging.INFO)

Traceloop.init(
disable_batch=True,
Expand Down
2 changes: 1 addition & 1 deletion reinstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ set -e

python3 setup.py sdist bdist_wheel
pip uninstall singlestore_pulse -y
pip install dist/singlestore_pulse-0.4.3-py3-none-any.whl
pip install dist/singlestore_pulse-0.4.4-py3-none-any.whl
# pytest -v --tb=short
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setup(
name='singlestore_pulse',
version='0.4.3',
version='0.4.4',
packages=find_packages(),
description='Singlestore Python SDK for OpenTelemetry Integration',
long_description=open('README.md').read(),
Expand Down