datadog_api_client 2.12.0 → 2.13.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.apigentools-info +6 -6
- data/.generator/conftest.py +7 -0
- data/.generator/poetry.lock +45 -75
- data/.generator/pyproject.toml +7 -7
- data/.generator/schemas/v1/openapi.yaml +76 -3
- data/.generator/schemas/v2/openapi.yaml +2328 -459
- data/.generator/src/generator/formatter.py +9 -3
- data/.generator/src/generator/openapi.py +4 -2
- data/.github/workflows/test_integration.yml +7 -1
- data/.pre-commit-config.yaml +2 -2
- data/CHANGELOG.md +31 -0
- data/examples/v1/dashboards/CreateDashboard_1284514532.rb +43 -0
- data/examples/v1/dashboards/CreateDashboard_2261785072.rb +47 -0
- data/examples/v1/dashboards/CreateDashboard_3513586382.rb +74 -0
- data/examples/v1/dashboards/CreateDashboard_3562282606.rb +1 -0
- data/examples/v1/organizations/UpdateOrg.rb +1 -1
- data/examples/v1/users/CreateUser.rb +1 -1
- data/examples/v1/users/CreateUser_266604071.rb +13 -0
- data/examples/v1/users/UpdateUser.rb +1 -1
- data/examples/v2/confluent-cloud/CreateConfluentAccount.rb +1 -0
- data/examples/v2/confluent-cloud/CreateConfluentResource.rb +1 -0
- data/examples/v2/confluent-cloud/UpdateConfluentResource.rb +1 -0
- data/examples/v2/downtimes/CancelDowntime.rb +11 -0
- data/examples/v2/downtimes/CreateDowntime.rb +26 -0
- data/examples/v2/downtimes/GetDowntime.rb +11 -0
- data/examples/v2/downtimes/ListDowntimes.rb +8 -0
- data/examples/v2/downtimes/ListMonitorDowntimes.rb +8 -0
- data/examples/v2/downtimes/ListMonitorDowntimes_128979780.rb +8 -0
- data/examples/v2/downtimes/UpdateDowntime.rb +21 -0
- data/examples/v2/logs/ListLogsGet_2034110533.rb +3 -1
- data/examples/v2/security-monitoring/CreateSecurityMonitoringRule_1092490364.rb +10 -0
- data/examples/v2/spans/AggregateSpans.rb +25 -0
- data/examples/v2/spans/ListSpans.rb +25 -0
- data/examples/v2/spans/ListSpansGet.rb +5 -0
- data/examples/v2/spans/ListSpansGet_1130763422.rb +8 -0
- data/examples/v2/spans/ListSpans_3495563906.rb +25 -0
- data/lib/datadog_api_client/configuration.rb +6 -0
- data/lib/datadog_api_client/inflector.rb +87 -0
- data/lib/datadog_api_client/v1/models/change_widget_request.rb +1 -1
- data/lib/datadog_api_client/v1/models/formula_and_function_cloud_cost_data_source.rb +26 -0
- data/lib/datadog_api_client/v1/models/formula_and_function_cloud_cost_query_definition.rb +150 -0
- data/lib/datadog_api_client/v1/models/formula_and_function_query_definition.rb +2 -1
- data/lib/datadog_api_client/v1/models/formula_and_function_response_format.rb +2 -1
- data/lib/datadog_api_client/v1/models/formula_and_function_slo_query_definition.rb +11 -1
- data/lib/datadog_api_client/v1/models/geomap_widget_request.rb +24 -2
- data/lib/datadog_api_client/v1/models/ip_prefixes_remote_configuration.rb +94 -0
- data/lib/datadog_api_client/v1/models/ip_ranges.rb +11 -1
- data/lib/datadog_api_client/v1/models/organization_settings.rb +8 -0
- data/lib/datadog_api_client/v1/models/query_value_widget_request.rb +1 -1
- data/lib/datadog_api_client/v1/models/scatterplot_table_request.rb +1 -1
- data/lib/datadog_api_client/v1/models/sunburst_widget_request.rb +1 -1
- data/lib/datadog_api_client/v1/models/table_widget_request.rb +1 -1
- data/lib/datadog_api_client/v1/models/timeseries_widget_request.rb +1 -1
- data/lib/datadog_api_client/v1/models/toplist_widget_request.rb +1 -1
- data/lib/datadog_api_client/v1/models/tree_map_widget_request.rb +1 -1
- data/lib/datadog_api_client/v1/models/user.rb +8 -0
- data/lib/datadog_api_client/v1/models/widget_display_type.rb +1 -0
- data/lib/datadog_api_client/v2/api/ci_visibility_pipelines_api.rb +2 -0
- data/lib/datadog_api_client/v2/api/downtimes_api.rb +462 -0
- data/lib/datadog_api_client/v2/api/logs_api.rb +2 -2
- data/lib/datadog_api_client/v2/api/metrics_api.rb +1 -1
- data/lib/datadog_api_client/v2/api/rum_api.rb +2 -2
- data/lib/datadog_api_client/v2/api/spans_api.rb +294 -0
- data/lib/datadog_api_client/v2/models/ci_app_pipeline_event_pipeline.rb +1 -1
- data/lib/datadog_api_client/v2/models/cloud_configuration_rule_create_payload.rb +13 -1
- data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_attributes.rb +41 -1
- data/lib/datadog_api_client/v2/models/confluent_account_resource_attributes.rb +11 -1
- data/lib/datadog_api_client/v2/models/confluent_resource_request_attributes.rb +11 -1
- data/lib/datadog_api_client/v2/models/confluent_resource_response_attributes.rb +21 -1
- data/lib/datadog_api_client/v2/models/dashboard_list_item.rb +12 -1
- data/lib/datadog_api_client/v2/models/downtime_create_request.rb +98 -0
- data/lib/datadog_api_client/v2/models/downtime_create_request_attributes.rb +194 -0
- data/lib/datadog_api_client/v2/models/downtime_create_request_data.rb +119 -0
- data/lib/datadog_api_client/v2/models/downtime_included_monitor_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/downtime_meta.rb +80 -0
- data/lib/datadog_api_client/v2/models/downtime_meta_page.rb +80 -0
- data/lib/datadog_api_client/v2/models/downtime_monitor_identifier.rb +63 -0
- data/lib/datadog_api_client/v2/models/downtime_monitor_identifier_id.rb +98 -0
- data/lib/datadog_api_client/v2/models/downtime_monitor_identifier_tags.rb +107 -0
- data/lib/datadog_api_client/v2/models/downtime_monitor_included_attributes.rb +80 -0
- data/lib/datadog_api_client/v2/models/downtime_monitor_included_item.rb +100 -0
- data/lib/datadog_api_client/v2/models/downtime_notify_end_state_actions.rb +27 -0
- data/lib/datadog_api_client/v2/models/downtime_notify_end_state_types.rb +28 -0
- data/lib/datadog_api_client/v2/models/downtime_relationships.rb +90 -0
- data/lib/datadog_api_client/v2/models/downtime_relationships_created_by.rb +88 -0
- data/lib/datadog_api_client/v2/models/downtime_relationships_created_by_data.rb +90 -0
- data/lib/datadog_api_client/v2/models/downtime_relationships_monitor.rb +88 -0
- data/lib/datadog_api_client/v2/models/downtime_relationships_monitor_data.rb +90 -0
- data/lib/datadog_api_client/v2/models/downtime_resource_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/downtime_response.rb +95 -0
- data/lib/datadog_api_client/v2/models/downtime_response_attributes.rb +208 -0
- data/lib/datadog_api_client/v2/models/downtime_response_data.rb +110 -0
- data/lib/datadog_api_client/v2/models/downtime_response_included_item.rb +63 -0
- data/lib/datadog_api_client/v2/models/downtime_schedule_create_request.rb +63 -0
- data/lib/datadog_api_client/v2/models/downtime_schedule_current_downtime_response.rb +100 -0
- data/lib/datadog_api_client/v2/models/downtime_schedule_one_time_create_update_request.rb +101 -0
- data/lib/datadog_api_client/v2/models/downtime_schedule_one_time_response.rb +98 -0
- data/lib/datadog_api_client/v2/models/downtime_schedule_recurrence_create_update_request.rb +143 -0
- data/lib/datadog_api_client/v2/models/downtime_schedule_recurrence_response.rb +106 -0
- data/lib/datadog_api_client/v2/models/downtime_schedule_recurrences_create_request.rb +110 -0
- data/lib/datadog_api_client/v2/models/downtime_schedule_recurrences_response.rb +131 -0
- data/lib/datadog_api_client/v2/models/downtime_schedule_recurrences_update_request.rb +92 -0
- data/lib/datadog_api_client/v2/models/downtime_schedule_response.rb +65 -0
- data/lib/datadog_api_client/v2/models/downtime_schedule_update_request.rb +63 -0
- data/lib/datadog_api_client/v2/models/downtime_status.rb +29 -0
- data/lib/datadog_api_client/v2/models/downtime_update_request.rb +98 -0
- data/lib/datadog_api_client/v2/models/downtime_update_request_attributes.rb +165 -0
- data/lib/datadog_api_client/v2/models/downtime_update_request_data.rb +140 -0
- data/lib/datadog_api_client/v2/models/event_response_attributes.rb +11 -1
- data/lib/datadog_api_client/v2/models/events_group_by_sort.rb +1 -1
- data/lib/datadog_api_client/v2/models/events_response_metadata.rb +11 -1
- data/lib/datadog_api_client/v2/models/list_downtimes_response.rb +104 -0
- data/lib/datadog_api_client/v2/models/metrics_aggregator.rb +1 -1
- data/lib/datadog_api_client/v2/models/metrics_scalar_query.rb +1 -1
- data/lib/datadog_api_client/v2/models/monitor_downtime_match_resource_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/monitor_downtime_match_response.rb +92 -0
- data/lib/datadog_api_client/v2/models/monitor_downtime_match_response_attributes.rb +120 -0
- data/lib/datadog_api_client/v2/models/monitor_downtime_match_response_data.rb +108 -0
- data/lib/datadog_api_client/v2/models/restriction_policy_binding.rb +2 -1
- data/lib/datadog_api_client/v2/models/rum_application_list.rb +11 -1
- data/lib/datadog_api_client/v2/models/service_definition_data.rb +11 -1
- data/lib/datadog_api_client/v2/models/service_definition_meta.rb +36 -4
- data/lib/datadog_api_client/v2/models/service_definition_meta_warnings.rb +100 -0
- data/lib/datadog_api_client/v2/models/span.rb +100 -0
- data/lib/datadog_api_client/v2/models/spans_aggregate_bucket.rb +100 -0
- data/lib/datadog_api_client/v2/models/spans_aggregate_bucket_attributes.rb +100 -0
- data/lib/datadog_api_client/v2/models/spans_aggregate_bucket_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/spans_aggregate_bucket_value.rb +64 -0
- data/lib/datadog_api_client/v2/models/spans_aggregate_bucket_value_timeseries_point.rb +90 -0
- data/lib/datadog_api_client/v2/models/spans_aggregate_data.rb +90 -0
- data/lib/datadog_api_client/v2/models/spans_aggregate_request.rb +80 -0
- data/lib/datadog_api_client/v2/models/spans_aggregate_request_attributes.rb +115 -0
- data/lib/datadog_api_client/v2/models/spans_aggregate_request_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/spans_aggregate_response.rb +92 -0
- data/lib/datadog_api_client/v2/models/spans_aggregate_response_metadata.rb +113 -0
- data/lib/datadog_api_client/v2/models/spans_aggregate_response_status.rb +27 -0
- data/lib/datadog_api_client/v2/models/spans_aggregate_sort.rb +110 -0
- data/lib/datadog_api_client/v2/models/spans_aggregate_sort_type.rb +27 -0
- data/lib/datadog_api_client/v2/models/spans_aggregation_function.rb +37 -0
- data/lib/datadog_api_client/v2/models/spans_attributes.rb +244 -0
- data/lib/datadog_api_client/v2/models/spans_compute.rb +129 -0
- data/lib/datadog_api_client/v2/models/spans_compute_type.rb +27 -0
- data/lib/datadog_api_client/v2/models/spans_group_by.rb +149 -0
- data/lib/datadog_api_client/v2/models/spans_group_by_histogram.rb +143 -0
- data/lib/datadog_api_client/v2/models/spans_group_by_missing.rb +63 -0
- data/lib/datadog_api_client/v2/models/spans_group_by_total.rb +64 -0
- data/lib/datadog_api_client/v2/models/spans_list_request.rb +80 -0
- data/lib/datadog_api_client/v2/models/spans_list_request_attributes.rb +111 -0
- data/lib/datadog_api_client/v2/models/spans_list_request_data.rb +90 -0
- data/lib/datadog_api_client/v2/models/spans_list_request_page.rb +108 -0
- data/lib/datadog_api_client/v2/models/spans_list_request_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/spans_list_response.rb +102 -0
- data/lib/datadog_api_client/v2/models/spans_list_response_links.rb +81 -0
- data/lib/datadog_api_client/v2/models/spans_list_response_metadata.rb +123 -0
- data/lib/datadog_api_client/v2/models/spans_query_filter.rb +100 -0
- data/lib/datadog_api_client/v2/models/spans_query_options.rb +91 -0
- data/lib/datadog_api_client/v2/models/spans_response_metadata_page.rb +81 -0
- data/lib/datadog_api_client/v2/models/spans_sort.rb +27 -0
- data/lib/datadog_api_client/v2/models/spans_sort_order.rb +27 -0
- data/lib/datadog_api_client/v2/models/spans_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/spans_warning.rb +100 -0
- data/lib/datadog_api_client/v2/models/user_invitation_response_data.rb +11 -1
- data/lib/datadog_api_client/version.rb +1 -1
- metadata +105 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3903df0fbe573fa796a69fc8ed5339e96a6d403d67f907a4f8b055777770bb5d
|
4
|
+
data.tar.gz: 97a71386d699bb732187d106a81735eca5e556182b7eadacea90668ea378fc3a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6cc59041613438309e9925e4f4e51574b0c8925651d1f3cf5b0ad78fbfbb8cb5619fd71e573e44bdc338d7e3bd958737feb0eb72025fcd6ca8f7d37791adf95d
|
7
|
+
data.tar.gz: 10ace81ee949aec9d44635e3989558b61998915a243e9a1cac5eeb8619cf49191fb90334edc87503f6ee018003e58d7b314869b070e7502aaf191b82a53dc562
|
data/.apigentools-info
CHANGED
@@ -3,14 +3,14 @@
|
|
3
3
|
"info_version": "2",
|
4
4
|
"spec_versions": {
|
5
5
|
"v1": {
|
6
|
-
"apigentools_version": "1.6.
|
7
|
-
"regenerated": "2023-
|
8
|
-
"spec_repo_commit": "
|
6
|
+
"apigentools_version": "1.6.5",
|
7
|
+
"regenerated": "2023-07-20 14:24:51.340692",
|
8
|
+
"spec_repo_commit": "878f93fe"
|
9
9
|
},
|
10
10
|
"v2": {
|
11
|
-
"apigentools_version": "1.6.
|
12
|
-
"regenerated": "2023-
|
13
|
-
"spec_repo_commit": "
|
11
|
+
"apigentools_version": "1.6.5",
|
12
|
+
"regenerated": "2023-07-20 14:24:51.353559",
|
13
|
+
"spec_repo_commit": "878f93fe"
|
14
14
|
}
|
15
15
|
}
|
16
16
|
}
|
data/.generator/conftest.py
CHANGED
@@ -460,10 +460,17 @@ def expect_response_items(context, fixture_length):
|
|
460
460
|
def expect_false(context, response_path):
|
461
461
|
"""Check that a response attribute is false."""
|
462
462
|
|
463
|
+
|
464
|
+
@then(parsers.parse('the response "{response_path}" has field "{field}"'))
|
465
|
+
def expect_response_has_field(context, response_path, field):
|
466
|
+
"""Check that a response has field."""
|
467
|
+
|
468
|
+
|
463
469
|
@then(parsers.parse('the response "{response_path}" has item with field "{key_path}" with value {value}'))
|
464
470
|
def expect_array_contains_object(context, response_path, key_path, value):
|
465
471
|
"""Check that a response attribute contains an object with the specified key and value."""
|
466
472
|
|
473
|
+
|
467
474
|
@then(parsers.parse('the response "{response_path}" array contains value {value}'))
|
468
475
|
def expect_array_contains_value(context, response_path, value):
|
469
476
|
"""Check that a response array contains the specified value."""
|
data/.generator/poetry.lock
CHANGED
@@ -1,15 +1,14 @@
|
|
1
|
-
# This file is automatically @generated by Poetry 1.
|
1
|
+
# This file is automatically @generated by Poetry 1.5.1 and should not be changed by hand.
|
2
2
|
|
3
3
|
[[package]]
|
4
4
|
name = "click"
|
5
|
-
version = "8.
|
5
|
+
version = "8.1.4"
|
6
6
|
description = "Composable command line interface toolkit"
|
7
|
-
category = "main"
|
8
7
|
optional = false
|
9
|
-
python-versions = ">=3.
|
8
|
+
python-versions = ">=3.7"
|
10
9
|
files = [
|
11
|
-
{file = "click-8.
|
12
|
-
{file = "click-8.
|
10
|
+
{file = "click-8.1.4-py3-none-any.whl", hash = "sha256:2739815aaa5d2c986a88f1e9230c55e17f0caad3d958a5e13ad0797c166db9e3"},
|
11
|
+
{file = "click-8.1.4.tar.gz", hash = "sha256:b97d0c74955da062a7d4ef92fadb583806a585b2ea81958a81bd72726cbb8e37"},
|
13
12
|
]
|
14
13
|
|
15
14
|
[package.dependencies]
|
@@ -19,7 +18,6 @@ colorama = {version = "*", markers = "platform_system == \"Windows\""}
|
|
19
18
|
name = "colorama"
|
20
19
|
version = "0.4.6"
|
21
20
|
description = "Cross-platform colored terminal text."
|
22
|
-
category = "main"
|
23
21
|
optional = false
|
24
22
|
python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*,>=2.7"
|
25
23
|
files = [
|
@@ -29,35 +27,22 @@ files = [
|
|
29
27
|
|
30
28
|
[[package]]
|
31
29
|
name = "exceptiongroup"
|
32
|
-
version = "1.1.
|
30
|
+
version = "1.1.2"
|
33
31
|
description = "Backport of PEP 654 (exception groups)"
|
34
|
-
category = "main"
|
35
32
|
optional = false
|
36
33
|
python-versions = ">=3.7"
|
37
34
|
files = [
|
38
|
-
{file = "exceptiongroup-1.1.
|
39
|
-
{file = "exceptiongroup-1.1.
|
35
|
+
{file = "exceptiongroup-1.1.2-py3-none-any.whl", hash = "sha256:e346e69d186172ca7cf029c8c1d16235aa0e04035e5750b4b95039e65204328f"},
|
36
|
+
{file = "exceptiongroup-1.1.2.tar.gz", hash = "sha256:12c3e887d6485d16943a309616de20ae5582633e0a2eda17f4e10fd61c1e8af5"},
|
40
37
|
]
|
41
38
|
|
42
39
|
[package.extras]
|
43
40
|
test = ["pytest (>=6)"]
|
44
41
|
|
45
|
-
[[package]]
|
46
|
-
name = "glob2"
|
47
|
-
version = "0.7"
|
48
|
-
description = "Version of the glob module that can capture patterns and supports recursive wildcards"
|
49
|
-
category = "main"
|
50
|
-
optional = false
|
51
|
-
python-versions = "*"
|
52
|
-
files = [
|
53
|
-
{file = "glob2-0.7.tar.gz", hash = "sha256:85c3dbd07c8aa26d63d7aacee34fa86e9a91a3873bc30bf62ec46e531f92ab8c"},
|
54
|
-
]
|
55
|
-
|
56
42
|
[[package]]
|
57
43
|
name = "iniconfig"
|
58
44
|
version = "2.0.0"
|
59
45
|
description = "brain-dead simple config-ini parsing"
|
60
|
-
category = "main"
|
61
46
|
optional = false
|
62
47
|
python-versions = ">=3.7"
|
63
48
|
files = [
|
@@ -67,14 +52,13 @@ files = [
|
|
67
52
|
|
68
53
|
[[package]]
|
69
54
|
name = "jinja2"
|
70
|
-
version = "3.
|
55
|
+
version = "3.1.2"
|
71
56
|
description = "A very fast and expressive template engine."
|
72
|
-
category = "main"
|
73
57
|
optional = false
|
74
|
-
python-versions = ">=3.
|
58
|
+
python-versions = ">=3.7"
|
75
59
|
files = [
|
76
|
-
{file = "Jinja2-3.
|
77
|
-
{file = "Jinja2-3.
|
60
|
+
{file = "Jinja2-3.1.2-py3-none-any.whl", hash = "sha256:6088930bfe239f0e6710546ab9c19c9ef35e29792895fed6e6e31a023a182a61"},
|
61
|
+
{file = "Jinja2-3.1.2.tar.gz", hash = "sha256:31351a702a408a9e7595a8fc6150fc3f43bb6bf7e319770cbc0db9df9437e852"},
|
78
62
|
]
|
79
63
|
|
80
64
|
[package.dependencies]
|
@@ -85,21 +69,19 @@ i18n = ["Babel (>=2.7)"]
|
|
85
69
|
|
86
70
|
[[package]]
|
87
71
|
name = "jsonref"
|
88
|
-
version = "0
|
89
|
-
description = "
|
90
|
-
category = "main"
|
72
|
+
version = "1.1.0"
|
73
|
+
description = "jsonref is a library for automatic dereferencing of JSON Reference objects for Python."
|
91
74
|
optional = false
|
92
|
-
python-versions = "
|
75
|
+
python-versions = ">=3.7"
|
93
76
|
files = [
|
94
|
-
{file = "jsonref-0
|
95
|
-
{file = "jsonref-0.
|
77
|
+
{file = "jsonref-1.1.0-py3-none-any.whl", hash = "sha256:590dc7773df6c21cbf948b5dac07a72a251db28b0238ceecce0a2abfa8ec30a9"},
|
78
|
+
{file = "jsonref-1.1.0.tar.gz", hash = "sha256:32fe8e1d85af0fdefbebce950af85590b22b60f9e95443176adbde4e1ecea552"},
|
96
79
|
]
|
97
80
|
|
98
81
|
[[package]]
|
99
82
|
name = "mako"
|
100
83
|
version = "1.2.4"
|
101
84
|
description = "A super-fast templating language that borrows the best ideas from the existing templating languages."
|
102
|
-
category = "main"
|
103
85
|
optional = false
|
104
86
|
python-versions = ">=3.7"
|
105
87
|
files = [
|
@@ -119,7 +101,6 @@ testing = ["pytest"]
|
|
119
101
|
name = "markupsafe"
|
120
102
|
version = "2.1.3"
|
121
103
|
description = "Safely add untrusted strings to HTML/XML markup."
|
122
|
-
category = "main"
|
123
104
|
optional = false
|
124
105
|
python-versions = ">=3.7"
|
125
106
|
files = [
|
@@ -179,7 +160,6 @@ files = [
|
|
179
160
|
name = "packaging"
|
180
161
|
version = "23.1"
|
181
162
|
description = "Core utilities for Python packages"
|
182
|
-
category = "main"
|
183
163
|
optional = false
|
184
164
|
python-versions = ">=3.7"
|
185
165
|
files = [
|
@@ -191,7 +171,6 @@ files = [
|
|
191
171
|
name = "parse"
|
192
172
|
version = "1.19.1"
|
193
173
|
description = "parse() is the opposite of format()"
|
194
|
-
category = "main"
|
195
174
|
optional = false
|
196
175
|
python-versions = "*"
|
197
176
|
files = [
|
@@ -201,29 +180,28 @@ files = [
|
|
201
180
|
|
202
181
|
[[package]]
|
203
182
|
name = "parse-type"
|
204
|
-
version = "0.6.
|
183
|
+
version = "0.6.2"
|
205
184
|
description = "Simplifies to build parse types based on the parse module"
|
206
|
-
category = "main"
|
207
185
|
optional = false
|
208
186
|
python-versions = ">=2.7, !=3.0.*, !=3.1.*"
|
209
187
|
files = [
|
210
|
-
{file = "parse_type-0.6.
|
211
|
-
{file = "parse_type-0.6.
|
188
|
+
{file = "parse_type-0.6.2-py2.py3-none-any.whl", hash = "sha256:06d39a8b70fde873eb2a131141a0e79bb34a432941fb3d66fad247abafc9766c"},
|
189
|
+
{file = "parse_type-0.6.2.tar.gz", hash = "sha256:79b1f2497060d0928bc46016793f1fca1057c4aacdf15ef876aa48d75a73a355"},
|
212
190
|
]
|
213
191
|
|
214
192
|
[package.dependencies]
|
215
193
|
parse = {version = ">=1.18.0", markers = "python_version >= \"3.0\""}
|
216
|
-
six = ">=1.
|
194
|
+
six = ">=1.15"
|
217
195
|
|
218
196
|
[package.extras]
|
219
|
-
develop = ["coverage (>=4.4)", "pytest (<5.0)", "pytest (>=5.0)", "pytest-cov", "pytest-html (>=1.19.0)", "tox (>=2.8)"]
|
220
|
-
docs = ["
|
197
|
+
develop = ["build (>=0.5.1)", "coverage (>=4.4)", "pylint", "pytest (<5.0)", "pytest (>=5.0)", "pytest-cov", "pytest-html (>=1.19.0)", "ruff", "tox (>=2.8,<4.0)", "twine (>=1.13.0)", "virtualenv (<20.22.0)", "virtualenv (>=20.0.0)"]
|
198
|
+
docs = ["Sphinx (>=1.6)", "sphinx-bootstrap-theme (>=0.6.0)"]
|
199
|
+
testing = ["pytest (<5.0)", "pytest (>=5.0)", "pytest-html (>=1.19.0)"]
|
221
200
|
|
222
201
|
[[package]]
|
223
202
|
name = "pluggy"
|
224
203
|
version = "1.2.0"
|
225
204
|
description = "plugin and hook calling mechanisms for python"
|
226
|
-
category = "main"
|
227
205
|
optional = false
|
228
206
|
python-versions = ">=3.7"
|
229
207
|
files = [
|
@@ -235,28 +213,15 @@ files = [
|
|
235
213
|
dev = ["pre-commit", "tox"]
|
236
214
|
testing = ["pytest", "pytest-benchmark"]
|
237
215
|
|
238
|
-
[[package]]
|
239
|
-
name = "py"
|
240
|
-
version = "1.11.0"
|
241
|
-
description = "library with cross-python path, ini-parsing, io, code, log facilities"
|
242
|
-
category = "main"
|
243
|
-
optional = false
|
244
|
-
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*"
|
245
|
-
files = [
|
246
|
-
{file = "py-1.11.0-py2.py3-none-any.whl", hash = "sha256:607c53218732647dff4acdfcd50cb62615cedf612e72d1724fb1a0cc6405b378"},
|
247
|
-
{file = "py-1.11.0.tar.gz", hash = "sha256:51c75c4126074b472f746a24399ad32f6053d1b34b68d2fa41e558e6f4a98719"},
|
248
|
-
]
|
249
|
-
|
250
216
|
[[package]]
|
251
217
|
name = "pytest"
|
252
|
-
version = "7.
|
218
|
+
version = "7.4.0"
|
253
219
|
description = "pytest: simple powerful testing with Python"
|
254
|
-
category = "main"
|
255
220
|
optional = false
|
256
221
|
python-versions = ">=3.7"
|
257
222
|
files = [
|
258
|
-
{file = "pytest-7.
|
259
|
-
{file = "pytest-7.
|
223
|
+
{file = "pytest-7.4.0-py3-none-any.whl", hash = "sha256:78bf16451a2eb8c7a2ea98e32dc119fd2aa758f1d5d66dbf0a59d69a3969df32"},
|
224
|
+
{file = "pytest-7.4.0.tar.gz", hash = "sha256:b4bf8c45bd59934ed84001ad51e11b4ee40d40a1229d2c79f9c592b0a3f6bd8a"},
|
260
225
|
]
|
261
226
|
|
262
227
|
[package.dependencies]
|
@@ -272,29 +237,26 @@ testing = ["argcomplete", "attrs (>=19.2.0)", "hypothesis (>=3.56)", "mock", "no
|
|
272
237
|
|
273
238
|
[[package]]
|
274
239
|
name = "pytest-bdd"
|
275
|
-
version = "
|
240
|
+
version = "6.1.1"
|
276
241
|
description = "BDD for pytest"
|
277
|
-
category = "main"
|
278
242
|
optional = false
|
279
|
-
python-versions = ">=3.
|
243
|
+
python-versions = ">=3.7,<4.0"
|
280
244
|
files = [
|
281
|
-
{file = "
|
282
|
-
{file = "pytest_bdd-
|
245
|
+
{file = "pytest_bdd-6.1.1-py3-none-any.whl", hash = "sha256:57eba5878d77036f356a85fb1d108cb061d8af4fb4d032b1a424fa9abe9e498b"},
|
246
|
+
{file = "pytest_bdd-6.1.1.tar.gz", hash = "sha256:138af3592bcce5d4684b0d690777cf199b39ce45d423ca28086047ffe6111010"},
|
283
247
|
]
|
284
248
|
|
285
249
|
[package.dependencies]
|
286
|
-
glob2 = "*"
|
287
250
|
Mako = "*"
|
288
251
|
parse = "*"
|
289
252
|
parse-type = "*"
|
290
|
-
|
291
|
-
|
253
|
+
pytest = ">=6.2.0"
|
254
|
+
typing-extensions = "*"
|
292
255
|
|
293
256
|
[[package]]
|
294
257
|
name = "python-dateutil"
|
295
258
|
version = "2.8.2"
|
296
259
|
description = "Extensions to the standard Python datetime module"
|
297
|
-
category = "main"
|
298
260
|
optional = false
|
299
261
|
python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,>=2.7"
|
300
262
|
files = [
|
@@ -309,7 +271,6 @@ six = ">=1.5"
|
|
309
271
|
name = "pyyaml"
|
310
272
|
version = "6.0"
|
311
273
|
description = "YAML parser and emitter for Python"
|
312
|
-
category = "main"
|
313
274
|
optional = false
|
314
275
|
python-versions = ">=3.6"
|
315
276
|
files = [
|
@@ -359,7 +320,6 @@ files = [
|
|
359
320
|
name = "six"
|
360
321
|
version = "1.16.0"
|
361
322
|
description = "Python 2 and 3 compatibility utilities"
|
362
|
-
category = "main"
|
363
323
|
optional = false
|
364
324
|
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*"
|
365
325
|
files = [
|
@@ -371,7 +331,6 @@ files = [
|
|
371
331
|
name = "tomli"
|
372
332
|
version = "2.0.1"
|
373
333
|
description = "A lil' TOML parser"
|
374
|
-
category = "main"
|
375
334
|
optional = false
|
376
335
|
python-versions = ">=3.7"
|
377
336
|
files = [
|
@@ -379,7 +338,18 @@ files = [
|
|
379
338
|
{file = "tomli-2.0.1.tar.gz", hash = "sha256:de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f"},
|
380
339
|
]
|
381
340
|
|
341
|
+
[[package]]
|
342
|
+
name = "typing-extensions"
|
343
|
+
version = "4.7.1"
|
344
|
+
description = "Backported and Experimental Type Hints for Python 3.7+"
|
345
|
+
optional = false
|
346
|
+
python-versions = ">=3.7"
|
347
|
+
files = [
|
348
|
+
{file = "typing_extensions-4.7.1-py3-none-any.whl", hash = "sha256:440d5dd3af93b060174bf433bccd69b0babc3b15b1a8dca43789fd7f61514b36"},
|
349
|
+
{file = "typing_extensions-4.7.1.tar.gz", hash = "sha256:b75ddc264f0ba5615db7ba217daeb99701ad295353c45f9e95963337ceeeffb2"},
|
350
|
+
]
|
351
|
+
|
382
352
|
[metadata]
|
383
353
|
lock-version = "2.0"
|
384
354
|
python-versions = "^3.10"
|
385
|
-
content-hash = "
|
355
|
+
content-hash = "eb365d0df084a7b223c5e2a60b2161e4152e183b57b474b8db722ff9ee0ff788"
|
data/.generator/pyproject.toml
CHANGED
@@ -7,13 +7,13 @@ license = "Apache-2.0"
|
|
7
7
|
|
8
8
|
[tool.poetry.dependencies]
|
9
9
|
python = "^3.10"
|
10
|
-
click = "8.
|
11
|
-
PyYAML = "6.0"
|
12
|
-
jsonref = "0
|
13
|
-
jinja2 = "3.
|
14
|
-
pytest = "^7.
|
15
|
-
pytest-bdd = "^
|
16
|
-
python-dateutil = "2.8.2"
|
10
|
+
click = "^8.1.4"
|
11
|
+
PyYAML = "^6.0"
|
12
|
+
jsonref = "^1.1.0"
|
13
|
+
jinja2 = "^3.1.2"
|
14
|
+
pytest = "^7.4.0"
|
15
|
+
pytest-bdd = "^6.1.1"
|
16
|
+
python-dateutil = "^2.8.2"
|
17
17
|
|
18
18
|
[tool.poetry.dev-dependencies]
|
19
19
|
|
@@ -352,7 +352,6 @@ components:
|
|
352
352
|
type: array
|
353
353
|
type: object
|
354
354
|
AccessRole:
|
355
|
-
default: st
|
356
355
|
description: The access role of the user. Options are **st** (standard user),
|
357
356
|
**adm** (admin user), or **ro** (read-only user).
|
358
357
|
enum:
|
@@ -360,7 +359,8 @@ components:
|
|
360
359
|
- adm
|
361
360
|
- ro
|
362
361
|
- ERROR
|
363
|
-
example:
|
362
|
+
example: ro
|
363
|
+
nullable: true
|
364
364
|
type: string
|
365
365
|
x-enum-varnames:
|
366
366
|
- STANDARD
|
@@ -2466,6 +2466,38 @@ components:
|
|
2466
2466
|
- service
|
2467
2467
|
- stat
|
2468
2468
|
type: object
|
2469
|
+
FormulaAndFunctionCloudCostDataSource:
|
2470
|
+
description: Data source for Cloud Cost queries.
|
2471
|
+
enum:
|
2472
|
+
- cloud_cost
|
2473
|
+
example: cloud_cost
|
2474
|
+
type: string
|
2475
|
+
x-enum-varnames:
|
2476
|
+
- CLOUD_COST
|
2477
|
+
FormulaAndFunctionCloudCostQueryDefinition:
|
2478
|
+
description: A formula and functions Cloud Cost query.
|
2479
|
+
example:
|
2480
|
+
data_source: cloud_cost
|
2481
|
+
name: query1
|
2482
|
+
query: sum:aws.cost.amortized{*}
|
2483
|
+
properties:
|
2484
|
+
aggregator:
|
2485
|
+
$ref: '#/components/schemas/WidgetAggregator'
|
2486
|
+
data_source:
|
2487
|
+
$ref: '#/components/schemas/FormulaAndFunctionCloudCostDataSource'
|
2488
|
+
name:
|
2489
|
+
description: Name of the query for use in formulas.
|
2490
|
+
example: my_query
|
2491
|
+
type: string
|
2492
|
+
query:
|
2493
|
+
description: Query for Cloud Cost data.
|
2494
|
+
example: ''
|
2495
|
+
type: string
|
2496
|
+
required:
|
2497
|
+
- data_source
|
2498
|
+
- query
|
2499
|
+
- name
|
2500
|
+
type: object
|
2469
2501
|
FormulaAndFunctionEventAggregation:
|
2470
2502
|
description: Aggregation methods for event platform queries.
|
2471
2503
|
enum:
|
@@ -2729,17 +2761,21 @@ components:
|
|
2729
2761
|
- $ref: '#/components/schemas/FormulaAndFunctionApmDependencyStatsQueryDefinition'
|
2730
2762
|
- $ref: '#/components/schemas/FormulaAndFunctionApmResourceStatsQueryDefinition'
|
2731
2763
|
- $ref: '#/components/schemas/FormulaAndFunctionSLOQueryDefinition'
|
2764
|
+
- $ref: '#/components/schemas/FormulaAndFunctionCloudCostQueryDefinition'
|
2732
2765
|
type: object
|
2733
2766
|
FormulaAndFunctionResponseFormat:
|
2734
|
-
description: Timeseries or
|
2767
|
+
description: Timeseries, scalar, or event list response. Event list response
|
2768
|
+
formats are supported by Geomap widgets.
|
2735
2769
|
enum:
|
2736
2770
|
- timeseries
|
2737
2771
|
- scalar
|
2772
|
+
- event_list
|
2738
2773
|
example: timeseries
|
2739
2774
|
type: string
|
2740
2775
|
x-enum-varnames:
|
2741
2776
|
- TIMESERIES
|
2742
2777
|
- SCALAR
|
2778
|
+
- EVENT_LIST
|
2743
2779
|
FormulaAndFunctionSLODataSource:
|
2744
2780
|
description: Data source for SLO measures queries.
|
2745
2781
|
enum:
|
@@ -2779,6 +2815,7 @@ components:
|
|
2779
2815
|
FormulaAndFunctionSLOQueryDefinition:
|
2780
2816
|
description: A formula and functions metrics query.
|
2781
2817
|
example:
|
2818
|
+
additional_query_filters: '*'
|
2782
2819
|
data_source: slo
|
2783
2820
|
group_mode: overall
|
2784
2821
|
measure: good_events
|
@@ -2786,6 +2823,10 @@ components:
|
|
2786
2823
|
slo_id: '12345678910'
|
2787
2824
|
slo_query_type: metric
|
2788
2825
|
properties:
|
2826
|
+
additional_query_filters:
|
2827
|
+
description: Additional filters applied to the SLO query.
|
2828
|
+
example: host:host_a,env:prod
|
2829
|
+
type: string
|
2789
2830
|
data_source:
|
2790
2831
|
$ref: '#/components/schemas/FormulaAndFunctionSLODataSource'
|
2791
2832
|
group_mode:
|
@@ -3127,6 +3168,16 @@ components:
|
|
3127
3168
|
GeomapWidgetRequest:
|
3128
3169
|
description: An updated geomap widget.
|
3129
3170
|
properties:
|
3171
|
+
columns:
|
3172
|
+
description: Widget columns.
|
3173
|
+
example:
|
3174
|
+
- field: timestamp
|
3175
|
+
width: auto
|
3176
|
+
- field: content
|
3177
|
+
width: full
|
3178
|
+
items:
|
3179
|
+
$ref: '#/components/schemas/ListStreamColumn'
|
3180
|
+
type: array
|
3130
3181
|
formulas:
|
3131
3182
|
description: List of formulas that operate on queries.
|
3132
3183
|
items:
|
@@ -3142,6 +3193,8 @@ components:
|
|
3142
3193
|
items:
|
3143
3194
|
$ref: '#/components/schemas/FormulaAndFunctionQueryDefinition'
|
3144
3195
|
type: array
|
3196
|
+
query:
|
3197
|
+
$ref: '#/components/schemas/ListStreamQuery'
|
3145
3198
|
response_format:
|
3146
3199
|
$ref: '#/components/schemas/FormulaAndFunctionResponseFormat'
|
3147
3200
|
rum_query:
|
@@ -3996,6 +4049,22 @@ components:
|
|
3996
4049
|
type: string
|
3997
4050
|
type: array
|
3998
4051
|
type: object
|
4052
|
+
IPPrefixesRemoteConfiguration:
|
4053
|
+
description: Available prefix information for the Remote Configuration endpoints.
|
4054
|
+
properties:
|
4055
|
+
prefixes_ipv4:
|
4056
|
+
description: List of IPv4 prefixes.
|
4057
|
+
items:
|
4058
|
+
description: IPv4 prefix
|
4059
|
+
type: string
|
4060
|
+
type: array
|
4061
|
+
prefixes_ipv6:
|
4062
|
+
description: List of IPv6 prefixes.
|
4063
|
+
items:
|
4064
|
+
description: IPv6 prefix
|
4065
|
+
type: string
|
4066
|
+
type: array
|
4067
|
+
type: object
|
3999
4068
|
IPPrefixesSynthetics:
|
4000
4069
|
description: Available prefix information for the Synthetics endpoints.
|
4001
4070
|
properties:
|
@@ -4082,6 +4151,8 @@ components:
|
|
4082
4151
|
$ref: '#/components/schemas/IPPrefixesOrchestrator'
|
4083
4152
|
process:
|
4084
4153
|
$ref: '#/components/schemas/IPPrefixesProcess'
|
4154
|
+
remote-configuration:
|
4155
|
+
$ref: '#/components/schemas/IPPrefixesRemoteConfiguration'
|
4085
4156
|
synthetics:
|
4086
4157
|
$ref: '#/components/schemas/IPPrefixesSynthetics'
|
4087
4158
|
synthetics-private-locations:
|
@@ -19318,11 +19389,13 @@ components:
|
|
19318
19389
|
- area
|
19319
19390
|
- bars
|
19320
19391
|
- line
|
19392
|
+
- overlay
|
19321
19393
|
type: string
|
19322
19394
|
x-enum-varnames:
|
19323
19395
|
- AREA
|
19324
19396
|
- BARS
|
19325
19397
|
- LINE
|
19398
|
+
- OVERLAY
|
19326
19399
|
WidgetEvent:
|
19327
19400
|
description: 'Event overlay control options.
|
19328
19401
|
|