Uh oh!
There was an error while loading. Please reload this page.
Adds tracing sample for cloud spanner - #1002
Conversation
| <dependency> | ||
| <groupId>io.opencensus</groupId> | ||
| <artifactId>opencensus-api</artifactId> | ||
| <version>0.11.0</version> |
There was a problem hiding this comment.
Make it a variable because it is used in few places?
| <dependency> | ||
| <groupId>io.opencensus</groupId> | ||
| <artifactId>opencensus-impl</artifactId> | ||
| <version>0.11.0</version> |
| ZPageHandlers.startHttpServerAndRegisterAll(8080); | ||
| // Installs an exporter for stack driver. | ||
| StackdriverExporter.createAndRegister(); | ||
| Tracing.getExportComponent().getSampledSpanStore().registerSpanNamesForCollection(Arrays.asList("CloudSpannerSample")); |
There was a problem hiding this comment.
private static final String CLOUD_SPANNER_SAMPLE_SPAN_NAME = "CloudSpannerSample";
Not necessary the long suggested variable name but that will ensure that the string is the same here and 10 lines below.
bogdandrutu
commented
Jan 23, 2018
Also you can install the StackdriverStatsExporter as well to push grpc stats to monitoring, here are instructions: |
lesv
commented
Jan 23, 2018
You might wish to add something about this to the README.md |
lesv
commented
Jan 23, 2018
@rakyll Once they make the changes you've asked for, add the |
bogdandrutu
commented
Jan 23, 2018
If you link the stats you also need to define the views (or what data to export), to do that do the following:
|
vkedia
commented
Jan 23, 2018
Addressed all the comments. PTALA. |
vkedia
commented
Jan 23, 2018
Enabling SD premium made it work. |
vkedia
commented
Jan 23, 2018
@lesv Can you please approve. |
lesv
commented
Jan 23, 2018
Waiting on Kokoro. |
vkedia
commented
Jan 23, 2018
Thanks! |
🤖 I have created a release *beep* *boop* --- ## [0.124.15](https://togithub.com/googleapis/java-errorreporting/compare/v0.124.14...v0.124.15) (2022-10-10) ### Dependencies * Update dependency com.google.cloud:google-cloud-core to v2.8.21 ([#1001](https://togithub.com/googleapis/java-errorreporting/issues/1001)) ([b3722f8](https://togithub.com/googleapis/java-errorreporting/commit/b3722f8ea2dde68869b824e80da3583d312c83cb)) --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please).
🤖 I have created a release *beep* *boop* --- ## [0.124.15](https://togithub.com/googleapis/java-errorreporting/compare/v0.124.14...v0.124.15) (2022-10-10) ### Dependencies * Update dependency com.google.cloud:google-cloud-core to v2.8.21 ([#1001](https://togithub.com/googleapis/java-errorreporting/issues/1001)) ([b3722f8](https://togithub.com/googleapis/java-errorreporting/commit/b3722f8ea2dde68869b824e80da3583d312c83cb)) --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please).
🤖 I have created a release *beep* *boop* --- ## [0.124.15](https://togithub.com/googleapis/java-errorreporting/compare/v0.124.14...v0.124.15) (2022-10-10) ### Dependencies * Update dependency com.google.cloud:google-cloud-core to v2.8.21 ([#1001](https://togithub.com/googleapis/java-errorreporting/issues/1001)) ([b3722f8](https://togithub.com/googleapis/java-errorreporting/commit/b3722f8ea2dde68869b824e80da3583d312c83cb)) --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please).
…1.2 (#1002) [](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:libraries-bom](https://cloud.google.com/java/docs/bom) ([source](https://togithub.com/googleapis/java-cloud-bom)) | `26.1.1` -> `26.1.2` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4xOTguMSIsInVwZGF0ZWRJblZlciI6IjMyLjE5OC4xIn0=-->
…1.2 (#1002) [](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:libraries-bom](https://cloud.google.com/java/docs/bom) ([source](https://togithub.com/googleapis/java-cloud-bom)) | `26.1.1` -> `26.1.2` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dialogflow). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4xOTguMSIsInVwZGF0ZWRJblZlciI6IjMyLjE5OC4xIn0=-->
cc @bogdandrutu