Skip to content

Conversation

@silenceqi
Copy link
Contributor

@silenceqi silenceqi commented Jan 22, 2025

What does this PR do

This update introduces support for specifying query parameters using the following function format:
{ "function": { "rate": { "field": "payload.elasticsearch.shard_stats.search.query_total", "scale": 1 } } }
This enhancement improves flexibility in defining aggregation functions within queries.

Rationale for this change

Standards checklist

  • The PR title is descriptive
  • The commit messages are semantic
  • Necessary tests are added
  • Updated the release notes
  • Necessary documents have been added if this is a new feature
  • Performance tests checked, no obvious performance degradation

@medcl
Copy link
Member

medcl commented Jan 23, 2025

update docs for zh as well.

@luohoufu luohoufu self-requested a review January 23, 2025 12:07
Copy link
Contributor

@luohoufu luohoufu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@luohoufu luohoufu merged commit ca243b1 into main Jan 23, 2025
6 checks passed
@luohoufu luohoufu deleted the insight-func branch January 23, 2025 12:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants