-
Notifications
You must be signed in to change notification settings - Fork 25
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
Overhaul concept docs #3087
Overhaul concept docs #3087
Conversation
WalkthroughThe changes reflect a restructuring and clarification of the documentation for a system's request handling components. The updates include repositioning of sections within the sidebar, refining explanations of scheduling mechanisms, and introducing new concepts like the Concurrency Limiter. Links have been updated to align with the reorganized content, and Prometheus metrics have been enhanced for better observability of the system's flow control capabilities. Changes
TipsChat with CodeRabbit Bot (
|
docs/content/concepts/request-prioritization/concurrency-scheduler.md
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Review Status
Actionable comments generated: 0
Configuration used: CodeRabbit UI
Files ignored due to filter (12)
- api/buf.lock
- api/gen/proto/go/aperture/policy/language/v1/flowcontrol.pb.go
- blueprints/gen/jsonschema/_definitions.json
- docs/content/assets/openapiv2/aperture-controller.swagger.yaml
- docs/content/assets/openapiv2/aperture.swagger.yaml
- docs/content/concepts/assets/img/scheduler-dark.svg
- docs/content/concepts/assets/img/scheduler-light.svg
- docs/content/concepts/scheduler/assets/img/load-scheduler-dark.svg
- docs/content/concepts/scheduler/assets/img/load-scheduler-light.svg
- docs/content/concepts/scheduler/assets/img/quota-scheduler-dark.svg
- docs/content/concepts/scheduler/assets/img/quota-scheduler-light.svg
- docs/gen/policy/policy.yaml
Files selected for processing (21)
- api/aperture/policy/language/v1/flowcontrol.proto (2 hunks)
- docs/content/concepts/advanced/advanced.md (1 hunks)
- docs/content/concepts/advanced/agent-group.md (1 hunks)
- docs/content/concepts/cache.md (1 hunks)
- docs/content/concepts/concurrency-limiter.md (1 hunks)
- docs/content/concepts/control-point.md (2 hunks)
- docs/content/concepts/flow-label.md (1 hunks)
- docs/content/concepts/flow-lifecycle.md (2 hunks)
- docs/content/concepts/rate-limiter.md (2 hunks)
- docs/content/concepts/request-prioritization/concurrency-scheduler.md (1 hunks)
- docs/content/concepts/request-prioritization/load-scheduler.md (3 hunks)
- docs/content/concepts/request-prioritization/quota-scheduler.md (2 hunks)
- docs/content/concepts/request-prioritization/request-prioritization.md (1 hunks)
- docs/content/concepts/scheduler.md (1 hunks)
- docs/content/concepts/selector.md (1 hunks)
- docs/content/faq.md (1 hunks)
- docs/content/introduction.md (1 hunks)
- docs/content/reference/blueprints/load-scheduling/average-latency.md (1 hunks)
- docs/content/reference/configuration/spec.md (2 hunks)
- docs/content/reference/observability/prometheus-metrics/agent.md (8 hunks)
- pkg/policies/flowcontrol/service/check/metrics.go (3 hunks)
Files skipped from review due to trivial changes (12)
- api/aperture/policy/language/v1/flowcontrol.proto
- docs/content/concepts/advanced/agent-group.md
- docs/content/concepts/cache.md
- docs/content/concepts/concurrency-limiter.md
- docs/content/concepts/control-point.md
- docs/content/concepts/flow-label.md
- docs/content/concepts/flow-lifecycle.md
- docs/content/concepts/rate-limiter.md
- docs/content/concepts/request-prioritization/load-scheduler.md
- docs/content/concepts/request-prioritization/quota-scheduler.md
- docs/content/concepts/selector.md
- docs/content/reference/configuration/spec.md
Additional comments: 17
docs/content/concepts/advanced/advanced.md (1)
- 3-3: Please verify that the change in
sidebar_position
from 8 to 10 is intentional and correctly reflects the desired order in the sidebar navigation.docs/content/concepts/request-prioritization/request-prioritization.md (1)
- 2-3: The addition of the
Request Prioritization
documentation withsidebar_position: 8
looks good. Please ensure this position is consistent with the overall documentation structure.docs/content/concepts/request-prioritization/concurrency-scheduler.md (1)
- 2-7: The introduction of the
Concurrency Scheduler
documentation withsidebar_position: 2
is well-detailed. Please confirm that the sidebar position aligns with the documentation structure and that the references are accurate.docs/content/faq.md (1)
- 112-113: The updates to the hyperlinks for
load-scheduler
andscheduler
in the FAQ section are correct, assuming the new paths accurately reflect the restructured documentation.pkg/policies/flowcontrol/service/check/metrics.go (1)
- 55-55: The transition to using a
CounterVec
forcheckReceivedTotal
with labels for better granularity is a good improvement. Please ensure that the labels used are comprehensive and accurately represent the metrics being tracked.docs/content/introduction.md (1)
- 53-70: The semantic updates to feature names and paths in the introduction documentation are clear and seem to align with the restructured documentation. Please confirm that the new paths are correct and accessible.
docs/content/concepts/scheduler.md (1)
- 2-9: The addition of the
Scheduler
documentation withsidebar_position: 7
is comprehensive. Please verify that the sidebar position is correct and that all references and links are accurate and functional.docs/content/reference/blueprints/load-scheduling/average-latency.md (1)
- 30-35: The rephrased description of the load scheduler's functionality and its interaction with Aperture Agents through etcd provides a clearer understanding of the component's behavior. Ensure that the new terms used, such as "load multiplier," are consistently defined and used across all documentation to avoid confusion.
docs/content/reference/observability/prometheus-metrics/agent.md (9)
59-62: The update to the
agent_group
label description for the Load Scheduler metrics ensures clarity in the documentation. It's important that the new label accurately reflects the policy it belongs to and is consistent with the rest of the documentation.88-97: The changes to the
agent_group
label and the addition of new labels and metrics for the Rate Limiter improve the granularity and specificity of the metrics. Verify that these label changes are reflected in any dashboards or alerts that may use the old labels to prevent any monitoring disruptions.106-121: Introduction of new metrics and labels for the Concurrency Limiter is a positive change for observability. Ensure that the new metrics are documented in the user-facing documentation and that any systems relying on the old metrics are updated accordingly.
148-151: The update to the
agent_group
label for the Sampler metrics is consistent with the changes in other sections. Confirm that these changes are synchronized with any operational tooling that relies on these labels.178-181: The changes to the
agent_group
label for the Classifier metrics align with the updates in other metric sections. As with other label changes, ensure that all dependent systems are updated to accommodate these changes.194-199: The addition of new Flow Control metrics enhances the observability of the system. It's crucial to verify that these new metrics are integrated into the monitoring setup and that any documentation for users is updated to include these metrics.
209-212: Updating the
agent_group
label for Flow Control metrics is approved. Ensure that this change is communicated to users and reflected in any related operational tooling.239-242: The update to the
agent_group
label for Distributed Cache metrics is consistent with updates in other sections. Verify that this change is reflected in all relevant systems and documentation.274-277: The changes to the
agent_group
label for Scheduler metrics are approved. Ensure that these changes are accurately reflected in all user-facing and internal documentation, as well as any dependent tooling.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Review Status
Actionable comments generated: 0
Configuration used: CodeRabbit UI
Files selected for processing (2)
- docs/content/concepts/rate-limiter.md (2 hunks)
- docs/content/concepts/request-prioritization/concurrency-scheduler.md (1 hunks)
Files skipped from review as they are similar to previous changes (2)
- docs/content/concepts/rate-limiter.md
- docs/content/concepts/request-prioritization/concurrency-scheduler.md
Description of change
Checklist
Summary by CodeRabbit