History log of /Couchbase_C_Client_v3.0/src/tracing/threshold_logging_tracer.cc (Results 1 - 17 of 17)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: 3.2.4, 3.2.3, 3.2.2, 3.2.1, 3.2.0
# 6b7f4186 11-Jun-2021 David Kelly <davidmichaelkelly@gmail.com>

CBCC-1280 Support for OTel tracing

Tracing updated to allow for an external tracer that creates and
finishes spans, adds tags, destroys spans. Also, spans now have the
notion of bei

CBCC-1280 Support for OTel tracing

Tracing updated to allow for an external tracer that creates and
finishes spans, adds tags, destroys spans. Also, spans now have the
notion of being the 'outer' span. That is the span that has all the
outer span tags, and is the one whose duration is used to determine
whether or not the operation has exceeded the threshold if the
ThresholdLoggingTracer is used.

If you pass in a parent that is an outer span, you must call
lcbtrace_span_finish yourself. When an operation begins, if there is no
parent span passed in, or if there is but it isn't an 'outer' span, then
the operation creates the outer span itself.

Added an example that performs a few operations which pass in various
parent spans (or none).

Still need tests.

Change-Id: Ibec5c85838e23ed21786ecc311105d98ea42316c
Reviewed-on: http://review.couchbase.org/c/libcouchbase/+/154703
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Tested-by: Build Bot <build@couchbase.com>

show more ...


Revision tags: 3.1.4, 3.1.3, 3.1.2, 3.1.1, 3.1.0, 2.10.9, 3.0.7
# ec0aafce 06-Nov-2020 Sergey Avseyev <sergey.avseyev@gmail.com>

fix clang-tidy warnigns and reformat

Change-Id: I16ad15b154dc451561ab97e6edb560026f67c0bd
Reviewed-on: http://review.couchbase.org/c/libcouchbase/+/139737
Tested-by: Build Bot <build

fix clang-tidy warnigns and reformat

Change-Id: I16ad15b154dc451561ab97e6edb560026f67c0bd
Reviewed-on: http://review.couchbase.org/c/libcouchbase/+/139737
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>

show more ...


Revision tags: 3.0.6, 2.10.8, 3.0.5, 3.0.4, 3.0.3, 2.10.7, 3.0.2
# dac96030 15-May-2020 Brett Lawson <brett19@gmail.com>

CCBC-1233: Updated RTO to independently specify operation_name.

Motivation
----------
A change was made to the RTO RFC which split the operation name
into a separate field rather

CCBC-1233: Updated RTO to independently specify operation_name.

Motivation
----------
A change was made to the RTO RFC which split the operation name
into a separate field rather than being included in the operation
id.

Changes
-------
Split the existing operation_id data into separate operation_name
and operation_id fields.

Change-Id: Idda2269a1649086e34d530f33fc150e89ad3430d
Reviewed-on: http://review.couchbase.org/c/libcouchbase/+/128240
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: David Kelly <davidmichaelkelly@gmail.com>

show more ...


Revision tags: 3.0.1, 2.10.6, 3.0.0
# cfedb1f4 11-Jan-2020 Sergey Avseyev <sergey.avseyev@gmail.com>

Update copyright dates

Change-Id: Ib2028cad835654e747e7b1d728ea68abe65e4a06
Reviewed-on: http://review.couchbase.org/120356
Reviewed-by: Brett Lawson <brett19@gmail.com>
Tested-b

Update copyright dates

Change-Id: Ib2028cad835654e747e7b1d728ea68abe65e4a06
Reviewed-on: http://review.couchbase.org/120356
Reviewed-by: Brett Lawson <brett19@gmail.com>
Tested-by: Build Bot <build@couchbase.com>

show more ...


Revision tags: 3.0.0-beta.2, 3.0.0-beta.1, 3.0.0-alpha.5, 2.10.5, 3.0.0-alpha.4, 2.10.4, 3.0.0-alpha.3, 3.0.0-alpha.2
# 0b0310e1 03-Apr-2019 Sergey Avseyev <sergey.avseyev@gmail.com>

Reformat sources with clang-format

Change-Id: I6d9cdc0ca66b7cd7b75a5e064b64fe0adbc0b106
Reviewed-on: http://review.couchbase.org/107219
Tested-by: Build Bot <build@couchbase.com>

Reformat sources with clang-format

Change-Id: I6d9cdc0ca66b7cd7b75a5e064b64fe0adbc0b106
Reviewed-on: http://review.couchbase.org/107219
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>

show more ...


Revision tags: 3.0.0-alpha.1
# 07521d60 29-Jan-2019 Sergey Avseyev <sergey.avseyev@gmail.com>

CCBC-1018: Cleanup API and make it consistent

New API v4 (functional style)

Change-Id: I1e95105f5c6e449c50cf759f0b08fc752d9dde70
Reviewed-on: http://review.couchbase.org/104322

CCBC-1018: Cleanup API and make it consistent

New API v4 (functional style)

Change-Id: I1e95105f5c6e449c50cf759f0b08fc752d9dde70
Reviewed-on: http://review.couchbase.org/104322
Reviewed-by: Brett Lawson <brett19@gmail.com>
Tested-by: Build Bot <build@couchbase.com>

show more ...


Revision tags: 2.10.3, 2.10.2, 2.10.1, 2.10.0, 2.9.5
# de5c900b 10-Sep-2018 Sergey Avseyev <sergey.avseyev@gmail.com>

CCBC-972: Fix memory issues reported by valgrind

Change-Id: I0d4b9ffaa8dd8927168e1675cd0175aaa34d08bd
Reviewed-on: http://review.couchbase.org/99424
Tested-by: Build Bot <build@couch

CCBC-972: Fix memory issues reported by valgrind

Change-Id: I0d4b9ffaa8dd8927168e1675cd0175aaa34d08bd
Reviewed-on: http://review.couchbase.org/99424
Tested-by: Build Bot <build@couchbase.com>
Tested-by: Ellis Breen <ellis.breen@couchbase.com>
Reviewed-by: Ellis Breen <ellis.breen@couchbase.com>

show more ...


# 638c5782 04-Sep-2018 Ellis Breen <ellis.breen@couchbase.com>

CCBC-973: Correctly convert non-null terminated tag buffers to Json::Value

Change-Id: I6bd1e559533a0fc98db59bf8fa726c879a44de24
Reviewed-on: http://review.couchbase.org/99173
Tested-

CCBC-973: Correctly convert non-null terminated tag buffers to Json::Value

Change-Id: I6bd1e559533a0fc98db59bf8fa726c879a44de24
Reviewed-on: http://review.couchbase.org/99173
Tested-by: Build Bot <build@couchbase.com>
Tested-by: Ellis Breen <ellis.breen@couchbase.com>
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>

show more ...


Revision tags: 2.9.4
# cfcbd22e 13-Aug-2018 Ellis Breen <ellis.breen@couchbase.com>

CCBC-967: optimize Threshold Tracer queues/sorting

Change-Id: I44acae36dc4bf38bf92acc0702b7a3477ce1ac79
Reviewed-on: http://review.couchbase.org/98216
Tested-by: Build Bot <build@cou

CCBC-967: optimize Threshold Tracer queues/sorting

Change-Id: I44acae36dc4bf38bf92acc0702b7a3477ce1ac79
Reviewed-on: http://review.couchbase.org/98216
Tested-by: Build Bot <build@couchbase.com>
Tested-by: Ellis Breen <ellis.breen@couchbase.com>
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>

show more ...


Revision tags: 2.9.3
# e46d2dda 16-Jul-2018 Sergey Avseyev <sergey.avseyev@gmail.com>

CCBC-956: combine operation id and name into single field in tracer

Change-Id: Ie04619202a24ddc92e7bef206708e2c609862cf5
Reviewed-on: http://review.couchbase.org/96939
Tested-by: Bui

CCBC-956: combine operation id and name into single field in tracer

Change-Id: Ie04619202a24ddc92e7bef206708e2c609862cf5
Reviewed-on: http://review.couchbase.org/96939
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>

show more ...


Revision tags: 2.9.2, 2.9.1
# bca7f437 21-Jun-2018 Sergey Avseyev <sergey.avseyev@gmail.com>

CCBC-939: Use sllist for tags container instead of Json::Value

Change-Id: Ib0948d51e751ba02fe28b3337cd7970d1c2385e6
Reviewed-on: http://review.couchbase.org/95975
Tested-by: Build Bo

CCBC-939: Use sllist for tags container instead of Json::Value

Change-Id: Ib0948d51e751ba02fe28b3337cd7970d1c2385e6
Reviewed-on: http://review.couchbase.org/95975
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Brett Lawson <brett19@gmail.com>
Reviewed-by: Ellis Breen <ellis.breen@couchbase.com>

show more ...


# d88c9131 19-Jun-2018 Sergey Avseyev <sergey.avseyev@gmail.com>

CCBC-935: display orphan tracer report on WARN log level

Change-Id: I92d2240bc3851f0cf1b56d3510921843f18e0f65
Reviewed-on: http://review.couchbase.org/95834
Tested-by: Build Bot <bui

CCBC-935: display orphan tracer report on WARN log level

Change-Id: I92d2240bc3851f0cf1b56d3510921843f18e0f65
Reviewed-on: http://review.couchbase.org/95834
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>

show more ...


Revision tags: 2.9.0
# b2445ad0 18-May-2018 Sergey Avseyev <sergey.avseyev@gmail.com>

CCBC-932: display threshold logging tracer summary on INFO level

Change-Id: I247f05e86e728a4d6f03735e6753a0640ce8e38a
Reviewed-on: http://review.couchbase.org/94402
Tested-by: Build

CCBC-932: display threshold logging tracer summary on INFO level

Change-Id: I247f05e86e728a4d6f03735e6753a0640ce8e38a
Reviewed-on: http://review.couchbase.org/94402
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Ellis Breen <ellis.breen@couchbase.com>

show more ...


# 25525da6 17-May-2018 Sergey Avseyev <sergey.avseyev@gmail.com>

CCBC-930: dump threshold logging tracer queues before destroying it

Change-Id: Ic273d07da3778c0ee62217404faaa74a3f015166
Reviewed-on: http://review.couchbase.org/94341
Tested-by: Bui

CCBC-930: dump threshold logging tracer queues before destroying it

Change-Id: Ic273d07da3778c0ee62217404faaa74a3f015166
Reviewed-on: http://review.couchbase.org/94341
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Ellis Breen <ellis.breen@couchbase.com>

show more ...


Revision tags: 2.8.7, 2.8.6
# eac059bc 05-Apr-2018 Sergey Avseyev <sergey.avseyev@gmail.com>

Fix function shadowing and JSON instatiation for older systems

Change-Id: If4931397615f3a866ac9b78f97f9e8cd451bbc45
Reviewed-on: http://review.couchbase.org/92195
Tested-by: Build Bo

Fix function shadowing and JSON instatiation for older systems

Change-Id: If4931397615f3a866ac9b78f97f9e8cd451bbc45
Reviewed-on: http://review.couchbase.org/92195
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>

show more ...


# 300700ce 05-Apr-2018 Sergey Avseyev <sergey.avseyev@gmail.com>

Fix build on MSVC9

Change-Id: Ibb88c5f3599d964d1813f5865437d2e3786b3646
Reviewed-on: http://review.couchbase.org/92181
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Ser

Fix build on MSVC9

Change-Id: Ibb88c5f3599d964d1813f5865437d2e3786b3646
Reviewed-on: http://review.couchbase.org/92181
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>

show more ...


# a018a7b0 30-Mar-2018 Sergey Avseyev <sergey.avseyev@gmail.com>

CCBC-888: Add threshold logging tracer

It tracks and reports slow and orphaned commands

Change-Id: I8c91e8f20e542455698fe536113eef520a380a02
Reviewed-on: http://review.couchbase

CCBC-888: Add threshold logging tracer

It tracks and reports slow and orphaned commands

Change-Id: I8c91e8f20e542455698fe536113eef520a380a02
Reviewed-on: http://review.couchbase.org/91991
Reviewed-by: Ellis Breen <ellis.breen@couchbase.com>
Tested-by: Build Bot <build@couchbase.com>

show more ...