Uploaded image for project: 'Couchbase Documentation'
  1. Couchbase Documentation
  2. DOC-5546

document how to adjust KV tracing threshold

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • Server 5.5/Vulcan, 6.x Doc Updates, 6.0.2
    • Neo.Next
    • kv
    • 1

    Description

      Couchbase Server 5.5 shipped a feature at KV engine called "tracing" which has an adjustable threshold. At the moment, enabling/disabling that feature and adjusting the threshold are not documented anywhere publicly.

      Need to add documentation on how to use the feature so it'll be properly available.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            Note, if the server docs for this need to link to the settings on the client side for this,
            we are moving the settings into the client-settings pages - https://docs.couchbase.com/dotnet-sdk/2.7/client-settings.html#threshold-configuration-settings
            .
            Although some may still be in the tracing page if we haven't finished: https://docs.couchbase.com/java-sdk/2.7/threshold-logging.html#threshold-configuration-settings

            richard.smedley Richard Smedley added a comment - Note, if the server docs for this need to link to the settings on the client side for this, we are moving the settings into the client-settings pages - https://docs.couchbase.com/dotnet-sdk/2.7/client-settings.html#threshold-configuration-settings . Although some may still be in the tracing page if we haven't finished: https://docs.couchbase.com/java-sdk/2.7/threshold-logging.html#threshold-configuration-settings

            Chin Hong or Stephen Bream: can we put this in as a possible item for Morpheus? It's a feature since 5.5, but not yet documented.

            ingenthr Matt Ingenthron added a comment - Chin Hong or Stephen Bream : can we put this in as a possible item for Morpheus? It's a feature since 5.5, but not yet documented.
            ray.offiah Ray Offiah added a comment -

            Matt Ingenthron 

            How is this setting configured?

            ray.offiah Ray Offiah added a comment - Matt Ingenthron   How is this setting configured?

            I believe it's in a JSON config file managed by ns_server for the memcached process. Maybe Abhijeeth Nuthan or Trond Norbye can give details. I don't specifically know as I couldn't find it documented and haven't read the source, but the feature was listed as complete, so it should be doable.

            ingenthr Matt Ingenthron added a comment - I believe it's in a JSON config file managed by ns_server for the memcached process. Maybe Abhijeeth Nuthan or Trond Norbye can give details. I don't specifically know as I couldn't find it documented and haven't read the source, but the feature was listed as complete, so it should be doable.
            ray.offiah Ray Offiah added a comment -

            Okay, I'll give them a try.

            ray.offiah Ray Offiah added a comment - Okay, I'll give them a try.
            trond Trond Norbye added a comment -

            The file http://src.couchbase.org/source/xref/5.5.0/kv_engine/etc/couchbase/kv/opcode-attributes.d/README.md gets installed as <install-root>/etc/couchbase/kv/opcode-attributes.d/README.md on all nodes.

            Later on (I don't recall the version from the top of my head) we extended that to be possible to set via mcctl (see http://src.couchbase.org/source/xref/morpheus/kv_engine/etc/couchbase/kv/opcode-attributes.d/README.md )

            I don't know if it is possible to set it through ns_server yet.

            trond Trond Norbye added a comment - The file http://src.couchbase.org/source/xref/5.5.0/kv_engine/etc/couchbase/kv/opcode-attributes.d/README.md gets installed as <install-root>/etc/couchbase/kv/opcode-attributes.d/README.md on all nodes. Later on (I don't recall the version from the top of my head) we extended that to be possible to set via mcctl (see http://src.couchbase.org/source/xref/morpheus/kv_engine/etc/couchbase/kv/opcode-attributes.d/README.md ) I don't know if it is possible to set it through ns_server yet.
            ray.offiah Ray Offiah added a comment -

            Pull request for reviewing:

             

            https://github.com/couchbase/docs-server/pull/2697

             

            ray.offiah Ray Offiah added a comment - Pull request for reviewing:   https://github.com/couchbase/docs-server/pull/2697  

            People

              ray.offiah Ray Offiah
              ingenthr Matt Ingenthron
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty