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

Add Throughput and SLO Metrics with SLOConfig in Query Frontend #2008

Merged
merged 18 commits into from
Mar 28, 2023

Conversation

electron0zero
Copy link
Member

@electron0zero electron0zero commented Jan 20, 2023

What this PR does:
Expose Throughput (for search only) and SLO Metrics, and add config in Query Frontend to configure SLOs

Note: this doesn't work with TraceQL yet because we are not sending SearchMetrics from TraceQL query execution, it will work after we start returning SearchMetrics from TraceQL query execution

Which issue(s) this PR fixes:
Fixes #

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

Copy link
Contributor

@knylander-grafana knylander-grafana left a comment

Choose a reason for hiding this comment

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

Thank you for adding documentation for these changes. My only comment was to add some missing periods.

Copy link
Member

@joe-elliott joe-elliott left a comment

Choose a reason for hiding this comment

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

overall nice work! handful of thoughts that i'm looking for your opinion on.

.gitignore Outdated Show resolved Hide resolved
modules/frontend/frontend.go Outdated Show resolved Hide resolved
modules/frontend/config.go Outdated Show resolved Hide resolved
modules/frontend/searchsharding.go Outdated Show resolved Hide resolved
modules/frontend/searchsharding.go Outdated Show resolved Hide resolved
modules/frontend/tracebyidsharding.go Outdated Show resolved Hide resolved
docs/sources/configuration/_index.md Outdated Show resolved Hide resolved
docs/sources/configuration/_index.md Outdated Show resolved Hide resolved
Copy link
Member

@joe-elliott joe-elliott left a comment

Choose a reason for hiding this comment

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

two small changes, but looks great!

modules/frontend/searchsharding.go Outdated Show resolved Hide resolved
modules/frontend/searchsharding.go Show resolved Hide resolved
Copy link
Member

@joe-elliott joe-elliott left a comment

Choose a reason for hiding this comment

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

nice work!

@joe-elliott joe-elliott merged commit 415afbf into grafana:main Mar 28, 2023
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 this pull request may close these issues.

None yet

4 participants