As of January 1, 2020 this library no longer supports Python 2 on the latest released version. Library versions released prior to that date will continue to be available. For more information please visit Python 2 support on Google Cloud.

Changelog

PyPI History

2.23.1 (2024-11-11)

Bug Fixes

2.23.0 (2024-10-24)

Features

2.22.2 (2024-07-30)

Bug Fixes

  • Retry and timeout values do not propagate in requests during pagination (d95af77)

2.22.1 (2024-07-08)

Bug Fixes

2.22.0 (2024-06-24)

Features

  • Add support to add links in AlertPolicy (7fcde4f)

2.21.0 (2024-04-17)

Features

  • Added CloudRun, GkeNamespace, GkeWorkload, GkeService, and BasicService service types (f43231d)

Documentation

  • Updated comments accordingly (f43231d)

2.20.0 (2024-04-16)

Features

  • Added ServiceAgentAuthentication auth method for Uptime (25e126a)

  • Added Synthetic Monitor targets to Uptime data model (25e126a)

Documentation

  • Updated comments accordingly (25e126a)

2.19.4 (2024-04-15)

Documentation

2.19.3 (2024-03-05)

Bug Fixes

2.19.2 (2024-02-22)

Bug Fixes

  • deps: [Many APIs] Require google-api-core>=1.34.1 (#12307) (be87bc4)

  • fix ValueError in test__validate_universe_domain (7c2f2c2)

  • make google-cloud-monitoring tests work without mock (#12317) (1988e0d)

2.19.1 (2024-02-06)

Bug Fixes

  • Add google-auth as a direct dependency (27dceb9)

  • Add staticmethod decorator to _get_client_cert_source and _get_api_endpoint (27dceb9)

  • Resolve AttributeError ‘Credentials’ object has no attribute ‘universe_domain’ (27dceb9)

2.19.0 (2024-02-01)

Features

  • Allow users to explicitly configure universe domain (#12241) (aae72f5)

2.18.0 (2023-12-12)

Features

  • Added support for severity in AlertPolicy (4e817f8)

Documentation

  • add value range to comment on field forecast_horizon (4e817f8)

2.17.0 (2023-12-07)

Features

  • Add support for python 3.12 (5cd98aa)

  • Introduce compatibility with native namespace packages (5cd98aa)

Bug Fixes

  • Require proto-plus >= 1.22.3 (5cd98aa)

  • Use retry_async instead of retry in async client (5cd98aa)

2.16.0 (2023-10-09)

Features

  • Added support for forecast options in AlertPolicy (218e678)

  • Added support for promQL condition type in AlertPolicy (218e678)

  • Added support for retriggering notifications in AlertPolicy (218e678)

Documentation

2.15.1 (2023-07-04)

Bug Fixes

  • Add async context manager return types (#545) (4309faa)

2.15.0 (2023-05-25)

Features

  • Add basic http authentication (2774ac4)

  • Add httpStatusCode (2774ac4)

  • Add ICMP pings (2774ac4)

  • Add individual USA regions (2774ac4)

  • Add json path matching capabilities (2774ac4)

2.14.2 (2023-03-23)

Documentation

  • Fix formatting of request arg in docstring (#535) (e10167f)

2.14.1 (2023-01-20)

Bug Fixes

  • Add context manager return types (4643933)

Documentation

  • Add documentation for enums (4643933)

2.14.0 (2023-01-10)

Features

2.13.0 (2023-01-09)

Features

2.12.0 (2022-12-15)

Features

  • Add typing to proto.Message based class attributes (eaaca48)

Bug Fixes

  • Add dict typing for client_options (eaaca48)

  • Add metric label example to the snippet (#509) (48b4e35)

  • Add missing argument description (#504) (8d54a7e)

  • deps: Require google-api-core >=1.34.0, >=2.11.0 (eaaca48)

  • Drop usage of pkg_resources (eaaca48)

  • Fix timeout default values (eaaca48)

  • Remove duplicate variable declaration (#503) (99a981c)

Documentation

  • samples: Snippetgen should call await on the operation coroutine before calling result (eaaca48)

2.11.3 (2022-10-07)

Bug Fixes

2.11.2 (2022-10-03)

Bug Fixes

2.11.1 (2022-08-12)

Bug Fixes

  • deps: allow protobuf < 5.0.0 (#475) (14f4612)

  • deps: require proto-plus >= 1.22.0 (14f4612)

2.11.0 (2022-08-06)

Features

  • Added support for evaluating missing data in AlertPolicy (#470) (71e94c2)

Documentation

  • samples: add docstrings to explain the project ID format (#469) (7009724)

2.10.1 (2022-07-14)

Bug Fixes

  • deps: require google-api-core>=1.32.0,>=2.8.0 (#461) (8e631d7)

2.10.0 (2022-07-06)

Features

Bug Fixes

2.9.2 (2022-06-06)

Bug Fixes

Documentation

  • fix changelog header to consistent size (#439) (ce27cb4)

2.9.1 (2022-03-05)

Bug Fixes

  • deps: require google-api-core>=1.31.5, >=2.3.2 (#286) (e77a5cd)

2.9.0 (2022-02-26)

Features

Bug Fixes

  • resolve DuplicateCredentialArgs error when using credentials_file (c58bcce)

Documentation

2.8.0 (2021-11-16)

Features

  • Added support for auto-close configurations (#253) (0541c7a)

2.7.0 (2021-11-09)

Features

  • add CreateServiceTimeSeries RPC (b347e70)

Bug Fixes

  • deps: drop packaging dependency (b347e70)

  • deps: require google-api-core >= 1.28.0 (b347e70)

  • Reintroduce deprecated field/enum ServiceTier for backward compatibility (b347e70)

Miscellaneous Chores

Documentation

  • list oneofs in docstring (b347e70)

  • Use absolute link targets in comments (b347e70)

2.6.0 (2021-11-01)

Features

Bug Fixes

  • deps: drop packaging dependency (22d4eab)

  • deps: require google-api-core >= 1.28.0 (22d4eab)

  • Reintroduce deprecated field/enum ServiceTier for backward compatibility (#240) (eeb0534)

Documentation

  • list oneofs in docstring (22d4eab)

  • Use absolute link targets in comments (eeb0534)

2.6.0 (2021-10-07)

Features

  • add context manager support in client (#230) (954dd18)

2.5.2 (2021-09-30)

Bug Fixes

  • improper types in pagers generation (4a8b823)

2.5.1 (2021-09-24)

Bug Fixes

  • add ‘dict’ annotation type to ‘request’ (ffae24c)

2.5.0 (2021-08-27)

Features

  • Added support for log-based alerts (#204) (b56a78c)

  • Added support for user-defined labels on cloud monitoring’s Service object (b56a78c)

  • Added support for user-defined labels on cloud monitoring’s ServiceLevelObjective object (b56a78c)

Bug Fixes

  • mark required fields in QueryTimeSeriesRequest as required by the backend (b56a78c)

Documentation

  • samples: include example writing of label data (#202) (f5e8cf8)

2.4.2 (2021-07-28)

Bug Fixes

Documentation

  • add Samples section to CONTRIBUTING.rst (#184) (5b7b07b)

Miscellaneous Chores

2.4.1 (2021-07-20)

Bug Fixes

  • deps: pin ‘google-{api,cloud}-core’, ‘google-auth’ to allow 2.x versions (#183) (fdc5b07)

2.4.0 (2021-07-01)

Features

Bug Fixes

Documentation

2.3.0 (2021-06-18)

Features

  • support self-signed JWT flow for service accounts (ffa4b1f)

Bug Fixes

  • add async client to %name_%version/init.py (ffa4b1f)

2.2.1 (2021-03-29)

Bug Fixes

  • fix minimum required versions of proto-plus and pandas (#102) (782b3b2)

2.2.0 (2021-03-25)

Features

  • add client_cert_source_for_mtls (0eb2ca6)

  • Added IstioCanonicalService for service monitoring. (0eb2ca6)

  • Added total_size to the response of ListAlertPolicies. (0eb2ca6)

  • Added creation and mutation records to notification channels. (0eb2ca6)

  • Added support for Monitoring Query Language (0eb2ca6)

  • Added support for Monitoring Query Language (#101) (0eb2ca6)

  • Added support for querying metrics for folders and organizations. (0eb2ca6)

  • Added support for secondary aggregation when querying metrics. (0eb2ca6)

  • Added support for units in the MetricService (0eb2ca6)

Bug Fixes

  • Extended the default deadline for UpdateGroup to 180s. (0eb2ca6)

  • Un-deprecated cluster_istio for service monitoring. (0eb2ca6)

  • use correct retry deadline (0eb2ca6)

2.1.0 (2021-03-12)

Features

  • Adding labels to the metric descriptor in the snippets.py (#88) (811f9aa)

Bug Fixes

Documentation

  • remove code snippet and ‘Stackdriver’ (#71) (4cdb1ff)

2.0.1 (2021-02-18)

Bug Fixes

  • allow any set query_params to work with query.iter() (#83) (4279c92)

  • remove gRPC send/recv limits and expose client transport (#62) (bec9e87)

2.0.0 (2020-10-06)

⚠ BREAKING CHANGES

Features

1.1.0 (2020-08-20)

Features

  • add “not equal” support to the query filter (#11) (e293f7f)

1.0.0 (2020-06-03)

Features

  • set release_status to Production/Stable (#8) (a99d67a)

0.36.0 (2020-05-13)

Features

  • BREAKING CHANGE: drop support for TimeSeriesQueryLanguageCondition as an alert condition type (#22) (e4bc568)

0.35.0 (2020-04-21)

Features

  • add uptime check feature; increase default timeout (via synth) (#15) (dcf074a)

0.34.0

11-19-2019 14:27 PST

Implementation Changes

  • Deprecate resource name helper methods; update docs configuration (via synth). (#9838)

New Features

  • Add service monitoring (via synth). (#9799)

  • Add monitoring.v3.InternalChecker.state (via synth). (#9546)

  • Add monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption (via synth). (#9546)

  • Add recursive parameter to delete_group (via synth). (#9546)

  • Add read-only validity field to monitoring.v3.AlertPolicy (via synth). (#9546)

  • Add validate_ssl parameter to monitoring.v3.UptimeCheckConfig.HttpCheck (via synth). (#9546)

Documentation

  • Add python 2 sunset banner to documentation. (#9036)

  • Fix intersphinx reference to requests. (#9294)

  • Remove CI for gh-pages, use googleapis.dev for api_core refs. (#9085)

  • Remove compatability badges from READMEs. (#9035)

Internal / Testing Changes

  • Revert change to docs/conf.py. (#9803)

  • Normalize VPCSC configuration in systests. (#9615)

  • Make VPCSC env comparison case-insensitive. (#9564)

  • Refresh VPCSC tests. (#9437)

  • Fix environment variables for VPC tests. (#8302)

0.33.0

08-12-2019 13:54 PDT

New Features

  • Add notification channel verification; remove send/recv msg size limit (via synth). (#8980)

Documentation

  • Normalize docs. (#8994)

  • Update intersphinx mapping for requests. (#8805)

0.32.0

07-24-2019 16:52 PDT

Implementation Changes

  • Allow kwargs to be passed to create_channel (via synth). (#8397)

  • Add routing header to method metadata, update docs config (via synth). (#7642)

  • Remove classifier for Python 3.4 for end-of-life. (#7535)

  • Remove unused message exports. (#7271)

  • Protoc-generated serialization update. (#7089)

  • Pick up stub docstring fix in GAPIC generator. (#6976)

New Features

  • Add ‘client_options’ support, update list method docstrings (via synth). (#8516)

Dependencies

  • Bump minimum version for google-api-core to 1.14.0. (#8709)

Documentation

  • Link to googleapis.dev documentation in READMEs. (#8705)

  • Add compatibility check badges to READMEs. (#8288)

  • Fixes #8545 by removing typing information for kwargs to not conflict with type checkers (#8546)

  • Update docstrings, copy lintified proto files (via synth). (#7451)

  • googlecloudplatform –> googleapis in READMEs (#7411)

  • Updated client library documentation URLs. (#7307)

  • Update copyright: 2018 -> 2019. (#7151)

Internal / Testing Changes

  • Add docs job to publish to googleapis.dev. (#8464)

  • Declare encoding as utf-8 in pb2 files (via synth). (#8358)

  • Add disclaimer to auto-generated template files (via synth). (#8321)

  • Fix coverage in ‘types.py’ (via synth). (#8159)

  • Add empty lines (via synth). (#8065)

  • Add nox session docs (via synth). (#7777)

  • Regenerate VPCSC tests to include NotificationChannelService and UptimeCheckService. (#7853)

  • Set environment variables for VPCSC system tests. (#7847)

  • Add VPCSC system test. (#7791)

  • protobuf file housekeeping (no user-visible changes) (via synth). (#7588)

  • Add clarifying comment to blacken nox target. (#7398)

  • Trivial gapic-generator change. (#7231)

  • Add protos as an artifact to library (#7205)

0.31.1

12-17-2018 16:51 PST

Implementation Changes

  • Import iam.policy from google.api_core.iam.policy. (#6741)

Documentation

  • Document Python 2 deprecation (#6910)

  • Normalize docs for page_size / max_results / page_token. (#6842)

Internal / Testing Changes

  • Add baseline for synth.metadata

  • Update noxfile.

  • Blacken all gen’d libs (#6792)

0.31.0

11-29-2018 13:03 PST

Implementation Changes

  • Pick up enum fixes in the GAPIC generator. (#6614)

  • Pick up fixes to the GAPIC generator. (#6501)

  • Fix client_info bug, update docstrings and timeouts. (#6416)

Dependencies

  • Bump minimum ‘api_core’ version for all GAPIC libs to 1.4.1. (#6391)

Documentation

  • Docstring changes, ‘account’ -> ‘workspace’, via synth. (#6461)

  • Add ‘dropped_labels’, ‘span_context’, plus docstring changes. (#6358)

  • Fix GAX fossils (#6264)

  • Harmonize / DRY ‘monitoring/README.rst’ / ‘monitoring/docs/index.rst’. (#6156)

Internal / Testing Changes

  • Run Black on Generated libraries (#6666)

  • Add templates for flake8, coveragerc, noxfile, and black. (#6642)

  • Assorted synth fixups / cleanups (#6400)

  • Use new Nox (#6175)

  • Fix long lines from autosynth (#5961

  • Test pandas under all supported Python versions (#5858)

0.30.1

Implementation Changes

  • Monitoring: Add Transports Layer to clients (#5594)

  • Remove gRPC size restrictions (4MB default) (#5594)

Documentation

  • Monitoring. Update documentation links. (#5557)

0.30.0

Implementation Changes

  • Avoid overwriting ‘module’ of messages from shared modules. (#5364)

New Features

  • Add aliases for new V3 service clients. (#5424)

Documentation

  • Remove link to usage on index of monitoring (#5272)

Internal / Testing Changes

  • Modify system tests to use prerelease versions of grpcio (#5304)

  • Add Test runs for Python 3.7 and remove 3.4 (#5295)

0.29.0

Implementation Changes

  • Update monitoring library to use new generated client (#5212)

  • Move aligner and reducer links from timeSeries.list to alertPolicies (#5011)

Internal / Testing Changes

  • Fix bad trove classifier

0.28.1

Implementation changes

  • Convert label values to str in client.metric() (#4910)

Dependencies

  • Update dependency range for api-core to include v1.0.0 releases (#4944)

Documentation

  • Fixing “Fore” -> “For” typo in README docs. (#4317)

Testing and internal changes

  • Install local dependencies when running lint (#4936)

  • Re-enable lint for tests, remove usage of pylint (#4921)

  • Normalize all setup.py files (#4909)

  • Making a nox -s default session for all packages. (#4324)

  • Shorten test names (#4321)

0.28.0

Documentation

  • Added link to “Python Development Environment Setup Guide” in project README (#4187, h/t to @michaelawyu)

Dependencies

  • Upgrading to google-cloud-core >= 0.28.0 and adding dependency on google-api-core (#4221, #4280)

PyPI: https://pypi.org/project/google-cloud-monitoring/0.28.0/