Uploaded image for project: 'OpenDJ'
  1. OpenDJ
  2. OPENDJ-6219

Prometheus endpoint configuration: "_" character is not properly taken into account in excluded-metric-pattern property

    Details

    • Type: Bug
    • Status: QA Backlog
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 6.5.0
    • Fix Version/s: 7.0.0
    • Component/s: config, monitoring
    • Labels:
      None

      Description

      While adding a prometheus HTTP endpoint via dsconfig command, the _ character is not properly taken into account by the regex in the excluded-metric-pattern property.

      For example, when trying to remove all the ds_jvm_memory* metrics, the regex pattern jvm_memory.* does not remove them, while the jvm.+memory.* regex pattern does remove them all.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                stephane.orluc Stephane Orluc
                Dev Assignee:
                Jean-Noël Rouvignac
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: