Closed kpango closed 3 months ago
[CHATOPS:HELP] ChatOps commands.
/approve
- approve/format
- format codes and add licenses/gen-test
- generate test codes/label
- add labels/label actions/e2e-deploy
- run E2E deploy & integration test[WARNING:INTCFG] Changes in interal/config
may require you to change Helm charts. Please check.
[!IMPORTANT]
Review skipped
More than 25% of the files skipped due to max files limit. The review is being skipped to prevent a low-quality review.
94 files out of 263 files are above the max files limit of 50. Please upgrade to Pro plan to get higher limits.
You can disable this status message by setting the
reviews.review_status
tofalse
in the CodeRabbit configuration file.
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Attention: Patch coverage is 0.83333%
with 357 lines
in your changes missing coverage. Please review.
Project coverage is 17.56%. Comparing base (
76eb8d7
) to head (4d9ae3e
). Report is 4 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Latest commit: |
4d9ae3e
|
Status: | ✅ Deploy successful! |
Preview URL: | https://c7735d4b.vald.pages.dev |
Branch Preview URL: | https://feature-agent-ngt-statistics.vald.pages.dev |
[FOSSA] The scan result will be available at https://app.fossa.com/projects/custom%2B21465%2Fvald/refs/branch/feature%2Fagent%2Fngt-statistics-api/6d72e63e1379fcddde1d03c85e38486b9e948792
type | vald-agent-ngt | vald-lb-gateway | vald-discoverer | vald-manager-index |
---|---|---|---|---|
cpu | ||||
heap |
[FOSSA] The scan result will be available at https://app.fossa.com/projects/custom%2B21465%2Fvald/refs/branch/feature%2Fagent%2Fngt-statistics-api/95b178d630e75b8be858a229cab52a4d6e63764e
type | vald-agent-ngt | vald-lb-gateway | vald-discoverer | vald-manager-index |
---|---|---|---|---|
cpu | ||||
heap |
Description
Summary
This pull request introduces several significant updates and enhancements, primarily focusing on adding new API functionalities for index statistics and improving observability metrics.
The _test.go and pb.go diffs are just re-generated please ignore them.
Changes
Protobuf Updates:
Info.Index.Statistics
toapis/proto/v1/payload/payload.proto
.IndexStatistics
andIndexStatisticsDetail
APIs inapis/proto/v1/vald/index.proto
to returnInfo.Index.Statistics
.Handler Implementations:
IndexStatistics
andIndexStatisticsDetail
API handlers inpkg/gateway/lb/handler/grpc/handler.go
.pkg/agent/core/ngt/service/ngt.go
.Algorithm Enhancements:
GraphStatistics
struct andGetGraphStatistics(m statisticsType) (stats *GraphStatistics, err error)
function ininternal/core/algorithm/ngt/ngt.go
to enable retrieval of index statistics.GraphStatistics
postCreateIndex
based on options inpkg/agent/core/ngt/service/ngt.go
.Metrics Export:
GraphStatistics
metrics ininternal/observability/metrics/agent/core/ngt/ngt.go
.Int64ObservableGauge
andFloat64ObservableGauge
ininternal/observability/metrics/metrics.go
.Configuration and Formatting:
.github/workflows/format.yml
to add ignore settings forFormat and license
.Makefile
underformat/go
to include formatting of artifacts generated fromProto
.Additional Notes
Related Issue
Versions
Checklist
Special notes for your reviewer