Skip to content

Upgrading timestamp_microseconds_value to timestamp_value.#1459

Merged
dhermes merged 1 commit intogoogleapis:datastore-v1beta3from
dhermes:timestamp-micros-to-pb-1288
Feb 13, 2016
Merged

Upgrading timestamp_microseconds_value to timestamp_value.#1459
dhermes merged 1 commit intogoogleapis:datastore-v1beta3from
dhermes:timestamp-micros-to-pb-1288

Conversation

@dhermes
Copy link
Contributor

@dhermes dhermes commented Feb 13, 2016

Towards #1288.

@dhermes dhermes added the api: datastore Issues related to the Datastore API. label Feb 13, 2016
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Feb 13, 2016
@dhermes
Copy link
Contributor Author

dhermes commented Feb 13, 2016

@jonparrott AFAIK there are only 2 PRs left in the chamber

@dhermes dhermes mentioned this pull request Feb 13, 2016
49 tasks
@theacodes
Copy link
Contributor

LGTM (datetime code is always a blast).

dhermes added a commit that referenced this pull request Feb 13, 2016
Upgrading timestamp_microseconds_value to timestamp_value.
@dhermes dhermes merged commit 74fdb65 into googleapis:datastore-v1beta3 Feb 13, 2016
@dhermes dhermes deleted the timestamp-micros-to-pb-1288 branch February 13, 2016 00:20
parthea pushed a commit that referenced this pull request Mar 9, 2026
Make built-in metrics enabled by default

This change inverts the logic for enabling built-in OpenTelemetry
metrics. Previously, metrics were disabled by default and could be
enabled by setting `ENABLE_SPANNER_METRICS_ENV_VAR=true`.

With this update, metrics are now enabled by default to provide better
out-of-the-box observability for users.

To disable metrics, users must now set the new environment variable:
`SPANNER_DISABLE_BUILTIN_METRICS=true`

The old `ENABLE_SPANNER_METRICS_ENV_VAR` is no longer used. Unit tests
have been updated to reflect this new opt-out behavior.

**BREAKING CHANGE**: Built-in metrics are now enabled by default. Users
who previously did not set any environment variables will have metrics
collection and export turned on automatically after upgrading. To
restore the previous behavior and disable metrics, thry have to set the
`SPANNER_DISABLE_BUILTIN_METRICS` environment variable to `true`.
parthea pushed a commit that referenced this pull request Mar 9, 2026
PR created by the Librarian CLI to initialize a release. Merging this PR will auto trigger a release.

Librarian Version: v1.0.0
Language Image: us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-prod/python-librarian-generator@sha256:8e2c32496077054105bd06c54a59d6a6694287bc053588e24debe6da6920ad91
<details><summary>google-cloud-spanner: 3.60.0</summary>

## [3.60.0](https://togithub.com/googleapis/python-spanner/compare/v3.59.0...v3.60.0) (2025-12-10)

### Features

* make built-in metrics enabled by default (#1459) ([64aebe7e](https://togithub.com/googleapis/python-spanner/commit/64aebe7e))

* Exposing AutoscalingConfig in InstancePartition ([8b6f1540](https://togithub.com/googleapis/python-spanner/commit/8b6f1540))

* add support for experimental host (#1452) ([9535e5e0](https://togithub.com/googleapis/python-spanner/commit/9535e5e0))

* enable OpenTelemetry metrics and tracing by default (#1410) ([bb5095df](https://togithub.com/googleapis/python-spanner/commit/bb5095df))

* add cloud.region, request_tag and transaction_tag in span attributes (#1449) ([d37fb80a](https://togithub.com/googleapis/python-spanner/commit/d37fb80a))

* Add QueryAdvisorResult for query plan (PiperOrigin-RevId: 832425466) ([e08260fe](https://togithub.com/googleapis/python-spanner/commit/e08260fe))

* Add Send and Ack mutations for Queues (PiperOrigin-RevId: 832425466) ([e08260fe](https://togithub.com/googleapis/python-spanner/commit/e08260fe))

* Add Spanner location API (#1457) (PiperOrigin-RevId: 833474957) ([e08260fe](https://togithub.com/googleapis/python-spanner/commit/e08260fe))

### Bug Fixes

* Deprecate credentials_file argument ([8b6f1540](https://togithub.com/googleapis/python-spanner/commit/8b6f1540))

* configure keepAlive time for gRPC TCP connections (#1448) ([efb2833e](https://togithub.com/googleapis/python-spanner/commit/efb2833e))

* Provide Spanner Option to disable metrics (#1460) ([f1ebc43b](https://togithub.com/googleapis/python-spanner/commit/f1ebc43b))

### Documentation

* Update description for the BatchCreateSessionsRequest and Session (PiperOrigin-RevId: 832425466) ([e08260fe](https://togithub.com/googleapis/python-spanner/commit/e08260fe))

* Update description for the IsolationLevel (PiperOrigin-RevId: 832425466) ([e08260fe](https://togithub.com/googleapis/python-spanner/commit/e08260fe))

</details>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: datastore Issues related to the Datastore API. cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants