Skip to content

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

Merged
joe-elliott merged 18 commits intografana:mainfrom
electron0zero:query_bytes
Mar 28, 2023
Merged

Add Throughput and SLO Metrics with SLOConfig in Query Frontend#2008
joe-elliott merged 18 commits intografana:mainfrom
electron0zero:query_bytes

Conversation

@electron0zero
Copy link
Copy Markdown
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]

Comment thread docs/sources/configuration/_index.md Outdated
Comment thread docs/sources/configuration/_index.md Outdated
Comment thread docs/sources/configuration/_index.md Outdated
Copy link
Copy Markdown
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
Copy Markdown
Collaborator

@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.

Comment thread .gitignore Outdated
Comment thread modules/frontend/frontend.go Outdated
Comment thread modules/frontend/config.go Outdated
Comment thread modules/frontend/searchsharding.go Outdated
Comment thread modules/frontend/searchsharding.go Outdated
Comment thread modules/frontend/tracebyidsharding.go Outdated
Comment thread modules/frontend/frontend.go
Comment thread modules/frontend/config.go
Comment thread docs/sources/configuration/_index.md
Comment thread docs/sources/configuration/_index.md Outdated
Copy link
Copy Markdown
Collaborator

@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!

Comment thread modules/frontend/searchsharding.go Outdated
Comment thread modules/frontend/searchsharding.go
Copy link
Copy Markdown
Collaborator

@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
@electron0zero electron0zero deleted the query_bytes branch February 13, 2025 16:57
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