mirror of
https://github.com/ceph/ceph
synced 2025-02-20 01:17:47 +00:00
common/trace: add tracing specific debug log subsystem
could be turned on/off both on rgw and osd Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
This commit is contained in:
parent
b0d176b592
commit
1b23173e6f
@ -374,6 +374,8 @@ to their default level or to a level suitable for normal operations.
|
||||
+--------------------------+-----------+--------------+
|
||||
| ``memstore`` | 1 | 5 |
|
||||
+--------------------------+-----------+--------------+
|
||||
| ``trace`` | 1 | 5 |
|
||||
+--------------------------+-----------+--------------+
|
||||
|
||||
|
||||
Logging Settings
|
||||
|
@ -102,6 +102,7 @@ SUBSYS(mclock, 1, 5)
|
||||
SUBSYS(cyanstore, 0, 5)
|
||||
SUBSYS(ceph_exporter, 1, 5)
|
||||
SUBSYS(memstore, 1, 5)
|
||||
SUBSYS(trace, 1, 5)
|
||||
// *********************************************************************
|
||||
// Developers should update /doc/rados/troubleshooting/log-and-debug.rst
|
||||
// when adding or removing a subsystem accordingly.
|
||||
|
@ -10,7 +10,7 @@
|
||||
#include "opentelemetry/sdk/trace/tracer_provider.h"
|
||||
#include "opentelemetry/exporters/jaeger/jaeger_exporter.h"
|
||||
|
||||
#define dout_subsys ceph_subsys_osd
|
||||
#define dout_subsys ceph_subsys_trace
|
||||
#undef dout_prefix
|
||||
#define dout_prefix (*_dout << "otel_tracing: ")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user