Skip to content

Commit cde5c6b

Browse files
authored
chore: move gfe metrics readme (googleapis#580)
1 parent 480c771 commit cde5c6b

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

‎java-bigtable/.readme-partials.yml‎

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,12 +215,20 @@ custom_content: |
215215
each client RPC, tagged by operation name and the attempt status. Under normal
216216
circumstances, this will be identical to op_latency. However, when the client
217217
receives transient errors, op_latency will be the sum of all attempt_latencies
218-
and the exponential delays
218+
and the exponential delays.
219219
220220
* `cloud.google.com/java/bigtable/attempts_per_op`: A distribution of attempts that
221221
each operation required, tagged by operation name and final operation status.
222222
Under normal circumstances, this will be 1.
223223
224+
### GFE metric views:
225+
* `cloud.google.com/java/bigtable/gfe_latency`: A distribution of the latency
226+
between Google's network receives an RPC and reads back the first byte of
227+
the response.
228+
229+
* `cloud.google.com/java/bigtable/gfe_header_missing_count`: A counter of the
230+
number of RPC responses received without the server-timing header, which
231+
indicates that the request probably never reached Google's network.
224232
225233
By default, the functionality is disabled. For example to enable metrics using
226234
[Google Stackdriver](https://cloud.google.com/monitoring/docs/):
@@ -276,6 +284,8 @@ custom_content: |
276284
);
277285
278286
BigtableDataSettings.enableOpenCensusStats();
287+
// Enable GFE metric views
288+
BigtableDataSettings.enableGfeOpenCensusStats();
279289
```
280290
281291
## Version Conflicts

0 commit comments

Comments
 (0)
Sponsor
SponsoredKunjungi sekarang
Promo