@@ -91,7 +91,13 @@ sum by (cache_type) (increase(exported_buildbuddy_remote_cache_num_hits[1w]))`,
9191 Type : dto .MetricType_COUNTER .Enum (),
9292 },
9393 Examples : `# Number of bytes downloaded as measured over the last week
94- sum(increase(exported_buildbuddy_remote_cache_download_size_bytes[1w]))` ,
94+ sum(increase(exported_buildbuddy_remote_cache_download_size_bytes[1w]))
95+
96+ # Bytes downloaded internal to BuildBuddy between services
97+ sum(increase(exported_buildbuddy_remote_cache_download_size_bytes{origin="internal"}[1w]))
98+
99+ # Bytes downloaded directly by your builds
100+ sum(increase(exported_buildbuddy_remote_cache_download_size_bytes{origin="external"}[1w]))` ,
95101 },
96102 {
97103 sourceMetricName : "buildbuddy_remote_cache_upload_size_bytes_exported" ,
@@ -102,7 +108,13 @@ sum(increase(exported_buildbuddy_remote_cache_download_size_bytes[1w]))`,
102108 Type : dto .MetricType_COUNTER .Enum (),
103109 },
104110 Examples : `# Number of bytes uploaded as measured over the last week
105- sum(increase(exported_buildbuddy_remote_cache_upload_size_bytes[1w]))` ,
111+ sum(increase(exported_buildbuddy_remote_cache_upload_size_bytes[1w]))
112+
113+ # Bytes uploaded internal to BuildBuddy between services
114+ sum(increase(exported_buildbuddy_remote_cache_upload_size_bytes{origin="internal"}[1w]))
115+
116+ # Bytes uploaded directly by your builds
117+ sum(increase(exported_buildbuddy_remote_cache_upload_size_bytes{origin="external"}[1w]))` ,
106118 },
107119 {
108120 sourceMetricName : "buildbuddy_remote_execution_duration_usec_exported" ,
0 commit comments