Skip to content

Commit 6f5ea2e

Browse files
committed
Generated Python Client Update v.2.9.37
Command: ``` java -jar ~/Applications/swagger-codegen-cli.jar generate -l python -i https://mon.wavefront.com/api/v2/swagger.json -c .swagger-codegen/config.json --additional-properties basePath=https://YOUR_INSTANCE.wavefront.com,[email protected] ``` Config: ``` { "gitRepoId": "python-client", "gitUserId": "wavefrontHQ", "packageName": "wavefront_api_client", "packageUrl": "https://github.com/wavefrontHQ/python-client", "packageVersion": "2.9.37" } ```
1 parent 9532300 commit 6f5ea2e

File tree

428 files changed

+23079
-2986
lines changed

Some content is hidden

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

428 files changed

+23079
-2986
lines changed

.gitignore

-5
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,3 @@ target/
6262

6363
#Ipython Notebook
6464
.ipynb_checkpoints
65-
66-
# IntelliJ
67-
.idea/*
68-
*.iml
69-
.DS_Store

.swagger-codegen-ignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
.travis.yml
2+
git_push.sh

.swagger-codegen/VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.3.1
1+
2.4.2

.swagger-codegen/config.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"gitRepoId": "python-client",
3+
"gitUserId": "wavefrontHQ",
4+
"packageName": "wavefront_api_client",
5+
"packageUrl": "https://github.com/wavefrontHQ/python-client",
6+
"packageVersion": "2.9.37"
7+
}

.travis.yml

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
dist: xenial
2+
language: python
3+
python:
4+
- "2.7"
5+
- "3.4"
6+
- "3.5"
7+
- "3.6"
8+
- "3.7"
9+
install: "pip install -r test-requirements.txt"
10+
script: nosetests
11+
deploy:
12+
- provider: pypi
13+
user: wavefront-cs
14+
server: https://test.pypi.org/legacy/
15+
password:
16+
secure: dWIjYPu1efm3WOHOTZr4Ci2VsdlXq0mMjAujo/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1UTN5L2L8kGUjAU9BLs32h64+KiR8w5LJrcXmqaod3JoPjr9a/e/02hpz1NaLoVIcpqfq9oTgz0BYlmO/2RCoQi6V3q4nSn6DDxgDuHYr3uJz0AYaMc1TEGqHeUkGuJNxuP+m1C9Ite1crZfDRsKviie/CDToM3Lr2dOPk4R90N6tzlP31BV7WaCJfyIAFwW1osrPScZ32cFdvzQBRhHN49kliSF6FOAQiiegB74lOgvkMy4rLtXLSJcUea/3iD9oCpsa+1FJjtKAX0b70F2G1tF2GZ4wH5shT9m9/9zUAFAck056XPIs80ZRkE=
23+
on:
24+
python: 3.7
25+
tags: true

README.md

+74-17
Large diffs are not rendered by default.

docs/ACL.md

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# ACL
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**entity_id** | **str** | The entity Id |
7+
**view_acl** | [**list[AccessControlElement]**](AccessControlElement.md) | List of users and user group ids that have view permission |
8+
**modify_acl** | [**list[AccessControlElement]**](AccessControlElement.md) | List of users and user groups ids that have modify permission |
9+
10+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
11+
12+

docs/AccessControlElement.md

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# AccessControlElement
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**name** | **str** | | [optional]
7+
**id** | **str** | | [optional]
8+
9+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
10+
11+

docs/AccessControlListSimple.md

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# AccessControlListSimple
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**can_view** | **list[str]** | | [optional]
7+
**can_modify** | **list[str]** | | [optional]
8+
9+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
10+
11+

docs/Alert.md

+28-21
Original file line numberDiff line numberDiff line change
@@ -4,56 +4,63 @@
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
66
**last_event_time** | **int** | Start time (in epoch millis) of the last event associated with this alert. | [optional]
7+
**hidden** | **bool** | | [optional]
8+
**severity** | **str** | Severity of the alert | [optional]
79
**created** | **int** | When this alert was created, in epoch millis | [optional]
8-
**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 |
910
**name** | **str** | |
1011
**id** | **str** | | [optional]
11-
**target** | **str** | The email address or integration endpoint (such as PagerDuty or webhook) to notify when the alert status changes |
12+
**target** | **str** | The email address or integration endpoint (such as PagerDuty or web hook) to notify when the alert status changes | [optional]
13+
**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 |
1214
**tags** | [**WFTags**](WFTags.md) | | [optional]
1315
**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]
1416
**event** | [**Event**](Event.md) | | [optional]
1517
**updated** | **int** | When the alert was last updated, in epoch millis | [optional]
16-
**process_rate_minutes** | **int** | The interval between checks for this alert, in minutes. Defaults to 1 minute | [optional]
17-
**last_processed_millis** | **int** | The time when this alert was last checked, in epoch millis | [optional]
18-
**update_user_id** | **str** | The user that last updated this alert | [optional]
18+
**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 |
19+
**alert_type** | **str** | Alert type. | [optional]
1920
**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]
21+
**failing_host_label_pairs** | [**list[SourceLabelPair]**](SourceLabelPair.md) | Failing host/metric pairs | [optional]
22+
**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]
23+
**active_maintenance_windows** | **list[str]** | The names of the active maintenance windows that are affecting this alert | [optional]
2024
**condition_qb_enabled** | **bool** | Whether the condition query was created using the Query Builder. Default false | [optional]
2125
**display_expression_qb_enabled** | **bool** | Whether the display expression query was created using the Query Builder. Default false | [optional]
22-
**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 |
2326
**condition_qb_serialization** | **str** | The special serialization of the Query Builder that corresponds to the condition query. Applicable only when conditionQBEnabled is true | [optional]
2427
**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]
2528
**include_obsolete_metrics** | **bool** | Whether to include obsolete metrics in alert query | [optional]
26-
**severity** | **str** | Severity of the alert |
27-
**last_query_time** | **int** | Last query time of the alert, averaged on hourly basis | [optional]
29+
**targets** | **dict(str, str)** | Targets for severity. | [optional]
30+
**process_rate_minutes** | **int** | The interval between checks for this alert, in minutes. Defaults to 1 minute | [optional]
31+
**last_processed_millis** | **int** | The time when this alert was last checked, in epoch millis | [optional]
32+
**update_user_id** | **str** | The user that last updated this alert | [optional]
33+
**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]
34+
**no_data_event** | [**Event**](Event.md) | No data event related to the alert | [optional]
35+
**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]
36+
**conditions** | **dict(str, str)** | Multi - alert conditions. | [optional]
2837
**notificants** | **list[str]** | A derived field listing the webhook ids used by this alert | [optional]
38+
**additional_information** | **str** | User-supplied additional explanatory information for this alert. Useful for linking runbooks, mitigations,, etc | [optional]
39+
**last_query_time** | **int** | Last query time of the alert, averaged on hourly basis | [optional]
2940
**alerts_last_day** | **int** | | [optional]
3041
**alerts_last_week** | **int** | | [optional]
3142
**alerts_last_month** | **int** | | [optional]
32-
**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]
33-
**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]
34-
**failing_host_label_pairs** | [**list[SourceLabelPair]**](SourceLabelPair.md) | Failing host/metric pairs | [optional]
35-
**active_maintenance_windows** | **list[str]** | The names of the active maintenance windows that are affecting this alert | [optional]
36-
**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]
37-
**no_data_event** | [**Event**](Event.md) | No data event related to the alert | [optional]
3843
**in_trash** | **bool** | | [optional]
3944
**query_failing** | **bool** | Whether there was an exception when the alert condition last ran | [optional]
4045
**create_user_id** | **str** | | [optional]
41-
**additional_information** | **str** | User-supplied additional explanatory information for this alert. Useful for linking runbooks, mitigations,, etc | [optional]
42-
**creator_id** | **str** | | [optional]
43-
**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]
44-
**updater_id** | **str** | | [optional]
4546
**last_failed_time** | **int** | The time of the last error encountered when running this alert's condition query, in epoch millis | [optional]
46-
**last_error_message** | **str** | The last error encountered when running this alert's condition query | [optional]
47+
**last_notification_millis** | **int** | When this alert last caused a notification, in epoch millis | [optional]
48+
**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]
49+
**num_points_in_failure_frame** | **int** | Number of points scanned in alert query time frame. | [optional]
4750
**metrics_used** | **list[str]** | Number of metrics checked by the alert condition | [optional]
4851
**hosts_used** | **list[str]** | Number of hosts checked by the alert condition | [optional]
49-
**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]
50-
**last_notification_millis** | **int** | When this alert last caused a notification, in epoch millis | [optional]
52+
**system_owned** | **bool** | Whether this alert is system-owned and not writeable | [optional]
53+
**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]
54+
**creator_id** | **str** | | [optional]
55+
**updater_id** | **str** | | [optional]
56+
**last_error_message** | **str** | The last error encountered when running this alert's condition query | [optional]
5157
**notification_resend_frequency_minutes** | **int** | How often to re-trigger a continually failing alert. If absent or <= 0, no retriggering occurs | [optional]
5258
**created_epoch_millis** | **int** | | [optional]
5359
**updated_epoch_millis** | **int** | | [optional]
5460
**deleted** | **bool** | | [optional]
5561
**target_info** | [**list[TargetInfo]**](TargetInfo.md) | List of alert targets display information that includes name, id and type. | [optional]
5662
**sort_attr** | **int** | Attribute used for default alert sort that is derived from state and severity | [optional]
63+
**severity_list** | **list[str]** | Alert severity list for multi-threshold type. | [optional]
5764

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

0 commit comments

Comments
 (0)