Skip to content

Commit 4580cdf

Browse files
chore: regenerate README (#616)
This PR was generated using Autosynth. 🌈 <details><summary>Log from Synthtool</summary> ``` 2021-02-05 16:35:43,869 synthtool [DEBUG] > Executing /root/.cache/synthtool/java-bigtable/.github/readme/synth.py. On branch autosynth-readme nothing to commit, working tree clean 2021-02-05 16:35:44,744 synthtool [DEBUG] > Wrote metadata to .github/readme/synth.metadata/synth.metadata. ``` </details> Full log will be available here: https://source.cloud.google.com/results/invocations/6c71dbb7-cb82-4b8b-84bd-724ab1181866/targets - [ ] To automatically regenerate this PR, check this box.
1 parent 3e8af74 commit 4580cdf

File tree

2 files changed

+4
-34
lines changed

2 files changed

+4
-34
lines changed

.github/readme/synth.metadata/synth.metadata

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
"git": {
55
"name": ".",
66
"remote": "https://github.com/googleapis/java-bigtable.git",
7-
"sha": "ea599a10e2e4fdbaf56c45b74fbb1ea5a708a7f2"
7+
"sha": "3e8af747b329f6656a410160e8da14fd8227c8fc"
88
}
99
},
1010
{
1111
"git": {
1212
"name": "synthtool",
1313
"remote": "https://github.com/googleapis/synthtool.git",
14-
"sha": "16ec872dd898d7de6e1822badfac32484b5d9031"
14+
"sha": "692715c0f23a7bb3bfbbaa300f7620ddfa8c47e5"
1515
}
1616
}
1717
]

README.md

Lines changed: 2 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ try {
203203

204204
TIP: If you are experiencing version conflicts with gRPC, see [Version Conflicts](#version-conflicts).
205205

206-
## Client request tracing: OpenCensus Tracing
206+
## OpenCensus Tracing
207207

208208
Cloud Bigtable client supports [OpenCensus Tracing](https://opencensus.io/tracing/),
209209
which gives insight into the client internals and aids in debugging production issues.
@@ -258,8 +258,6 @@ StackdriverTraceExporter.createAndRegister(
258258
.setProjectId("YOUR_PROJECT_ID")
259259
.build());
260260
```
261-
You can view the traces on the Google Cloud Platform Console
262-
[Trace](https://console.cloud.google.com/traces) page.
263261

264262
By default traces are [sampled](https://opencensus.io/tracing/sampling) at a rate of about 1/10,000.
265263
You can configure a higher rate by updating the active tracing params:
@@ -275,7 +273,7 @@ Tracing.getTraceConfig().updateActiveTraceParams(
275273
);
276274
```
277275

278-
## Enabling Cloud Bigtable Metrics: OpenCensus Stats
276+
## OpenCensus Stats
279277

280278
Cloud Bigtable client supports [Opencensus Metrics](https://opencensus.io/stats/),
281279
which gives insight into the client internals and aids in debugging production issues.
@@ -378,34 +376,6 @@ BigtableDataSettings.enableOpenCensusStats();
378376
BigtableDataSettings.enableGfeOpenCensusStats();
379377
```
380378

381-
You can view the metrics on the Google Cloud Platform Console
382-
[Metrics explorer](https://console.cloud.google.com/monitoring/metrics-explorer)
383-
page.
384-
385-
You can configure how frequently metrics are pushed to StackDriver and the
386-
[Monitored resource type](https://cloud.google.com/monitoring/api/resources) by
387-
updating `StackdriverStatsConfiguration`:
388-
389-
``` java
390-
// Example: configuring export interval and monitored resource type
391-
StackdriverStatsExporter.createAndRegister(
392-
StackdriverStatsConfiguration.builder()
393-
.setProjectId("YOUR_PROJECT_ID")
394-
// Exporting metrics every 10 seconds
395-
.setExportInterval(Duration.create(10, 0))
396-
// Configure monitored resource type. A common practice is to use the
397-
// monitored resource objects that represent the physical resources
398-
// where your application code is running. See the full list of
399-
// monitored resource type here:
400-
// https://cloud.google.com/monitoring/api/resources
401-
.setMonitoredResource(MonitoredResource.newBuilder()
402-
.setType("global")
403-
.putLabels("project_id", "YOUR_PROJECT_ID")
404-
.build())
405-
.build()
406-
);
407-
```
408-
409379
## Version Conflicts
410380

411381
google-cloud-bigtable depends on gRPC directly which may conflict with the versions brought

0 commit comments

Comments
 (0)