Uploaded image for project: 'MariaDB MaxScale'
  1. MariaDB MaxScale
  2. MXS-5013

Reset router diagnostic statistics

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 6, 23.08.4
    • 25.08.0
    • maxctrl, REST-API
    • None

    Description

      Using maxctrl it is now possible to clear the statistics of services and servers. The command is maxctrl clear statistics target.

      $ maxctrl clear statistics MyService
      $ maxctrl clear statistics Server1
      

      The system will automatically figure out whether the provided name refers to a server or a service and act accordingly.
      If the target is a service, the diagnostics of the associated router will be cleared as well.

      Original descrption:
      While operating the service through the Maxscale Readwritesplit role,
      I want to reset Router Diagnostics information.
      It's good to have flush status at runtime while in operation.

      1. maxctrl show services
        ...
        Router Diagnostics { ~ ---> flushing }

      Attachments

        Activity

          People

            johan.wikman Johan Wikman
            muhammad.irfan Muhammad Irfan
            Votes:
            4 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.