Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[APM] Adds 'Anomaly detection' settings page to create ML jobs per environment #70560

Merged
merged 15 commits into from
Jul 7, 2020

Commits on Jul 4, 2020

  1. Adds 'Anomaly detection' settings page along with require API endpoints

    to list and create the apm anomaly detection jobs per environment.
    Some test data is hardcoded while the the required changes in the ML
    plugin are in flight.
    ogupte committed Jul 4, 2020
    Configuration menu
    Copy the full SHA
    67fa184 View commit details
    Browse the repository at this point in the history
  2. Converts the environment name to a compatible ML id string and persist

    in groups array. Also adds random token to the job ID to prevent
    collisions for job ids where diffferent environment names convert to the
    same string
    ogupte committed Jul 4, 2020
    Configuration menu
    Copy the full SHA
    03cc6a0 View commit details
    Browse the repository at this point in the history
  3. - Improve job creation with latest updates for the apm_transaction

    …ML module
    
    - Implements job list in settings by reading from `custom_settings.job_tags['service.environment']`
    - Add ML module method `createModuleItem` for job configuration
    - Don't allow user to type in duplicate environments
    ogupte committed Jul 4, 2020
    Configuration menu
    Copy the full SHA
    d440d7b View commit details
    Browse the repository at this point in the history
  4. Update x-pack/plugins/apm/public/components/app/Settings/anomaly_dete…

    …ction/add_environments.tsx
    
    Co-authored-by: Casper Hübertz <casper@formgeist.com>
    ogupte and formgeist committed Jul 4, 2020
    Configuration menu
    Copy the full SHA
    cbe5c3b View commit details
    Browse the repository at this point in the history
  5. Update x-pack/plugins/apm/public/components/app/Settings/anomaly_dete…

    …ction/index.tsx
    
    Co-authored-by: Casper Hübertz <casper@formgeist.com>
    ogupte and formgeist committed Jul 4, 2020
    Configuration menu
    Copy the full SHA
    89dec0c View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    925b600 View commit details
    Browse the repository at this point in the history
  7. - Moves get_all_environments from agent_configuration dir to common dir

    - makes the 'all' environment name ALL_OPTION_VALUE agent configuration-specific
    - replace field literals with constants
    ogupte committed Jul 4, 2020
    Configuration menu
    Copy the full SHA
    cb9a8ad View commit details
    Browse the repository at this point in the history

Commits on Jul 6, 2020

  1. Configuration menu
    Copy the full SHA
    8a2e968 View commit details
    Browse the repository at this point in the history
  2. PR feedback

    ogupte committed Jul 6, 2020
    Configuration menu
    Copy the full SHA
    e3b2cec View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9b86faa View commit details
    Browse the repository at this point in the history
  4. Fixes description copy, rearranges settings links, and makes sure the…

    … 'Not defined' option is disabled if it already exists.
    ogupte committed Jul 6, 2020
    Configuration menu
    Copy the full SHA
    69bcc2c View commit details
    Browse the repository at this point in the history
  5. Only show "Not defined" in environment selector if there are actually

    documents without service.environment set
    ogupte committed Jul 6, 2020
    Configuration menu
    Copy the full SHA
    2dca952 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    12c55d0 View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2020

  1. Configuration menu
    Copy the full SHA
    680ea4b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f42e553 View commit details
    Browse the repository at this point in the history