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

Metrics reporting: escape " in label values

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 7.0.0, 7.1.0
    • 7.1.0
    • ns_server
    • Untriaged
    • 1
    • Unknown

    Description

      According to the documentation: "Label values may contain any Unicode characters.", but the doc is missing the fact that the double quote character can't be used inside the label value otherwise it will be impossible to find the end of the string. Seems like those characters must be escaped in order to be properly parsed by prometheus.

      Attachments

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

        Activity

          Build couchbase-server-7.1.0-2105 contains ns_server commit ef45ef8 with commit message:
          MB-50398: Escape double quotes in prometheus label values

          build-team Couchbase Build Team added a comment - Build couchbase-server-7.1.0-2105 contains ns_server commit ef45ef8 with commit message: MB-50398 : Escape double quotes in prometheus label values

          People

            timofey.barmin Timofey Barmin
            timofey.barmin Timofey Barmin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty