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

Add targetClusterName label for Prometheus XDCR Metrics

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Won't Do
    • Major
    • None
    • 7.0.0, 7.0.1, 7.0.2, 7.0.3, 7.1.0
    • XDCR
    • 1

    Description

      All of the XDCR metrics contain 4 common labels: 

      • targetClusterUUID
      • sourceBucketName
      • targetBucketName
      • pipelineType

      xdcr_changes_left_total {targetClusterUUID="a276ef776134d7f0efc5875e881bff55", sourceBucketName="travel-sample", targetBucketName="demo", pipelineType="Main"} 0 

      When visualizing XDCR metrics in Grafana or alerting based on certain XDCR metrics, labels are used to filter and/or add context for each metric.  No customer will ever know what the Cluster UUID is, especially if they have multiple remote clusters added and will be very difficult for them to make sense of given metrics.  

      A new label of targetClusterName should be added that is the value of what was populated when the user created the remote replication.  

      Attachments

        Issue Links

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

          Activity

            People

              neil.huang Neil Huang
              aaron.benton Aaron Benton (Inactive)
              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