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

Documenting certain important FTS stats

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • 6.5 Milestone 2
    • Alice
    • fts
    • None
    • DOC-2020-S6-Apr05
    • 1

    Description

      As done for N1QL here: https://docs.couchbase.com/server/5.5/monitoring/monitoring-n1ql-query.html#vitals, some of fts's stats that are pretty relevant needs documenting as well.. here's an endpoint that FTS offers which emits important stats..

      curl -XPOST http://<username>:<password>@<ip>:8094/api/nsstats

      Here's a sample output ..

      {
        "batch_bytes_added": 0,
        "batch_bytes_removed": 0,
        "num_bytes_used_ram": 73332984,
        "pct_cpu_gc": 0.00020823781217533402,
        "tot_batches_flushed_on_maxops": 0,
        "tot_batches_flushed_on_timer": 0,
        "tot_http_limitlisteners_closed": 0,
        "tot_http_limitlisteners_opened": 1,
        "tot_https_limitlisteners_closed": 0,
        "tot_https_limitlisteners_opened": 1,
        "tot_queryreject_on_memquota": 0,
        "tot_remote_http": 0,
        "tot_remote_http2": 0,
        "total_gc": 69,
        "travel-sample:travel:avg_queries_latency": 0,
        "travel-sample:travel:batch_merge_count": 0,
        "travel-sample:travel:doc_count": 31591,
        "travel-sample:travel:iterator_next_count": 0,
        "travel-sample:travel:iterator_seek_count": 0,
        "travel-sample:travel:num_bytes_live_data": 0,
        "travel-sample:travel:num_bytes_used_disk": 264223745,
        "travel-sample:travel:num_files_on_disk": 39,
        "travel-sample:travel:num_mutations_to_index": 0,
        "travel-sample:travel:num_persister_nap_merger_break": 6,
        "travel-sample:travel:num_persister_nap_pause_completed": 6,
        "travel-sample:travel:num_pindexes": 6,
        "travel-sample:travel:num_pindexes_actual": 6,
        "travel-sample:travel:num_pindexes_target": 6,
        "travel-sample:travel:num_recs_to_persist": 0,
        "travel-sample:travel:num_root_filesegments": 12,
        "travel-sample:travel:num_root_memorysegments": 0,
        "travel-sample:travel:reader_get_count": 0,
        "travel-sample:travel:reader_multi_get_count": 0,
        "travel-sample:travel:reader_prefix_iterator_count": 0,
        "travel-sample:travel:reader_range_iterator_count": 0,
        "travel-sample:travel:timer_batch_store_count": 0,
        "travel-sample:travel:timer_data_delete_count": 0,
        "travel-sample:travel:timer_data_update_count": 0,
        "travel-sample:travel:timer_opaque_get_count": 2048,
        "travel-sample:travel:timer_opaque_set_count": 1024,
        "travel-sample:travel:timer_rollback_count": 0,
        "travel-sample:travel:timer_snapshot_start_count": 0,
        "travel-sample:travel:total_bytes_indexed": 0,
        "travel-sample:travel:total_bytes_query_results": 0,
        "travel-sample:travel:total_compaction_written_bytes": 0,
        "travel-sample:travel:total_compactions": 0,
        "travel-sample:travel:total_queries": 0,
        "travel-sample:travel:total_queries_error": 0,
        "travel-sample:travel:total_queries_slow": 0,
        "travel-sample:travel:total_queries_timeout": 0,
        "travel-sample:travel:total_request_time": 0,
        "travel-sample:travel:total_term_searchers": 0,
        "travel-sample:travel:writer_execute_batch_count": 0
      } 

      Attachments

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

        Activity

          People

            tony.hillman Tony Hillman (Inactive)
            abhinav Abhi Dangeti
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty