Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • slapos slapos
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Merge requests 129
    • Merge requests 129
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedinexedi
  • slaposslapos
  • Merge requests
  • !208

Add promises to check the apachedex and mariadb slow query pt-digest result

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Hardik Juneja requested to merge hjuneja/slapos:master into master Aug 01, 2017
  • Overview 9
  • Commits 4
  • Pipelines 0
  • Changes 9

Note: This patch requires newest version of Slapos Toolbox

Revisiting the discussion here: https://lab.nexedi.com/nexedi/slapos/merge_requests/170#note_36946

I am not including the schema in this pull request as it needs some discussion, but to test and to give you an idea here is a quick sketch of the schema

  "monitor": {
    "description": "Monitor related parameters",
    "properties": {
        "apachedex-promise-threshold": {
          "title": "ApacheDex Promise Threshold",
          "description": "If the result in the apachedex report exeecds this value, the promise will fail.",
          "type": "integer",
          "default": "80"
        },
        "apachedex-configuration": {
          "description": "Configuration for apachedex",
          "type": "string",
          "default": "--erp5-base '/erp5(/|$|\?)' --skip-user-agent Zabbix  --error-detail --js-embed --quiet"
        },
       "max-slowqueries-threshold'": {
          "description": "If the maximum number of slow queries exeed this value, the promise will fail",
          "type": "string",
          "default": 1000
        },
       "slowest-query-threshold'": {
          "description": "If the slowest query in the mariadb slow query log  exeed this value, the promise will fail",
          "type": "string",
          "default": ""
        }
     }
   }

TODO: To discuss the slowquery thresholds

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: master
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7