Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-47153

Use /_prometheusMetrics*NoTS endpoints for external prometheus use case (for kv only)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 7.0.2
    • 7.0.1
    • ns_server
    • None

    Description

      /_prometheusMetrics and /_prometheusMetricsHighCard return metrics with timestamps now (as it allows us to safe disk space, see MB-45843). But we can't return timestamps in GET /metrics result as there might be a time difference between ns_server machine and external prometheus (additionally, other services doesn't return timestamps at this point, so we don't want the result of /metrics to contain mixed datapoints - with and without timestamps).

      To handle that kv team created separate endpoints that will not return timestamps: /_prometheusMetricsNoTS and /_prometheusMetricsHighNoTS which ns_server needs to use when collecting data for GET /metrics.

      Attachments

        Issue Links

          For Gerrit Dashboard: MB-47153
          # Subject Branch Project Status CR V

          Activity

            People

              sumedh.basarkod Sumedh Basarkod (Inactive)
              timofey.barmin Timofey Barmin
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty