Skip to content

logging: don't hard code config string - #1728

Merged
pongad merged 2 commits into
googleapis:masterfrom
pongad:logging-config
Mar 12, 2017
Merged

logging: don't hard code config string#1728
pongad merged 2 commits into
googleapis:masterfrom
pongad:logging-config

Conversation

@pongad

Copy link
Copy Markdown
Contributor

This PR turns the hard coded config string into
a map and a rendering function.
This doesn't do anything straightaway,
but will simplify #1721 .

This PR turns the hard coded config string into
a map and a rendering function.
This doesn't do anything straightaway,
but will simplify #1721 .
@googlebotgooglebot added the cla: yes This human has signed the Contributor License Agreement. label Mar 10, 2017
@coveralls

Copy link
Copy Markdown

Coverage Status

Changes Unknown when pulling 56d06ad on pongad:logging-config into ** on GoogleCloudPlatform:master**.

@coveralls

Copy link
Copy Markdown

Coverage Status

Changes Unknown when pulling 56d06ad on pongad:logging-config into ** on GoogleCloudPlatform:master**.

@michaelbausor

Copy link
Copy Markdown
Contributor

LGTM

@pongad
pongad merged commit 3919d63 into googleapis:masterMar 12, 2017
@pongad
pongad deleted the logging-config branch March 12, 2017 23:19
meltsufin pushed a commit that referenced this pull request Dec 22, 2025
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
chingor13 pushed a commit that referenced this pull request Jan 22, 2026
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
chingor13 pushed a commit that referenced this pull request Feb 24, 2026
* fix: Do not add padding in Client-Side CAB tokens.
Change-Id: I1dc0dfeb7e29e902ad3442cae28d10383816f58b
* Add unit test assertions to verify the generated token has no padding.
Change-Id: I7b948a13a075d7afeac19f96b9372f23b60d4eda
* Add comment to explain why padding is removed.
Change-Id: I0882e0c5d99310b179ace493b937669520626263
* Run mvn format.
Change-Id: I8e3c59c42fceeaf593fa08e85b40754d57e71a45
suztomo pushed a commit to suztomo/google-cloud-java that referenced this pull request Mar 11, 2026
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
chingor13 pushed a commit that referenced this pull request Mar 12, 2026
* fix: Do not add padding in Client-Side CAB tokens.
Change-Id: I1dc0dfeb7e29e902ad3442cae28d10383816f58b
* Add unit test assertions to verify the generated token has no padding.
Change-Id: I7b948a13a075d7afeac19f96b9372f23b60d4eda
* Add comment to explain why padding is removed.
Change-Id: I0882e0c5d99310b179ace493b937669520626263
* Run mvn format.
Change-Id: I8e3c59c42fceeaf593fa08e85b40754d57e71a45
suztomo pushed a commit to suztomo/google-cloud-java that referenced this pull request Mar 23, 2026
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
meltsufin pushed a commit that referenced this pull request Apr 29, 2026
🤖 I have created a release *beep* *boop*
---
### Updating meta-information for bleeding-edge SNAPSHOT release.
---
This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please).
meltsufin pushed a commit that referenced this pull request May 1, 2026
🤖 I have created a release *beep* *boop*
---
### Updating meta-information for bleeding-edge SNAPSHOT release.
---
This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please).
meltsufin pushed a commit that referenced this pull request May 2, 2026
* feat: Add FirestoreOpenTelemetryOptions to FirestoreOptions. (#1531)
* feat: Add FirestoreOpenTelemetryOptions to FirestoreOptions.
* Address code review feedback.
* feat: Add com.google.cloud.firestore.telemetry package. (#1533)
* feat: Add FirestoreOpenTelemetryOptions to FirestoreOptions.
* feat: Add com.google.cloud.firestore.telemetry package.
* Address code review feedback.
* Factor out the otel version in pom.xml.
* fix: Remove OpenCensus tracing code. (#1589)
* feat: Add FirestoreOpenTelemetryOptions to FirestoreOptions.
* feat: Add com.google.cloud.firestore.telemetry package.
* fix: Remove OpenCensus tracing code.
* feat: tracing for aggregate queries, bulkwriter, partition queries, a… (#1590)
* feat: Add FirestoreOpenTelemetryOptions to FirestoreOptions.
* feat: Add com.google.cloud.firestore.telemetry package.
* fix: Remove OpenCensus tracing code.
* feat: tracing for aggregate queries, bulkwriter, partition queries, and listDocuments.
* Address code review feedback.
* Address feedback.
* don't use wildcard imports.
* feat: trace instrumentation for DocumentReference methods. (#1591)
* feat: Add FirestoreOpenTelemetryOptions to FirestoreOptions.
* feat: Add com.google.cloud.firestore.telemetry package.
* fix: Remove OpenCensus tracing code.
* feat: tracing for aggregate queries, bulkwriter, partition queries, and listDocuments.
* feat: trace instrumentation for DocumentReference methods.
* feat: trace instrumentation for queries and transactions. (#1592)
* feat: Add FirestoreOpenTelemetryOptions to FirestoreOptions.
* feat: Add com.google.cloud.firestore.telemetry package.
* fix: Remove OpenCensus tracing code.
* feat: tracing for aggregate queries, bulkwriter, partition queries, and listDocuments.
* feat: trace instrumentation for DocumentReference methods.
* feat: trace instrumentation for queries and transactions.
* test: Adding first e2e client-tracing test w/ Custom Root Span (#1621)
* test: Adding first e2e client-tracing test w/ Custom Root Span
* Roll back E2E tests commit.
* Address feedback.
* Address feedback (better event log message).
* Address feedback.
---------
Co-authored-by: Jimit J Shah <57637300+jimit-j-shah@users.noreply.github.com>
* test: End-to-End Integration Test for Client-side Tracing in Firestore Java Server SDK using OpenTelemetry SDK and Cloud Trace Exporter against Cloud Trace. (#1635)
* Adding first e2e client-tracing test w/ Custom Root Span
* test: Adding first e2e client-tracing test w/ Custom Root Span
* Fixing test dependencies and use default GCP testing project.
Fixing
* Fixing test dependencies and use default GCP testing project.
* Fixing formatting
* Add aggregationQueryGet Test
* Add bulkWriterCommitTrace Test
* Fixing running multiple-tests
* Add partitionQuery Test
* Add collectionListDocumentsTrace Test
* Add docRef*Trace Tests
* Add docRefUpdate*Trace and docRefDelete*Trace Tests
* Fixing Trace fetching using retries for missing or incomplete traces due to eventual consistency of Cloud Trace
* Add get/query Trace Tests
* Add Transaction test
* Added TraceContainer to be able to test transaction test-cases
* test: Adding Transaction tests
* test: Adding Transaction tests
* test: Adding TestParameterInjector to run the test for global and non-global opentelemetry SDK instances
* test: formatting and cleanup
* test: Adding first e2e client-tracing test w/ Custom Root Span
* test: Add aggregationQueryGet Test
* test: Add bulkWriterCommitTrace Test and fixed running multiple-tests
* test: Add partitionQuery Test
* test: Add collectionListDocumentsTrace Test
* test: Add docRefUpdate*Trace and docRefDelete*Trace Tests and fixed Trace fetching using retries for missing or incomplete traces due to eventual consistency of Cloud Trace
* test: Add get/query Trace Tests
* test: Added Transaction tests using TraceContainer to verify traces for Transaction ops (BeginTransaction, Rollback etc)
* test: Adding TestParameterInjector to run the test for global and non-global opentelemetry SDK instances
* test: Formatting and cleanup
* test: review comments
* test: fixing dfs to handle case where the compareTo callstack may be shorter than the trace callstack - don't need to throw an exception in that case
* test: Consolidating verification methods
* test: review comments
* fix: Make telemetry-related fields transient. (#1638)
* fix: Rename 'enabled' to 'tracingEnabled'. (#1639)
* fix: Rename 'enabled' to 'tracingEnabled'.
In the future, FirestoreOpenTelemetryOptions will support enabling/disabling
Logging and Metrics as well. So we should use a better name for this field.
* address feedback.
* fix: Minor improvement to the ITE2ETracingTest. (#1637)
* fix: Minor improvement to the ITE2ETracingTest.
* revert the numExpectedSpans change.
* feat: Add 'isTransactional' attribute. (#1657)
* fix: Necessary test improvements for CI environments. (#1673)
* fix: Necessary test improvements for CI environments.
* Address feedback.
* feat: Disable the tracing feature and remove public APIs.
* 🦉 Updates from OwlBot post-processor
See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
* Add the Firestore SDK version to the attributes.
* 🦉 Updates from OwlBot post-processor
See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
* Update the "test" dependency versions.
* Address feedback related to attributes.
* Add 'project_id' attribute.
* 🦉 Updates from OwlBot post-processor
See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
* Revert a736fcc ("Disable the tracing feature and remove public APIs").
* GlobalOtel reset for test must happen in `before`, not `after`.
* Address feedback.
* 🦉 Updates from OwlBot post-processor
See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
---------
Co-authored-by: Jimit J Shah <57637300+jimit-j-shah@users.noreply.github.com>
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
benjaminp pushed a commit to benjaminp/google-cloud-java that referenced this pull request Jul 13, 2026
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yesThis human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@pongad@coveralls@michaelbausor@googlebot