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

[8.9] Enable all remaining metric aggregations on counters (#97974) #98294

Merged

Commits on Aug 8, 2023

  1. Enable all remaining metric aggregations on counters (elastic#97974)

    Here we enable aggregations previously not allowed on fields of type counter.
    The decision of enabling such aggregations even if the result is "meaningless"
    for counters has been taken to favour TSDB adoption.
    
    Aggregations now allowed, other than the existing ones, include:
    * avg
    * box plot
    * cardinality
    * extended stats
    * median absolute deviation
    * percentile ranks
    * percentiles
    * stats
    * sum
    * value count
    
    I included tests for the weighted average and matrix stats aggregations too.
    
    Resolves elastic#97882
    
    (cherry picked from commit d0b2f65)
    
    # Conflicts:
    #	rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/tsdb/120_counter_fields.yml
    salvatore-campagna committed Aug 8, 2023
    Configuration menu
    Copy the full SHA
    429a198 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0fef641 View commit details
    Browse the repository at this point in the history