No way to set the query or search tracing threshold from the connection string.

Description

There is no way to set the tracing threshold time for queries or search from the connection string. If you call cntl programmatically, it works fine. The issue is super simple to fix:

from src/cntl.cc:

So – we have 2 tracing_threshold_search, and no tracing_threshold_query. And of course the search actually sets the query (the second one is never hit), so neither really works from the connection string.

I'll make a simple patch for this. Python tests will skip this one until this goes in - ideally in 3.0.2.

Environment

None

Gerrit Reviews

None

Release Notes Description

None

Activity

Show:

CB robot September 15, 2020 at 11:05 AM

Build couchbase-server-7.0.0-3115 contains libcouchbase commit 1753117 with commit message:
: Tracing thresholds for query and search in connection strings.

Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Story Points

Reporter

Affects versions

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created April 23, 2020 at 4:33 PM
Updated September 15, 2020 at 11:05 AM
Instabug