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

orca: server side custom metrics implementation #5531

Merged
merged 27 commits into from
Sep 1, 2022
Merged
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
f7b002f
orca: server side custom metrics implementation
easwars Jun 13, 2022
415534c
make vet happy
easwars Jul 21, 2022
3f895cb
add comment about map copy
easwars Jul 27, 2022
f3faeec
combine two APIs into one for enabling call metrics
easwars Jul 27, 2022
8d20f18
move out-of-band metrics to service implementation
easwars Jul 27, 2022
1480966
fix typo
easwars Jul 28, 2022
dd2be28
grab read lock where appropriate
easwars Aug 2, 2022
3895f17
rename service implementation files
easwars Aug 2, 2022
abda20e
rename Server to Service
easwars Aug 2, 2022
58f5ebf
delete the NewService function
easwars Aug 2, 2022
87beb81
remove local var
easwars Aug 2, 2022
5000e59
embed a metricRecorded in the Service type
easwars Aug 2, 2022
ceea6a3
review comments
easwars Aug 16, 2022
709bf80
review comments pass 2
easwars Aug 17, 2022
828fe66
review comments pass 3
easwars Aug 18, 2022
95df238
allow any min interval
easwars Aug 19, 2022
f00c3f2
simplify checks for determining reporting interval
easwars Aug 22, 2022
7843f63
rename multiServerOption to joinServerOption
easwars Aug 24, 2022
6dbce85
get rid of the interfaces in favor of concrete types
easwars Aug 24, 2022
e8ae32d
lazy allocation of the metric recorder for per-call metrics
easwars Aug 24, 2022
83b68fd
delete unwanted method
easwars Aug 24, 2022
e91a4cc
add missing comment
easwars Aug 25, 2022
ac4ec4a
fold oob metric reporting functionality into Service impl
easwars Aug 25, 2022
f4eb507
review comments
easwars Aug 26, 2022
8665e34
delete Delete{CPU/Memory} APIs
easwars Aug 26, 2022
e68810e
accept a grpc.Server in Register
easwars Aug 30, 2022
d1972f8
allocate and use the recorderWrapper in the interceptor
easwars Aug 31, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
make vet happy
easwars committed Jul 21, 2022
commit 415534c5bb5c4fcfcf983badcccb16a7f3fff532
2 changes: 1 addition & 1 deletion orca/oob_metric_recorder_test.go
Original file line number Diff line number Diff line change
@@ -169,7 +169,7 @@ func (s) Test_E2E_CustomBackendMetrics_OutOfBand(t *testing.T) {
break
}

// The EmptyCall RPC is expected to delete ealier injected metrics.
// The EmptyCall RPC is expected to delete earlier injected metrics.
if _, err := testStub.EmptyCall(ctx, &testpb.Empty{}); err != nil {
t.Fatalf("EmptyCall failed: %v", err)
}