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

[Prometheus] Expose KV metrics endpoints from non local host like other services

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Won't Do
    • Minor
    • None
    • Cheshire-Cat
    • couchbase-bucket
    • 1

    Description

      Summary:
      It would be desirable to expose prometheus metrics endpoint to be accessed from non localhost, to be consistent with other services that allow, like indexing, and ns_server.

      curl -v -u Administrator:password http://localhost:11280/_prometheusMetricsHigh. (by giving localhost)

      returns metrics 

      curl -v -u Administrator:password http://10.112.200.101:11280/_prometheusMetricsHigh (by giving ip)

      returns empty response.

      Indexing currently allows both.  (And similarly ns_server also does)

      curl -v -u Administrator:password http://localhost:9102/_prometheusMetricsHigh. (by giving localhost)

      curl -v -u Administrator:password http://10.112.200.101:9102/_prometheusMetricsHigh (by giving ip)

      Attachments

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

        Activity

          People

            sumedh.basarkod Sumedh Basarkod (Inactive)
            sumedh.basarkod Sumedh Basarkod (Inactive)
            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