Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
slapos slapos
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Labels
    • Labels
  • Merge requests 123
    • Merge requests 123
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedi
  • slaposslapos
  • Merge requests
  • !208

Merged
Created Aug 01, 2017 by Hardik Juneja@hjunejaContributor

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

  • Overview 9
  • Commits 4
  • Changes 9

Note: This patch requires newest version of Slapos Toolbox

Revisiting the discussion here: !170 (comment 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
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: master
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7