Skip to content

Commit de53c8c

Browse files
author
Vasily V
authored
Client v2.3.1 (supports features available in 2018-10.x) (#26)
1 parent 4ddf21c commit de53c8c

File tree

87 files changed

+3903
-4652
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

87 files changed

+3903
-4652
lines changed

README.md

Lines changed: 25 additions & 24 deletions
Large diffs are not rendered by default.

docs/Alert.md

Lines changed: 27 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -7,52 +7,53 @@ Name | Type | Description | Notes
77
**name** | **str** | |
88
**id** | **str** | | [optional]
99
**target** | **str** | The email address or integration endpoint (such as PagerDuty or webhook) to notify when the alert status changes |
10-
**event** | [**Event**](Event.md) | | [optional]
1110
**tags** | [**WFTags**](WFTags.md) | | [optional]
12-
**target_info** | [**list[TargetInfo]**](TargetInfo.md) | List of alert targets display information that includes name, id and type. | [optional]
13-
**sort_attr** | **int** | Attribute used for default alert sort that is derived from state and severity | [optional]
1411
**status** | **list[str]** | Lists the current state of the alert. Can be one or more of: FIRING,SNOOZED, IN_MAINTENANCE, INVALID, NONE, CHECKING, TRASH, NO_DATA | [optional]
15-
**process_rate_minutes** | **int** | The interval between checks for this alert, in minutes. Defaults to 1 minute | [optional]
16-
**last_processed_millis** | **int** | The time when this alert was last checked, in epoch millis | [optional]
17-
**update_user_id** | **str** | The user that last updated this alert | [optional]
18-
**last_query_time** | **int** | Last query time of the alert, averaged on hourly basis | [optional]
19-
**notificants** | **list[str]** | A derived field listing the webhook ids used by this alert | [optional]
20-
**alerts_last_day** | **int** | | [optional]
21-
**alerts_last_week** | **int** | | [optional]
22-
**alerts_last_month** | **int** | | [optional]
23-
**snoozed** | **int** | The until which time this alert is snoozed (not checked), in epoch millis. A negative value implies the alert is snoozed indefinitely | [optional]
24-
**in_maintenance_host_label_pairs** | [**list[SourceLabelPair]**](SourceLabelPair.md) | Lists the sources that will not be checked for this alert, due to matching a maintenance window | [optional]
25-
**failing_host_label_pairs** | [**list[SourceLabelPair]**](SourceLabelPair.md) | Failing host/metric pairs | [optional]
26-
**active_maintenance_windows** | **list[str]** | The names of the active maintenance windows that are affecting this alert | [optional]
27-
**prefiring_host_label_pairs** | [**list[SourceLabelPair]**](SourceLabelPair.md) | Lists the series that are starting to fail, defined as failing for greater than 50% of the checks in the window determined by the \"minutes\" parameter | [optional]
28-
**in_trash** | **bool** | | [optional]
29-
**query_failing** | **bool** | Whether there was an exception when the alert condition last ran | [optional]
30-
**updated** | **int** | When the alert was last updated, in epoch millis | [optional]
31-
**create_user_id** | **str** | | [optional]
3212
**display_expression** | **str** | A second query whose results are displayed in the alert user interface instead of the condition query. This field is often used to display a version of the condition query with Boolean operators removed so that numerical values are plotted | [optional]
3313
**condition_qb_enabled** | **bool** | Whether the condition query was created using the Query Builder. Default false | [optional]
3414
**display_expression_qb_enabled** | **bool** | Whether the display expression query was created using the Query Builder. Default false | [optional]
3515
**condition** | **str** | A Wavefront query that is evaluated at regular intervals (default 1m). The alert fires and notifications are triggered when a data series matching this query evaluates to a non-zero value for a set number of consecutive minutes |
3616
**condition_qb_serialization** | **str** | The special serialization of the Query Builder that corresponds to the condition query. Applicable only when conditionQBEnabled is true | [optional]
3717
**display_expression_qb_serialization** | **str** | The special serialization of the Query Builder that corresponds to the display expression query. Applicable only when displayExpressionQBEnabled is true | [optional]
18+
**include_obsolete_metrics** | **bool** | Whether to include obsolete metrics in alert query | [optional]
3819
**severity** | **str** | Severity of the alert |
39-
**metrics_used** | **list[str]** | Number of metrics checked by the alert condition | [optional]
40-
**created** | **int** | When this alert was created, in epoch millis | [optional]
4120
**creator_id** | **str** | | [optional]
42-
**updater_id** | **str** | | [optional]
43-
**deleted** | **bool** | | [optional]
4421
**additional_information** | **str** | User-supplied additional explanatory information for this alert. Useful for linking runbooks, mitigations,, etc | [optional]
4522
**resolve_after_minutes** | **int** | The number of consecutive minutes that a firing series matching the condition query must evaluate to \"false\" (zero value) before the alert resolves. When unset, this defaults to the same value as \"minutes\" | [optional]
23+
**minutes** | **int** | The number of consecutive minutes that a series matching the condition query must evaluate to \"true\" (non-zero value) before the alert fires |
24+
**failing_host_label_pairs** | [**list[SourceLabelPair]**](SourceLabelPair.md) | Failing host/metric pairs | [optional]
25+
**query_failing** | **bool** | Whether there was an exception when the alert condition last ran | [optional]
4626
**last_failed_time** | **int** | The time of the last error encountered when running this alert's condition query, in epoch millis | [optional]
4727
**last_error_message** | **str** | The last error encountered when running this alert's condition query | [optional]
28+
**metrics_used** | **list[str]** | Number of metrics checked by the alert condition | [optional]
4829
**hosts_used** | **list[str]** | Number of hosts checked by the alert condition | [optional]
30+
**in_maintenance_host_label_pairs** | [**list[SourceLabelPair]**](SourceLabelPair.md) | Lists the sources that will not be checked for this alert, due to matching a maintenance window | [optional]
31+
**active_maintenance_windows** | **list[str]** | The names of the active maintenance windows that are affecting this alert | [optional]
32+
**prefiring_host_label_pairs** | [**list[SourceLabelPair]**](SourceLabelPair.md) | Lists the series that are starting to fail, defined as failing for greater than 50% of the checks in the window determined by the \"minutes\" parameter | [optional]
33+
**notificants** | **list[str]** | A derived field listing the webhook ids used by this alert | [optional]
34+
**last_processed_millis** | **int** | The time when this alert was last checked, in epoch millis | [optional]
35+
**process_rate_minutes** | **int** | The interval between checks for this alert, in minutes. Defaults to 1 minute | [optional]
4936
**points_scanned_at_last_query** | **int** | A derived field recording the number of data points scanned when the system last computed this alert's condition | [optional]
5037
**last_notification_millis** | **int** | When this alert last caused a notification, in epoch millis | [optional]
5138
**notification_resend_frequency_minutes** | **int** | How often to re-trigger a continually failing alert. If absent or <= 0, no retriggering occurs | [optional]
52-
**include_obsolete_metrics** | **bool** | Whether to include obsolete metrics in alert query | [optional]
5339
**created_epoch_millis** | **int** | | [optional]
5440
**updated_epoch_millis** | **int** | | [optional]
55-
**minutes** | **int** | The number of consecutive minutes that a series matching the condition query must evaluate to \"true\" (non-zero value) before the alert fires |
41+
**event** | [**Event**](Event.md) | | [optional]
42+
**updater_id** | **str** | | [optional]
43+
**created** | **int** | When this alert was created, in epoch millis | [optional]
44+
**updated** | **int** | When the alert was last updated, in epoch millis | [optional]
45+
**update_user_id** | **str** | The user that last updated this alert | [optional]
46+
**last_query_time** | **int** | Last query time of the alert, averaged on hourly basis | [optional]
47+
**alerts_last_day** | **int** | | [optional]
48+
**alerts_last_week** | **int** | | [optional]
49+
**alerts_last_month** | **int** | | [optional]
50+
**snoozed** | **int** | The until which time this alert is snoozed (not checked), in epoch millis. A negative value implies the alert is snoozed indefinitely | [optional]
51+
**no_data_event** | [**Event**](Event.md) | No data event related to the alert | [optional]
52+
**in_trash** | **bool** | | [optional]
53+
**create_user_id** | **str** | | [optional]
54+
**deleted** | **bool** | | [optional]
55+
**target_info** | [**list[TargetInfo]**](TargetInfo.md) | List of alert targets display information that includes name, id and type. | [optional]
56+
**sort_attr** | **int** | Attribute used for default alert sort that is derived from state and severity | [optional]
5657

5758
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
5859

docs/AvroBackedStandardizedDTO.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
66
**id** | **str** | | [optional]
77
**creator_id** | **str** | | [optional]
8-
**updater_id** | **str** | | [optional]
9-
**deleted** | **bool** | | [optional]
108
**created_epoch_millis** | **int** | | [optional]
119
**updated_epoch_millis** | **int** | | [optional]
10+
**updater_id** | **str** | | [optional]
11+
**deleted** | **bool** | | [optional]
1212

1313
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
1414

docs/AzureBaseCredentials.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
66
**client_id** | **str** | Client Id for an Azure service account within your project. |
77
**tenant** | **str** | Tenant Id for an Azure service account within your project. |
8-
**client_secret** | **str** | Client Secret for an Azure service account within your project. |
8+
**client_secret** | **str** | Client Secret for an Azure service account within your project. Use 'saved_secret' to retain the client secret when updating. |
99

1010
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
1111

docs/Chart.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,14 @@ Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
66
**name** | **str** | Name of the source |
77
**description** | **str** | Description of the chart | [optional]
8-
**base** | **int** | If the chart has a log-scale Y-axis, the base for the logarithms | [optional]
98
**sources** | [**list[ChartSourceQuery]**](ChartSourceQuery.md) | Query expression to plot on the chart |
10-
**units** | **str** | String to label the units of the chart on the Y-axis | [optional]
119
**include_obsolete_metrics** | **bool** | Whether to show obsolete metrics. Default: false | [optional]
12-
**chart_settings** | [**ChartSettings**](ChartSettings.md) | | [optional]
1310
**no_default_events** | **bool** | Whether to hide events related to the sources in the charts produced. Default false (i.e. shows events) | [optional]
11+
**base** | **int** | If the chart has a log-scale Y-axis, the base for the logarithms | [optional]
12+
**units** | **str** | String to label the units of the chart on the Y-axis | [optional]
13+
**chart_attributes** | [**JsonNode**](JsonNode.md) | Experimental field for chart attributes | [optional]
1414
**interpolate_points** | **bool** | Whether to interpolate points in the charts produced. Default: true | [optional]
15+
**chart_settings** | [**ChartSettings**](ChartSettings.md) | | [optional]
1516
**summarization** | **str** | Summarization strategy for the chart. MEAN is default | [optional]
1617

1718
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

docs/ChartSettings.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,12 @@ Name | Type | Description | Notes
66
**type** | **str** | Chart Type. 'line' refers to the Line Plot, 'scatter' to the Point Plot, 'stacked-area' to the Stacked Area plot, 'table' to the Tabular View, 'scatterploy-xy' to Scatter Plot, 'markdown-widget' to the Markdown display, and 'sparkline' to the Single Stat view |
77
**min** | **float** | Min value of Y-axis. Set to null or leave blank for auto | [optional]
88
**max** | **float** | Max value of Y-axis. Set to null or leave blank for auto | [optional]
9+
**expected_data_spacing** | **int** | Threshold (in seconds) for time delta between consecutive points in a series above which a dotted line will replace a solid line in line plots. Default: 60s | [optional]
910
**plain_markdown_content** | **str** | The Markdown content for a Markdown display, in plain text. Use this field instead of `markdownContent`. | [optional]
11+
**fixed_legend_enabled** | **bool** | Whether to enable a fixed tabular legend adjacent to the chart | [optional]
12+
**fixed_legend_use_raw_stats** | **bool** | If true, the legend uses non-summarized stats instead of summarized | [optional]
1013
**line_type** | **str** | Plot interpolation type. linear is default | [optional]
1114
**stack_type** | **str** | Type of stacked chart (applicable only if chart type is stacked). zero (default) means stacked from y=0. expand means Normalized from 0 to 1. wiggle means Minimize weighted changes. silhouette means to Center the Stream | [optional]
12-
**expected_data_spacing** | **int** | Threshold (in seconds) for time delta between consecutive points in a series above which a dotted line will replace a solid line in line plots. Default: 60s | [optional]
1315
**windowing** | **str** | For the tabular view, whether to use the full time window for the query or the last X minutes | [optional]
1416
**window_size** | **int** | Width, in minutes, of the time window to use for \"last\" windowing | [optional]
1517
**show_hosts** | **bool** | For the tabular view, whether to display sources. Default: true | [optional]
@@ -30,15 +32,13 @@ Name | Type | Description | Notes
3032
**y0_unit_autoscaling** | **bool** | Default: false. Whether to automatically adjust magnitude labels and units for the left Y-axis to favor smaller magnitudes and larger units | [optional]
3133
**y1_unit_autoscaling** | **bool** | Default: false. Whether to automatically adjust magnitude labels and units for the right Y-axis to favor smaller magnitudes and larger units | [optional]
3234
**invert_dynamic_legend_hover_control** | **bool** | Whether to disable the display of the floating legend (but reenable it when the ctrl-key is pressed) | [optional]
33-
**fixed_legend_enabled** | **bool** | Whether to enable a fixed tabular legend adjacent to the chart | [optional]
34-
**fixed_legend_use_raw_stats** | **bool** | If true, the legend uses non-summarized stats instead of summarized | [optional]
3535
**fixed_legend_position** | **str** | Where the fixed legend should be displayed with respect to the chart | [optional]
3636
**fixed_legend_display_stats** | **list[str]** | For a chart with a fixed legend, a list of statistics to display in the legend | [optional]
3737
**fixed_legend_filter_sort** | **str** | Whether to display \"Top\"- or \"Bottom\"-ranked series in the fixed legend | [optional]
38-
**xmax** | **float** | For x-y scatterplots, max value for X-axis. Set null for auto | [optional]
3938
**fixed_legend_filter_limit** | **int** | Number of series to include in the fixed legend | [optional]
4039
**fixed_legend_filter_field** | **str** | Statistic to use for determining whether a series is displayed on the fixed legend | [optional]
4140
**fixed_legend_hide_label** | **bool** | deprecated | [optional]
41+
**xmax** | **float** | For x-y scatterplots, max value for X-axis. Set null for auto | [optional]
4242
**xmin** | **float** | For x-y scatterplots, min value for X-axis. Set null for auto | [optional]
4343
**ymax** | **float** | For x-y scatterplots, max value for Y-axis. Set null for auto | [optional]
4444
**ymin** | **float** | For x-y scatterplots, min value for Y-axis. Set null for auto | [optional]

docs/ChartSourceQuery.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
66
**name** | **str** | Name of the source |
77
**query** | **str** | Query expression to plot on the chart |
8+
**disabled** | **bool** | Whether the source is disabled | [optional]
9+
**secondary_axis** | **bool** | Determines if this source relates to the right hand Y-axis or not | [optional]
810
**scatter_plot_source** | **str** | For scatter plots, does this query source the X-axis or the Y-axis | [optional]
911
**querybuilder_serialization** | **str** | Opaque representation of the querybuilder | [optional]
1012
**querybuilder_enabled** | **bool** | Whether or not this source line should have the query builder enabled | [optional]
11-
**secondary_axis** | **bool** | Determines if this source relates to the right hand Y-axis or not | [optional]
1213
**source_description** | **str** | A description for the purpose of this source | [optional]
1314
**source_color** | **str** | The color used to draw all results from this source (auto if unset) | [optional]
14-
**disabled** | **bool** | Whether the source is disabled | [optional]
1515

1616
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
1717

docs/CloudIntegration.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,13 @@ Name | Type | Description | Notes
77
**name** | **str** | The human-readable name of this integration |
88
**id** | **str** | | [optional]
99
**service** | **str** | A value denoting which cloud service this integration integrates with |
10-
**in_trash** | **bool** | | [optional]
11-
**last_error_event** | [**Event**](Event.md) | | [optional]
1210
**creator_id** | **str** | | [optional]
13-
**updater_id** | **str** | | [optional]
14-
**deleted** | **bool** | | [optional]
15-
**ec2** | [**EC2Configuration**](EC2Configuration.md) | | [optional]
1611
**additional_tags** | **dict(str, str)** | A list of point tag key-values to add to every point ingested using this integration | [optional]
1712
**last_received_data_point_ms** | **int** | Time that this integration last received a data point, in epoch millis | [optional]
1813
**last_metric_count** | **int** | Number of metrics / events ingested by this integration the last time it ran | [optional]
1914
**cloud_watch** | [**CloudWatchConfiguration**](CloudWatchConfiguration.md) | | [optional]
2015
**cloud_trail** | [**CloudTrailConfiguration**](CloudTrailConfiguration.md) | | [optional]
16+
**ec2** | [**EC2Configuration**](EC2Configuration.md) | | [optional]
2117
**gcp** | [**GCPConfiguration**](GCPConfiguration.md) | | [optional]
2218
**tesla** | [**TeslaConfiguration**](TeslaConfiguration.md) | | [optional]
2319
**azure** | [**AzureConfiguration**](AzureConfiguration.md) | | [optional]
@@ -30,6 +26,10 @@ Name | Type | Description | Notes
3026
**created_epoch_millis** | **int** | | [optional]
3127
**updated_epoch_millis** | **int** | | [optional]
3228
**service_refresh_rate_in_mins** | **int** | Service refresh rate in minutes. | [optional]
29+
**updater_id** | **str** | | [optional]
30+
**in_trash** | **bool** | | [optional]
31+
**last_error_event** | [**Event**](Event.md) | | [optional]
32+
**deleted** | **bool** | | [optional]
3333

3434
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
3535

docs/CloudTrailConfiguration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
66
**region** | **str** | The AWS region of the S3 bucket where CloudTrail logs are stored |
7+
**prefix** | **str** | The common prefix, if any, appended to all CloudTrail log files | [optional]
78
**base_credentials** | [**AWSBaseCredentials**](AWSBaseCredentials.md) | | [optional]
89
**bucket_name** | **str** | Name of the S3 bucket where CloudTrail logs are stored |
9-
**prefix** | **str** | The common prefix, if any, appended to all CloudTrail log files | [optional]
1010
**filter_rule** | **str** | Rule to filter cloud trail log event. | [optional]
1111

1212
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

0 commit comments

Comments
 (0)