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

[7.x] Add ingest info to Cluster Stats (#48485) #48661

Merged
merged 6 commits into from
Oct 31, 2019
Merged

Commits on Oct 29, 2019

  1. Add ingest info to Cluster Stats (elastic#48485)

    This commit enhances the ClusterStatsNodes response to include global
    processor usage stats on a per-processor basis.
    
    example output:
    
    ```
    ...
        "processor_stats": {
          "gsub": {
            "count": 0,
            "failed": 0
            "current": 0
            "time_in_millis": 0
          },
          "script": {
            "count": 0,
            "failed": 0
            "current": 0,
            "time_in_millis": 0
          }
        }
    ...
    ```
    
    The purpose for this enhancement is to make it easier to collect stats on how specific processors are being used across the cluster beyond the current per-node usage statistics that currently exist in node stats.
    
    Closes elastic#46146.
    talevy committed Oct 29, 2019
    Configuration menu
    Copy the full SHA
    35b1db6 View commit details
    Browse the repository at this point in the history
  2. fix BWC of ingest stats

    The introduction of processor types into IngestStats had a bug.
    It was set to `null` and set as the key to the map. This would
    throw a NPE. This commit resolves this by setting all the processor
    types from previous versions that are not serializing it out to
    `_NOT_AVAILABLE`.
    talevy committed Oct 29, 2019
    Configuration menu
    Copy the full SHA
    2032fa6 View commit details
    Browse the repository at this point in the history
  3. fix checkstyle: long line

    talevy committed Oct 29, 2019
    Configuration menu
    Copy the full SHA
    d78fbc4 View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2019

  1. Configuration menu
    Copy the full SHA
    b9b73b8 View commit details
    Browse the repository at this point in the history
  2. remove IngestStats import

    talevy committed Oct 31, 2019
    Configuration menu
    Copy the full SHA
    f48fcf5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    400b77b View commit details
    Browse the repository at this point in the history