Skip to content

Commit d02601a

Browse files
authored
feat: Updating readme with new gfe latency metrics (#1630)
* feat: Updating readme with new gfe latency metrics * Updating readme with latest opencensus version and updating metrics list
1 parent c987850 commit d02601a

File tree

1 file changed

+13
-6
lines changed

1 file changed

+13
-6
lines changed

.readme-partials.yaml

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,9 @@ custom_content: |
6767
* `cloud.google.com/java/spanner/max_allowed_sessions`: This shows the maximum
6868
number of sessions allowed.
6969
70-
* `cloud.google.com/java/spanner/in_use_sessions`: This metric allows users to
70+
* `cloud.google.com/java/spanner/num_sessions_in_pool`: This metric allows users to
7171
see instance-level and database-level data for the total number of sessions in
72-
use (or checked out from the pool) at this very moment.
72+
the pool at this very moment.
7373
7474
* `cloud.google.com/java/spanner/num_acquired_sessions`: This metric allows
7575
users to see the total number of acquired sessions.
@@ -83,24 +83,31 @@ custom_content: |
8383
it waits until a session is released into the pool by another thread) due to
8484
pool exhaustion since the server process started.
8585
86+
* `cloud.google.com/java/spanner/gfe_latency`: This metric shows latency between
87+
Google's network receiving an RPC and reading back the first byte of the response.
88+
89+
* `cloud.google.com/java/spanner/gfe_header_missing_count`: This metric shows the
90+
number of RPC responses received without the server-timing header, most likely
91+
indicating that the RPC never reached Google's network.
92+
8693
If you are using Maven, add this to your pom.xml file
8794
```xml
8895
<dependency>
8996
<groupId>io.opencensus</groupId>
9097
<artifactId>opencensus-impl</artifactId>
91-
<version>0.26.0</version>
98+
<version>0.30.0</version>
9299
<scope>runtime</scope>
93100
</dependency>
94101
<dependency>
95102
<groupId>io.opencensus</groupId>
96103
<artifactId>opencensus-exporter-stats-stackdriver</artifactId>
97-
<version>0.26.0</version>
104+
<version>0.30.0</version>
98105
</dependency>
99106
```
100107
If you are using Gradle, add this to your dependencies
101108
```Groovy
102-
compile 'io.opencensus:opencensus-impl:0.26.0'
103-
compile 'io.opencensus:opencensus-exporter-stats-stackdriver:0.26.0'
109+
compile 'io.opencensus:opencensus-impl:0.30.0'
110+
compile 'io.opencensus:opencensus-exporter-stats-stackdriver:0.30.0'
104111
```
105112
106113
At the start of your application configure the exporter:

0 commit comments

Comments
 (0)