Branch: refs/heads/master
Home:
https://github.com/Checkmk/checkmk
Commit: 268236b46c91684d542b532c4ac1c9c28a24cb37
https://github.com/Checkmk/checkmk/commit/268236b46c91684d542b532c4ac1c9c28…
Author: Lars Michelsen <lm(a)checkmk.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M cmk/ccc/site.py
M omd/packages/python3-modules/BUILD
M packages/cmk-trace/cmk/trace/__init__.py
M packages/cmk-trace/tests/test_trace.py
M tests/unit/cmk/utils/test_site.py
Log Message:
-----------
Reland: Add initial implementation of trace module
It provides the basic functionality to setup tracing within a component,
adding logs as events to spans and instrumenting the code.
Also remove dependencies between cmk.trace and cmk.ccc.site which can
currently not depend on each other. Once cmk.ccc.site is moved to a
package or resolved in some other way, we can reconsider the right place
of TraceSendConfig and trace_send_config again.
CMK-18157
Change-Id: I4ee88894c248be26ddfa6ab88081066cb19db6f1
Commit: a6843e8639104be934fb9cd535093cf7345babe0
https://github.com/Checkmk/checkmk/commit/a6843e8639104be934fb9cd535093cf73…
Author: Lars Michelsen <lm(a)checkmk.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M cmk/gui/log.py
M cmk/gui/wsgi/app.py
M cmk/gui/wsgi/applications/checkmk.py
M cmk/gui/wsgi/applications/index.wsgi
M cmk/gui/wsgi/applications/utils.py
M tests/code_quality/test_pipfile.py
M tests/unit/cmk/gui/wsgi/test_wsgi_router.py
Log Message:
-----------
Reland: Introduce tracing to the UI WSGI app
This commit does the ground work for tracing in the UI.
It initializes the application wide tracing configuration and adds a
logger to attach log entries to spans.
Additionally we enable the auto instrumentation of Redis, requests and
the WSGI app and create a new span for each invocation of our WSGI app.
This is also the starting point to instrument the first distributed
program flow, which shall be: A view in distributed monitoring. The aim
is to get the data together from all involved components in a single
trace. Getting there will need some more work in the UI, livestatus
client, Liveproxy deamon and Livestatus which will be added step by
step.
CMK-18157
Change-Id: Ia55518b377e3d3959f6426a9596bb6b5776a3899
Compare:
https://github.com/Checkmk/checkmk/compare/aa96642c9b21...a6843e863910
To unsubscribe from these emails, change your notification settings at
https://github.com/Checkmk/checkmk/settings/notifications