Commit graph

128 commits

Author SHA1 Message Date
Google APIs
3ac97c83a5 docs: update links to absolute path
PiperOrigin-RevId: 369540262
2021-04-20 16:07:37 -07:00
Google APIs
59cea2c540 chore: migrate monitoring/dashboard/v1 to the PHP microgenerator
Committer: @miraleung
PiperOrigin-RevId: 369326004
2021-04-19 16:40:51 -07:00
Google APIs
3b2c21aa0f chore: migrate monitoring/v3 to the PHP microgenerator
Committer: @miraleung
PiperOrigin-RevId: 369286112
2021-04-19 13:09:18 -07:00
Google APIs
2124b6251e feat: Added support for Monitoring Query Language: https://cloud.google.com/monitoring/mql
feat: Added support for units in the MetricService
feat: Added total_size to the response of ListAlertPolicies.
fix: Un-deprecated cluster_istio for service monitoring.
feat: Added IstioCanonicalService for service monitoring.
feat: Added creation and mutation records to notification channels.
feat: Added support for querying metrics for folders and organizations.
fix: Extended the default deadline for UpdateGroup to 180s.
feat: Added support for secondary aggregation when querying metrics.

PiperOrigin-RevId: 364422694
2021-03-22 15:30:41 -07:00
Google APIs
4f5e3aeabb build: update links from relative to absolute to pass docs tests
PiperOrigin-RevId: 363712862
2021-03-18 12:07:14 -07:00
Google APIs
0dafa3963e feat:added mosaic layout
docs:clarified alignment_period max value and updated IAM docs link

PiperOrigin-RevId: 362979558
2021-03-15 10:55:52 -07:00
Google APIs
d9b32e92fa chore: clean up unused gapic.legacy.yaml files
Committer: @miraleung
PiperOrigin-RevId: 359580699
2021-02-25 12:14:41 -08:00
Google APIs
959b0bcea3 feat: Update the ruby_cloud_gapic_library rules for the libraries published to google-cloud-ruby to the form that works with build_gen (separate parameters for ruby_cloud_title and ruby_cloud_description).
chore: Update Bazel-Ruby rules version.
chore: Update build_gen version.

PiperOrigin-RevId: 358357761
2021-02-19 01:21:43 -08:00
Google APIs
61ab0348bd feat: Migrate the Bazel rules for the libraries published to google-cloud-ruby to use the gapic-generator-ruby instead of the monolith generator.
PiperOrigin-RevId: 352069361
2021-01-15 13:09:14 -08:00
Google APIs
6dae98144d chore: Remove unused 'package' attr from java_gapic_library rules
Committer: @miraleung
PiperOrigin-RevId: 347459563
2020-12-14 13:41:43 -08:00
Google APIs
160f80d81d chore: Make microgenerators default for all languages
In particular this applies to Java and Python microgenerators.
With this change `java_gapic_*` and `py_gapic_*` rules mean microgenerator versions. The monolith versions of the rules are named as `java_gapic_*_legacy` and `py_gapic_*_legacy` respectively.

Also change Ads BAZEL template to reflect the change in default rule names.

Also change `DO NOT OVERRIDE` comment warnings meaning (to reflect that now by default microgenerator rules are generated and the generated version must be accepted only if the API is being migrated to the microgenerator).

PiperOrigin-RevId: 346227314
2020-12-07 18:51:08 -08:00
Google APIs
59ef1bc1da chore: migrate java-monitoring to the Java microgenerator
Committer: @miraleung
PiperOrigin-RevId: 346127853
2020-12-07 11:37:06 -08:00
Google APIs
d189e87120 chore: generate GAPIC metadata JSON file
PiperOrigin-RevId: 345596855
2020-12-03 21:01:09 -08:00
Google APIs
d04af09f76 chore: migrate java-monitoring to the Java microgenerator
Committer: @miraleung
PiperOrigin-RevId: 344845099
2020-11-30 11:34:23 -08:00
Google APIs
4f2a18a10e migrate monitoring_v3 python part to use microgen
PiperOrigin-RevId: 335029068
2020-10-02 08:17:04 -07:00
Google APIs
b821f32047 feat: use https://github.com/googleapis/gapic-generator-csharp for generating C# libraries.
PiperOrigin-RevId: 331104099
2020-09-11 01:16:20 -07:00
Google APIs
abb30a02aa chore: use gapic-generator-python 0.28.1
Also re-adds the grpc_service_config to all the Python libraries that have been moved to the microgenerator.

PiperOrigin-RevId: 321807443
2020-07-17 10:40:12 -07:00
Google APIs
82f29df2e4 feat: move monitoring/dashboard API to python microgenerator
PiperOrigin-RevId: 321390096
2020-07-15 10:38:16 -07:00
Google APIs
0e56befedb build: removing Artman configuration files
PiperOrigin-RevId: 321273506
2020-07-14 18:01:47 -07:00
Google APIs
ca88164f0a fix: migrate monitoring/dashboard/v1 to grpc_service_config
PiperOrigin-RevId: 320447395
2020-07-09 12:16:33 -07:00
Google APIs
7c577e89f1 fix: migrate monitoring/v3 to grpc_service_config
PiperOrigin-RevId: 318542700
2020-06-26 14:20:39 -07:00
Google APIs
d13e2da372 build: move gapic-generator-typescript parameters to BUILD.bazel files.
PiperOrigin-RevId: 318386808
2020-06-25 18:07:32 -07:00
Google APIs
3c5166c1db Add support for secondary_aggregation and Monitoring Query Language.
PiperOrigin-RevId: 315496921
2020-06-09 09:18:42 -07:00
Google APIs
51362f378a docs: change relative URLs to absolute URLs to fix broken links.
PiperOrigin-RevId: 314788297
2020-06-04 13:18:13 -07:00
Google APIs
ded05197da fix: use grpc_service_config in nodejs_gapic_library
The nodejs_gapic_library targets were migrated to gapic-generator-typescript
which doesn't use gapic_yaml, rendering that attribute unused. Instead it uses
the proto annotations & grpc_service_config, which this change reflects.

PiperOrigin-RevId: 314206960
2020-06-01 14:44:30 -07:00
Google APIs
e94ad37652 fix: point artman at gapic v1 for monitoring/v3 API
Committer: @miraleung
PiperOrigin-RevId: 312104480
2020-05-18 10:21:34 -07:00
Google APIs
123873dc7e chore!: enable gapicv2 for monitoring/v3 API
This introduces the following breakages upon code regeneration, which are due to the `TimeSeriesQueryLanguageCondition` type being removed from `alert.proto` in a preceding change.

```
[ERROR] 6011: com.google.monitoring.v3.AlertPolicy$Condition: Field CONDITION_TIME_SERIES_QUERY_LANGUAGE_FIELD_NUMBER has been removed, but it was previously a constant
[ERROR] 7002: com.google.monitoring.v3.AlertPolicy$Condition: Method 'public com.google.monitoring.v3.AlertPolicy$Condition$TimeSeriesQueryLanguageCondition getConditionTimeSeriesQueryLanguage()' has been removed
[ERROR] 7002: com.google.monitoring.v3.AlertPolicy$Condition: Method 'public com.google.monitoring.v3.AlertPolicy$Condition$TimeSeriesQueryLanguageConditionOrBuilder getConditionTimeSeriesQueryLanguageOrBuilder()' has been removed
[ERROR] 7002: com.google.monitoring.v3.AlertPolicy$Condition: Method 'public boolean hasConditionTimeSeriesQueryLanguage()' has been removed
[ERROR] 7002: com.google.monitoring.v3.AlertPolicy$Condition$Builder: Method 'public com.google.monitoring.v3.AlertPolicy$Condition$Builder clearConditionTimeSeriesQueryLanguage()' has been removed
[ERROR] 7002: com.google.monitoring.v3.AlertPolicy$Condition$Builder: Method 'public com.google.monitoring.v3.AlertPolicy$Condition$TimeSeriesQueryLanguageCondition getConditionTimeSeriesQueryLanguage()' has been removed
[ERROR] 7002: com.google.monitoring.v3.AlertPolicy$Condition$Builder: Method 'public com.google.monitoring.v3.AlertPolicy$Condition$TimeSeriesQueryLanguageCondition$Builder getConditionTimeSeriesQueryLanguageBuilder()' has been removed
[ERROR] 7002: com.google.monitoring.v3.AlertPolicy$Condition$Builder: Method 'public com.google.monitoring.v3.AlertPolicy$Condition$TimeSeriesQueryLanguageConditionOrBuilder getConditionTimeSeriesQueryLanguageOrBuilder()' has been removed
[ERROR] 7002: com.google.monitoring.v3.AlertPolicy$Condition$Builder: Method 'public boolean hasConditionTimeSeriesQueryLanguage()' has been removed
[ERROR] 7002: com.google.monitoring.v3.AlertPolicy$Condition$Builder: Method 'public com.google.monitoring.v3.AlertPolicy$Condition$Builder mergeConditionTimeSeriesQueryLanguage(com.google.monitoring.v3.AlertPolicy$Condition$TimeSeriesQueryLanguageCondition)' has been removed
[ERROR] 7002: com.google.monitoring.v3.AlertPolicy$Condition$Builder: Method 'public com.google.monitoring.v3.AlertPolicy$Condition$Builder setConditionTimeSeriesQueryLanguage(com.google.monitoring.v3.AlertPolicy$Condition$TimeSeriesQueryLanguageCondition)' has been removed
[ERROR] 7002: com.google.monitoring.v3.AlertPolicy$Condition$Builder: Method 'public com.google.monitoring.v3.AlertPolicy$Condition$Builder setConditionTimeSeriesQueryLanguage(com.google.monitoring.v3.AlertPolicy$Condition$TimeSeriesQueryLanguageCondition$Builder)' has been removed
[ERROR] 6001: com.google.monitoring.v3.AlertPolicy$Condition$ConditionCase: Removed field CONDITION_TIME_SERIES_QUERY_LANGUAGE
[ERROR] 8001: com.google.monitoring.v3.AlertPolicy$Condition$TimeSeriesQueryLanguageCondition: Class com.google.monitoring.v3.AlertPolicy$Condition$TimeSeriesQueryLanguageCondition removed
[ERROR] 8001: com.google.monitoring.v3.AlertPolicy$Condition$TimeSeriesQueryLanguageCondition$Builder: Class com.google.monitoring.v3.AlertPolicy$Condition$TimeSeriesQueryLanguageCondition$Builder removed
[ERROR] 8001: com.google.monitoring.v3.AlertPolicy$Condition$TimeSeriesQueryLanguageConditionOrBuilder: Class com.google.monitoring.v3.AlertPolicy$Condition$TimeSeriesQueryLanguageConditionOrBuilder removed
[ERROR] 7002: com.google.monitoring.v3.AlertPolicy$ConditionOrBuilder: Method 'public com.google.monitoring.v3.AlertPolicy$Condition$TimeSeriesQueryLanguageCondition getConditionTimeSeriesQueryLanguage()' has been removed
[ERROR] 7002: com.google.monitoring.v3.AlertPolicy$ConditionOrBuilder: Method 'public com.google.monitoring.v3.AlertPolicy$Condition$TimeSeriesQueryLanguageConditionOrBuilder getConditionTimeSeriesQueryLanguageOrBuilder()' has been removed
[ERROR] 7002: com.google.monitoring.v3.AlertPolicy$ConditionOrBuilder: Method 'public boolean hasConditionTimeSeriesQueryLanguage()' has been removed
```

Committer: @miraleung
PiperOrigin-RevId: 311581003
2020-05-14 12:23:33 -07:00
Google APIs
a3a0bf0f62 BREAKING_CHANGE: Removing TimeSeriesQueryLanguageCondition as an alert condition type. The condition type is unsupported and unused. It was originally added for the Monitoring Query Language Alpha feature.
refactor!: Drop support for TimeSeriesQueryLanguageCondition as an alert condition type.

PiperOrigin-RevId: 310060413
2020-05-05 18:18:22 -07:00
Google APIs
101d31acd7 Update public client library for Cloud Monitoring to introduce new Uptime check feature.
Uptime HTTP(S) checks can now be GET or POST.

PiperOrigin-RevId: 306855444
2020-04-16 08:56:56 -07:00
Google APIs
160e3187dc Increase the required minimum difference between start time of the next interval
and the end time of the previous one from the one microsecond to one millisecond.
This will enable some resource savings for in-memory storage.

PiperOrigin-RevId: 306560315
2020-04-14 19:11:19 -07:00
Google APIs
b21bc9b46e chore: set Ruby namespace in proto options
PiperOrigin-RevId: 305797556
2020-04-09 17:52:27 -07:00
Google APIs
1346f5c11a Refresh public client library for Cloud Monitoring.
Increase default ListTimeSeries deadline to 90s.

PiperOrigin-RevId: 304467075
2020-04-02 13:37:21 -07:00
Google APIs
4a6cfccb4a docs: Fix link in monitoring summary description.
PiperOrigin-RevId: 304438717
2020-04-02 11:25:29 -07:00
Google APIs
71d6c56a14 Refresh monitoring client libraries.
Rename to Cloud Monitoring API.
Added support for TimeSeriesQueryLanguageCondition condition type in alert policies.

PiperOrigin-RevId: 302735422
2020-03-24 13:31:58 -07:00
Google APIs
25a1781c09 bazel: migrate all go_gapic_library targets to microgenerator implementation
* update rules_go and gazelle bazel dependencies
* update gapic-generator bazel dependency (with build file generator changes)

PiperOrigin-RevId: 302730217
2020-03-24 13:05:53 -07:00
Google APIs
34a5450c59 Increases the default timeout from 20s to 30s for MetricService
PiperOrigin-RevId: 300474272
2020-03-11 21:48:10 -07:00
Google APIs
ee4dddf805 monitoring v3: Add prefix "https://cloud.google.com/" into the link for global access
cl 295167522, get ride of synth.py hacks

PiperOrigin-RevId: 295238095
2020-02-14 15:17:21 -08:00
Google APIs
56b55aa881 Fix: Resource annotations for CreateTimeSeriesRequest and ListTimeSeriesRequest should refer to valid resources. TimeSeries is not a named resource.
PiperOrigin-RevId: 294931650
2020-02-13 09:25:27 -08:00
Google APIs
e7d8a694f4 Depend on the latest gapic-generator and resource names plugin.
This fixes the very old an very annoying bug: https://github.com/googleapis/gapic-generator/pull/3087

PiperOrigin-RevId: 293903652
2020-02-07 15:18:00 -08:00
Google APIs
eaff9fa8ed monitoring: v3 publish annotations and client retry config
PiperOrigin-RevId: 292425288
2020-01-30 14:29:49 -08:00
Google APIs
d9e328eaf7 Fix bazel build (versions 1.x)
Bump gapic-generator and resource names plugins to the latest version.

PiperOrigin-RevId: 286469287
2019-12-19 14:56:42 -08:00
Google APIs
41fc140373 Annotate the required fields for the Monitoring Dashboards API
PiperOrigin-RevId: 285824386
2019-12-16 12:23:35 -08:00
Google APIs
e5c4d3a2b5 Add Artman BUILD.bazel file for the Monitoring Dashboards API
PiperOrigin-RevId: 285445602
2019-12-16 10:53:36 -08:00
Google APIs
2085a0d3c7 Fix path in the artman config for Monitoring Dashboard API.
PiperOrigin-RevId: 285233245
2019-12-12 11:29:37 -08:00
Google APIs
2da72dfe71 Add Artman and GAPIC configs for the Monitoring Dashboards API.
PiperOrigin-RevId: 285211544
2019-12-12 09:55:18 -08:00
Google APIs
ee3f02926d Add Monitoring Dashboards API protocol buffers to Google Cloud Monitoring API.
PiperOrigin-RevId: 284982647
2019-12-11 07:39:38 -08:00
Google APIs
79b7f1c5ba Put back C++ targets.
Previous change overrode custom C++ targets made by external teams. This PR puts those targets back.

PiperOrigin-RevId: 282458292
2019-11-25 16:33:43 -08:00
Google APIs
06a840781d Populate BAZEL.build files for around 100 APIs (all APIs we publish) in all 7 langauges.
PiperOrigin-RevId: 282449910
2019-11-25 15:50:18 -08:00
Google APIs
5364a19284 bazel: Fix build
1) Update to latest gapic-generator (has iam resource names fix for java).
2) Fix non-trivial issues with oslogin (resources defined in sibling package to the one they are used from) and monitoring.
3) Fix trivial missing dependencies in proto_library targets for other apis.

This is to prepare the repository to being populated with BUILD.bazel files for all supported apis (101 API) in all 7 languages.

PiperOrigin-RevId: 281618750
2019-11-20 15:52:59 -08:00
Google APIs
d8dd7fe8d5 Fix build by adding missing deps.
PiperOrigin-RevId: 281088257
2019-11-18 09:42:52 -08:00