@@ -20,8 +20,6 @@ pub struct EstimateMetricsOutputSeriesOptionalParams {
20
20
pub filter_groups : Option < String > ,
21
21
/// The number of hours of look back (from now) to estimate cardinality with. If unspecified, it defaults to 0 hours.
22
22
pub filter_hours_ago : Option < i32 > ,
23
- /// The number of aggregations that a `count`, `rate`, or `gauge` metric is configured to use. Max number of aggregation combos is 9.
24
- pub filter_num_aggregations : Option < i32 > ,
25
23
/// A boolean, for distribution metrics only, to estimate cardinality if the metric includes additional percentile aggregators.
26
24
pub filter_pct : Option < bool > ,
27
25
/// A window, in hours, from the look back to estimate cardinality with. The minimum and default is 1 hour.
@@ -39,11 +37,6 @@ impl EstimateMetricsOutputSeriesOptionalParams {
39
37
self . filter_hours_ago = Some ( value) ;
40
38
self
41
39
}
42
- /// The number of aggregations that a `count`, `rate`, or `gauge` metric is configured to use. Max number of aggregation combos is 9.
43
- pub fn filter_num_aggregations ( mut self , value : i32 ) -> Self {
44
- self . filter_num_aggregations = Some ( value) ;
45
- self
46
- }
47
40
/// A boolean, for distribution metrics only, to estimate cardinality if the metric includes additional percentile aggregators.
48
41
pub fn filter_pct ( mut self , value : bool ) -> Self {
49
42
self . filter_pct = Some ( value) ;
@@ -557,10 +550,9 @@ impl MetricsAPI {
557
550
}
558
551
559
552
/// Create and define a list of queryable tag keys for an existing count/gauge/rate/distribution metric.
560
- /// Optionally, include percentile aggregations on any distribution metric or configure custom aggregations
561
- /// on any count, rate, or gauge metric. By setting `exclude_tags_mode` to true the behavior is changed
562
- /// from an allow-list to a deny-list, and tags in the defined list will not be queryable.
563
- /// Can only be used with application keys of users with the `Manage Tags for Metrics` permission.
553
+ /// Optionally, include percentile aggregations on any distribution metric. By setting `exclude_tags_mode`
554
+ /// to true the behavior is changed from an allow-list to a deny-list, and tags in the defined list will not
555
+ /// be queryable. Can only be used with application keys of users with the `Manage Tags for Metrics` permission.
564
556
pub async fn create_tag_configuration (
565
557
& self ,
566
558
metric_name : String ,
@@ -587,10 +579,9 @@ impl MetricsAPI {
587
579
}
588
580
589
581
/// Create and define a list of queryable tag keys for an existing count/gauge/rate/distribution metric.
590
- /// Optionally, include percentile aggregations on any distribution metric or configure custom aggregations
591
- /// on any count, rate, or gauge metric. By setting `exclude_tags_mode` to true the behavior is changed
592
- /// from an allow-list to a deny-list, and tags in the defined list will not be queryable.
593
- /// Can only be used with application keys of users with the `Manage Tags for Metrics` permission.
582
+ /// Optionally, include percentile aggregations on any distribution metric. By setting `exclude_tags_mode`
583
+ /// to true the behavior is changed from an allow-list to a deny-list, and tags in the defined list will not
584
+ /// be queryable. Can only be used with application keys of users with the `Manage Tags for Metrics` permission.
594
585
pub async fn create_tag_configuration_with_http_info (
595
586
& self ,
596
587
metric_name : String ,
@@ -980,7 +971,7 @@ impl MetricsAPI {
980
971
}
981
972
}
982
973
983
- /// Returns the estimated cardinality for a metric with a given tag, percentile and number of aggregations configuration using Metrics without Limits™.
974
+ /// Returns the estimated cardinality for a metric with a given tag and percentile configuration using Metrics without Limits™.
984
975
pub async fn estimate_metrics_output_series (
985
976
& self ,
986
977
metric_name : String ,
@@ -1006,7 +997,7 @@ impl MetricsAPI {
1006
997
}
1007
998
}
1008
999
1009
- /// Returns the estimated cardinality for a metric with a given tag, percentile and number of aggregations configuration using Metrics without Limits™.
1000
+ /// Returns the estimated cardinality for a metric with a given tag and percentile configuration using Metrics without Limits™.
1010
1001
pub async fn estimate_metrics_output_series_with_http_info (
1011
1002
& self ,
1012
1003
metric_name : String ,
@@ -1021,7 +1012,6 @@ impl MetricsAPI {
1021
1012
// unbox and build optional parameters
1022
1013
let filter_groups = params. filter_groups ;
1023
1014
let filter_hours_ago = params. filter_hours_ago ;
1024
- let filter_num_aggregations = params. filter_num_aggregations ;
1025
1015
let filter_pct = params. filter_pct ;
1026
1016
let filter_timespan_h = params. filter_timespan_h ;
1027
1017
@@ -1043,10 +1033,6 @@ impl MetricsAPI {
1043
1033
local_req_builder =
1044
1034
local_req_builder. query ( & [ ( "filter[hours_ago]" , & local_query_param. to_string ( ) ) ] ) ;
1045
1035
} ;
1046
- if let Some ( ref local_query_param) = filter_num_aggregations {
1047
- local_req_builder = local_req_builder
1048
- . query ( & [ ( "filter[num_aggregations]" , & local_query_param. to_string ( ) ) ] ) ;
1049
- } ;
1050
1036
if let Some ( ref local_query_param) = filter_pct {
1051
1037
local_req_builder =
1052
1038
local_req_builder. query ( & [ ( "filter[pct]" , & local_query_param. to_string ( ) ) ] ) ;
@@ -1122,7 +1108,7 @@ impl MetricsAPI {
1122
1108
}
1123
1109
}
1124
1110
1125
- /// List tags and aggregations that are actively queried on dashboards, notebooks, monitors, the Metrics Explorer, and using the API for a given metric name.
1111
+ /// List tags that are actively queried on dashboards, notebooks, monitors, the Metrics Explorer, and using the API for a given metric name.
1126
1112
pub async fn list_active_metric_configurations (
1127
1113
& self ,
1128
1114
metric_name : String ,
@@ -1148,7 +1134,7 @@ impl MetricsAPI {
1148
1134
}
1149
1135
}
1150
1136
1151
- /// List tags and aggregations that are actively queried on dashboards, notebooks, monitors, the Metrics Explorer, and using the API for a given metric name.
1137
+ /// List tags that are actively queried on dashboards, notebooks, monitors, the Metrics Explorer, and using the API for a given metric name.
1152
1138
pub async fn list_active_metric_configurations_with_http_info (
1153
1139
& self ,
1154
1140
metric_name : String ,
@@ -2400,9 +2386,8 @@ impl MetricsAPI {
2400
2386
}
2401
2387
}
2402
2388
2403
- /// Update the tag configuration of a metric or percentile aggregations of a distribution metric or custom aggregations
2404
- /// of a count, rate, or gauge metric. By setting `exclude_tags_mode` to true the behavior is changed
2405
- /// from an allow-list to a deny-list, and tags in the defined list will not be queryable.
2389
+ /// Update the tag configuration of a metric or percentile aggregations of a distribution metric. By setting `exclude_tags_mode`
2390
+ /// to true the behavior is changed from an allow-list to a deny-list, and tags in the defined list will not be queryable.
2406
2391
/// Can only be used with application keys from users with the `Manage Tags for Metrics` permission. This endpoint requires
2407
2392
/// a tag configuration to be created first.
2408
2393
pub async fn update_tag_configuration (
@@ -2430,9 +2415,8 @@ impl MetricsAPI {
2430
2415
}
2431
2416
}
2432
2417
2433
- /// Update the tag configuration of a metric or percentile aggregations of a distribution metric or custom aggregations
2434
- /// of a count, rate, or gauge metric. By setting `exclude_tags_mode` to true the behavior is changed
2435
- /// from an allow-list to a deny-list, and tags in the defined list will not be queryable.
2418
+ /// Update the tag configuration of a metric or percentile aggregations of a distribution metric. By setting `exclude_tags_mode`
2419
+ /// to true the behavior is changed from an allow-list to a deny-list, and tags in the defined list will not be queryable.
2436
2420
/// Can only be used with application keys from users with the `Manage Tags for Metrics` permission. This endpoint requires
2437
2421
/// a tag configuration to be created first.
2438
2422
pub async fn update_tag_configuration_with_http_info (
0 commit comments