Skip to content

Commit 9a6455f

Browse files
feat: Added support for PromQL queries (#3457)
* feat: Added support for PromQL queries PiperOrigin-RevId: 483996299 Source-Link: googleapis/googleapis@1742ec3 Source-Link: googleapis/googleapis-gen@0ef6832 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLW1vbml0b3JpbmctZGFzaGJvYXJkLy5Pd2xCb3QueWFtbCIsImgiOiIwZWY2ODMyNWE1MDc0ZDBhNWM1NGEzNDc1N2IxMjA0ZjkyN2ZhODU1In0= * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: sofisl <[email protected]>
1 parent 65d7b4c commit 9a6455f

5 files changed

Lines changed: 55 additions & 8 deletions

File tree

packages/google-monitoring-dashboard/protos/google/monitoring/dashboard/v1/metrics.proto

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,11 @@ message TimeSeriesQuery {
3838
// Parameters to fetch a ratio between two time series filters.
3939
TimeSeriesFilterRatio time_series_filter_ratio = 2;
4040

41-
// A query used to fetch time series.
41+
// A query used to fetch time series with MQL.
4242
string time_series_query_language = 3;
43+
44+
// A query used to fetch time series with PromQL.
45+
string prometheus_query = 6;
4346
}
4447

4548
// The unit of data contained in fetched time series. If non-empty, this

packages/google-monitoring-dashboard/protos/google/monitoring/dashboard/v1/table_display_options.proto

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,10 @@ option ruby_package = "Google::Cloud::Monitoring::Dashboard::V1";
2828

2929
// Table display options that can be reused.
3030
message TableDisplayOptions {
31-
// Optional. Columns to display in the table. Leave empty to display all available
32-
// columns. Note: This field is for future features and is not currently used.
33-
repeated string shown_columns = 1 [(google.api.field_behavior) = OPTIONAL];
31+
// Optional. This field is unused and has been replaced by
32+
// TimeSeriesTable.column_settings
33+
repeated string shown_columns = 1 [
34+
deprecated = true,
35+
(google.api.field_behavior) = OPTIONAL
36+
];
3437
}

packages/google-monitoring-dashboard/protos/protos.d.ts

Lines changed: 7 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/google-monitoring-dashboard/protos/protos.js

Lines changed: 31 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/google-monitoring-dashboard/protos/protos.json

Lines changed: 7 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)