Skip to content

Add analytics plugin usage stats to _xpack/usage #54847

@imotov

Description

@imotov

In 7.6.2 _xpack/usage is returning

  "analytics" : {
    "available" : true,
    "enabled" : true,
    "stats" : [
      {
        "cumulative_cardinality_usage" : 0
      },
      {
        "cumulative_cardinality_usage" : 0
      },
      {
        "cumulative_cardinality_usage" : 0
      },
      {
        "cumulative_cardinality_usage" : 0
      }
    ]
  }

and in master we get:

  "analytics" : {
    "available" : true,
    "enabled" : true
  }

We should add cumulative stats for each aggregation instead.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions