-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split metrics uploading into separtate binary
Bug: b/294945709 Test: Updated unit and integration tests Change-Id: I6e3dd4ed90696a51f9e014709e697409c38c8dc0 GitOrigin-RevId: 3ff0af7e2384671e2b796e418011133cdb0d0e7e
- Loading branch information
1 parent
78786d6
commit 736af22
Showing
26 changed files
with
411 additions
and
327 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,3 +29,4 @@ data: | |
- file: rewrapper | ||
- file: reproxystatus | ||
- file: reclientreport | ||
- file: metricsuploader |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,3 +31,4 @@ data: | |
- file: remotetool | ||
- file: scandeps_server | ||
- file: scandeps_server.sym | ||
- file: metricsuploader |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,3 +29,4 @@ data: | |
- file: reproxystatus | ||
- file: reclientreport | ||
- file: remotetool | ||
- file: metricsuploader |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,3 +31,4 @@ data: | |
- file: scandeps_server | ||
- file: scandeps_server.sym | ||
- file: remotetool | ||
- file: metricsuploader |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,3 +29,4 @@ data: | |
- file: reproxystatus | ||
- file: reclientreport | ||
- file: remotetool | ||
- file: metricsuploader |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,3 +31,4 @@ data: | |
- file: remotetool | ||
- file: scandeps_server | ||
- file: scandeps_server.sym | ||
- file: metricsuploader |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,3 +28,4 @@ data: | |
- file: rewrapper.exe | ||
- file: reproxystatus.exe | ||
- file: reclientreport.exe | ||
- file: metricsuploader.exe |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") | ||
|
||
go_library( | ||
name = "metricsuploader_lib", | ||
srcs = ["main.go"], | ||
importpath = "team/foundry-x/re-client/cmd/metricsuploader", | ||
visibility = ["//visibility:private"], | ||
deps = [ | ||
"//api/stats", | ||
"//internal/pkg/bigquery", | ||
"//internal/pkg/monitoring", | ||
"//internal/pkg/rbeflag", | ||
"//internal/pkg/stats", | ||
"//pkg/version", | ||
"@com_github_bazelbuild_remote_apis_sdks//go/pkg/moreflag", | ||
"@com_github_golang_glog//:go_default_library", | ||
"@org_golang_google_grpc//credentials/oauth", | ||
"@org_golang_google_protobuf//proto", | ||
"@org_golang_x_oauth2//:oauth2", | ||
], | ||
) | ||
|
||
go_binary( | ||
name = "metricsuploader", | ||
embed = [":metricsuploader_lib"], | ||
visibility = ["//visibility:public"], | ||
) |
Oops, something went wrong.