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

Introduce aggregation field for KeptnMetric #1779

Closed
Tracked by #1731
rakshitgondwal opened this issue Jul 25, 2023 · 0 comments · Fixed by #1780
Closed
Tracked by #1731

Introduce aggregation field for KeptnMetric #1779

rakshitgondwal opened this issue Jul 25, 2023 · 0 comments · Fixed by #1780

Comments

@rakshitgondwal
Copy link
Member

To apply aggregation functions, introduce a new field in the KeptnMetric struct.

spec:
  range:
    aggregation: <string>

This field should only accept the values: p90, p95, p99, max, min, median, avg.

  • If range.step is defined, this range.aggregation should act as a compulsion.
  • If range.aggregation field is defined, but range.step is not defined, it should throw an error.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant