Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 6 additions & 0 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -515,6 +515,7 @@ docs/SyntheticMetricsApi.md
docs/SyntheticPlaybackCapabilities.md
docs/SyntheticResourceUpdateListDNSFilterTargetValueListDNSFilterTargetValue.md
docs/SyntheticResourceUpdateListICMPValidationListICMPValidation.md
docs/SyntheticResourceUpdateListNetworkProfileListNetworkProfile.md
docs/SyntheticResourceUpdateListSSLCertificateValidationListSSLCertificateValidation.md
docs/SyntheticResourceUpdateListStringListString.md
docs/SyntheticResourceUpdateMapStringStringListString.md
Expand Down Expand Up @@ -578,6 +579,7 @@ docs/TraceSamplingConfig.md
docs/TrafficBlueprintIndicator.md
docs/Trigger.md
docs/TypeConfiguration.md
docs/UnifiedBeacon.md
docs/UnsupportedHttpPathSegmentMatchingRule.md
docs/UpdateEvaluationRequest.md
docs/UpdatedBusinessPerspectiveConfig.md
Expand Down Expand Up @@ -1169,6 +1171,7 @@ instana_client/models/synthetic_metric_tag_group.py
instana_client/models/synthetic_playback_capabilities.py
instana_client/models/synthetic_resource_update_list_dns_filter_target_value_list_dns_filter_target_value.py
instana_client/models/synthetic_resource_update_list_icmp_validation_list_icmp_validation.py
instana_client/models/synthetic_resource_update_list_network_profile_list_network_profile.py
instana_client/models/synthetic_resource_update_list_ssl_certificate_validation_list_ssl_certificate_validation.py
instana_client/models/synthetic_resource_update_list_string_list_string.py
instana_client/models/synthetic_resource_update_map_string_string_list_string.py
Expand Down Expand Up @@ -1228,6 +1231,7 @@ instana_client/models/trace_sampling_config.py
instana_client/models/traffic_blueprint_indicator.py
instana_client/models/trigger.py
instana_client/models/type_configuration.py
instana_client/models/unified_beacon.py
instana_client/models/unsupported_http_path_segment_matching_rule.py
instana_client/models/update_evaluation_request.py
instana_client/models/updated_business_perspective_config.py
Expand Down Expand Up @@ -1290,4 +1294,6 @@ setup.cfg
setup.py
test-requirements.txt
test/__init__.py
test/test_synthetic_resource_update_list_network_profile_list_network_profile.py
test/test_unified_beacon.py
tox.ini
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ Documentation for INSTANA REST API

This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: 1.325.1193
- API version: 1.326.1571
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
For more information, please visit [http://instana.com](http://instana.com)

## Requirements.

Expand Down Expand Up @@ -446,6 +448,7 @@ Class | Method | HTTP request | Description
*MobileAppConfigurationApi* | [**update_mobile_app_session_replay**](docs/MobileAppConfigurationApi.md#update_mobile_app_session_replay) | **PUT** /api/mobile-app-monitoring/config/{mobileAppId}/session-replay-config | Configure session replay for mobile app
*MobileAppConfigurationApi* | [**update_mobile_app_teams**](docs/MobileAppConfigurationApi.md#update_mobile_app_teams) | **PUT** /api/mobile-app-monitoring/config/{mobileAppId}/teams | Update teams assigned to the mobile app
*MobileAppConfigurationApi* | [**upload_mobile_app_source_map_file**](docs/MobileAppConfigurationApi.md#upload_mobile_app_source_map_file) | **PUT** /api/mobile-app-monitoring/config/{mobileAppId}/sourcemap-upload/{sourceMapConfigId}/form | Upload sourcemap file for mobile app
*MobileAppMetricsApi* | [**get_merged_session_beacons**](docs/MobileAppMetricsApi.md#get_merged_session_beacons) | **GET** /api/mobile-app-monitoring/session-merged | Download merged session beacons
*MobileAppMetricsApi* | [**get_mobile_app_beacon_metrics**](docs/MobileAppMetricsApi.md#get_mobile_app_beacon_metrics) | **POST** /api/mobile-app-monitoring/metrics | Get mobile app beacon metrics
*MobileAppMetricsApi* | [**get_mobile_app_beacon_metrics_v2**](docs/MobileAppMetricsApi.md#get_mobile_app_beacon_metrics_v2) | **POST** /api/mobile-app-monitoring/v2/metrics | Get beacon metrics
*MobileAppMetricsApi* | [**get_session**](docs/MobileAppMetricsApi.md#get_session) | **GET** /api/mobile-app-monitoring/session;id={id};timestamp={timestamp} | Get mobile app session
Expand Down Expand Up @@ -1093,6 +1096,7 @@ Class | Method | HTTP request | Description
- [SyntheticPlaybackCapabilities](docs/SyntheticPlaybackCapabilities.md)
- [SyntheticResourceUpdateListDNSFilterTargetValueListDNSFilterTargetValue](docs/SyntheticResourceUpdateListDNSFilterTargetValueListDNSFilterTargetValue.md)
- [SyntheticResourceUpdateListICMPValidationListICMPValidation](docs/SyntheticResourceUpdateListICMPValidationListICMPValidation.md)
- [SyntheticResourceUpdateListNetworkProfileListNetworkProfile](docs/SyntheticResourceUpdateListNetworkProfileListNetworkProfile.md)
- [SyntheticResourceUpdateListSSLCertificateValidationListSSLCertificateValidation](docs/SyntheticResourceUpdateListSSLCertificateValidationListSSLCertificateValidation.md)
- [SyntheticResourceUpdateListStringListString](docs/SyntheticResourceUpdateListStringListString.md)
- [SyntheticResourceUpdateMapStringStringListString](docs/SyntheticResourceUpdateMapStringStringListString.md)
Expand Down Expand Up @@ -1153,6 +1157,7 @@ Class | Method | HTTP request | Description
- [TrafficBlueprintIndicator](docs/TrafficBlueprintIndicator.md)
- [Trigger](docs/Trigger.md)
- [TypeConfiguration](docs/TypeConfiguration.md)
- [UnifiedBeacon](docs/UnifiedBeacon.md)
- [UnsupportedHttpPathSegmentMatchingRule](docs/UnsupportedHttpPathSegmentMatchingRule.md)
- [UpdateEvaluationRequest](docs/UpdateEvaluationRequest.md)
- [UpdatedBusinessPerspectiveConfig](docs/UpdatedBusinessPerspectiveConfig.md)
Expand Down
3 changes: 3 additions & 0 deletions docs/AbstractIntegration.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ Name | Type | Description | Notes
**id** | **str** | Unique ID of the returned Alert Channel |
**kind** | **str** | The type of the Alerting Channel. |
**name** | **str** | The name of the Alerting Channel. |
**test_event_type** | **str** | | [optional]
**test_severity** | **str** | | [optional]
**test_state** | **str** | | [optional]
**timezone** | **str** | The timezone to be used for DateTime | [optional]

## Example
Expand Down
1 change: 1 addition & 0 deletions docs/ApiToken.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ Name | Type | Description | Notes
**can_configure_logging_perspectives** | **bool** | | [optional]
**can_configure_maintenance_windows** | **bool** | | [optional]
**can_configure_mobile_app_business_criticality** | **bool** | | [optional]
**can_configure_mobile_app_conversions** | **bool** | | [optional]
**can_configure_mobile_app_monitoring** | **bool** | | [optional]
**can_configure_mobile_app_smart_alerts** | **bool** | | [optional]
**can_configure_network_integrations** | **bool** | | [optional]
Expand Down
1 change: 1 addition & 0 deletions docs/ApplicationAlertConfig.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ Name | Type | Description | Notes
**evaluation_type** | **str** | Determines whether calls of the aggregated metrics are grouped by the application, the service, or the endpoint. This also determines whether the resulting events are categorized as an issue on the respective entity of that group. |
**grace_period** | **int** | The duration for which an alert remains open after conditions are no longer violated, with the alert auto-closing once the grace period expires. | [optional]
**granularity** | **int** | The evaluation granularity used for detection of violations of the defined threshold. Defines the size of the tumbling window used. | [default to 600000]
**group_by** | [**List[GroupByTag]**](GroupByTag.md) | The grouping tags used to group the metric results. Only applicable when evaluationType is CUSTOM. | [optional]
**include_internal** | **bool** | Flag to include Internal Calls. These calls are work done inside a service and correspond to intermediate spans in custom tracing. | [optional]
**include_synthetic** | **bool** | Flag to include Synthetic Calls. These calls have a synthetic endpoint as their destination, such as calls to health-check endpoints. | [optional]
**name** | **str** | Name of the application alert configuration. Used as a template for the title of alert/event notifications triggered by this Smart Alert configuration. |
Expand Down
2 changes: 2 additions & 0 deletions docs/ApplicationAlertConfigWithMetadata.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,12 @@ Name | Type | Description | Notes
**created** | **int** | Unix timestamp representing the creation time of this revision. | [optional]
**custom_payload_fields** | [**List[CustomPayloadField]**](CustomPayloadField.md) | Custom payload fields to send additional information in the alert notifications. Can be left empty. |
**description** | **str** | Description of the application alert configuration. Used as a template for the description of alert/event notifications triggered by this Smart Alert configuration. |
**display_url** | **str** | Absolute URL of this configuration in the Instana UI. | [optional] [readonly]
**enabled** | **bool** | Flag to indicate whether or not the configuration is enabled. | [optional]
**evaluation_type** | **str** | Determines whether calls of the aggregated metrics are grouped by the application, the service, or the endpoint. This also determines whether the resulting events are categorized as an issue on the respective entity of that group. |
**grace_period** | **int** | The duration for which an alert remains open after conditions are no longer violated, with the alert auto-closing once the grace period expires. | [optional]
**granularity** | **int** | The evaluation granularity used for detection of violations of the defined threshold. Defines the size of the tumbling window used. | [default to 600000]
**group_by** | [**List[GroupByTag]**](GroupByTag.md) | The grouping tags used to group the metric results. Only applicable when evaluationType is CUSTOM. | [optional]
**id** | **str** | ID of this Application App Alert Config. |
**include_internal** | **bool** | Flag to include Internal Calls. These calls are work done inside a service and correspond to intermediate spans in custom tracing. | [optional]
**include_synthetic** | **bool** | Flag to include Synthetic Calls. These calls have a synthetic endpoint as their destination, such as calls to health-check endpoints. | [optional]
Expand Down
1 change: 1 addition & 0 deletions docs/BrowserScriptConfiguration.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Name | Type | Description | Notes
**browser** | **str** | | [optional]
**file_name** | **str** | | [optional]
**github** | [**GitHubConfiguration**](GitHubConfiguration.md) | | [optional]
**profiles** | **List[str]** | | [optional]
**record_video** | **bool** | | [optional]
**script** | **str** | | [optional]
**script_type** | **str** | | [optional]
Expand Down
1 change: 1 addition & 0 deletions docs/BrowserScriptConfigurationUpdate.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Name | Type | Description | Notes
**browser** | **str** | | [optional]
**file_name** | **str** | | [optional]
**github** | [**GitHubConfiguration**](GitHubConfiguration.md) | | [optional]
**profiles** | [**SyntheticResourceUpdateListNetworkProfileListNetworkProfile**](SyntheticResourceUpdateListNetworkProfileListNetworkProfile.md) | | [optional]
**record_video** | **bool** | | [optional]
**script** | **str** | | [optional]
**script_type** | **str** | | [optional]
Expand Down
1 change: 1 addition & 0 deletions docs/CustomEventSpecificationWithLastUpdated.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Name | Type | Description | Notes
**application_alert_config_id** | **str** | | [optional]
**deleted** | **bool** | | [optional]
**description** | **str** | | [optional]
**display_url** | **str** | Absolute URL of this configuration in the Instana UI. | [optional] [readonly]
**enabled** | **bool** | | [optional]
**entity_type** | **str** | |
**expiration_time** | **int** | | [optional]
Expand Down
8 changes: 4 additions & 4 deletions docs/EventSettingsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -825,7 +825,7 @@ configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"]
with instana_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = instana_client.EventSettingsApi(api_client)
mobile_app_alert_config = {"name":"HTTP Status Code(s): 5XX","description":"Occurrences of HTTP Status Code 5XX (Server Error) is above the expectation.","mobileAppId":"tk2OLeusR3aQJD5h-rBh2A","severity":5,"triggering":false,"tagFilterExpression":{"type":"EXPRESSION","logicalOperator":"AND","elements":[]},"rule":{"alertType":"statusCode","metricName":"httpxxx","operator":"STARTS_WITH","value":"5","aggregation":"SUM"},"threshold":{"type":"staticThreshold","operator":">=","value":5,"lastUpdated":0},"alertChannelIds":[],"granularity":600000,"timeThreshold":{"type":"violationsInSequence","timeWindow":600000},"customPayloadFields":[]} # MobileAppAlertConfig |
mobile_app_alert_config = {"name":"HTTP Status Code(s): 5XX","description":"Occurrences of HTTP Status Code 5XX (Server Error) is above the expectation.","mobileAppId":"tk2OLeusR3aQJD5h-rBh2A","severity":5,"triggering":false,"tagFilterExpression":{"type":"EXPRESSION","logicalOperator":"AND","elements":[]},"rule":{"alertType":"statusCode","metricName":"httpxxx","operator":"STARTS_WITH","value":"5","aggregation":"SUM"},"threshold":{"type":"staticThreshold","operator":">=","value":5.0,"lastUpdated":0},"alertChannelIds":[],"granularity":600000,"timeThreshold":{"type":"violationsInSequence","timeWindow":600000},"customPayloadFields":[]} # MobileAppAlertConfig |

try:
# Create Mobile Smart Alert Config
Expand Down Expand Up @@ -908,7 +908,7 @@ configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"]
with instana_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = instana_client.EventSettingsApi(api_client)
website_alert_config = {"name":"onLoad Time (90th) is too high","description":"The onLoad Time (90th) is above the expectation.","websiteId":"XIZGGVT1TX2O-0OFeT2Yig","severity":5,"triggering":false,"tagFilterExpression":{"type":"EXPRESSION","logicalOperator":"AND","elements":[]},"rule":{"alertType":"slowness","metricName":"onLoadTime","aggregation":"P90"},"threshold":{"type":"historicBaseline","operator":">=","seasonality":"DAILY","baseline":[[0,239.164,6.1026],[600000,240.0013,7.4109],[85200000,241.3653,3],[85800000,239.4759,3.9012]],"deviationFactor":3,"lastUpdated":0},"alertChannelIds":[],"granularity":600000,"timeThreshold":{"type":"violationsInSequence","timeWindow":600000},"customPayloadFields":[{"type":"staticString","key":"1","value":"2"},{"type":"dynamic","key":"2","value":{"tagName":"beacon.website.name","key":null}}]} # WebsiteAlertConfig |
website_alert_config = {"name":"onLoad Time (90th) is too high","description":"The onLoad Time (90th) is above the expectation.","websiteId":"XIZGGVT1TX2O-0OFeT2Yig","severity":5,"triggering":false,"tagFilterExpression":{"type":"EXPRESSION","logicalOperator":"AND","elements":[]},"rule":{"alertType":"slowness","metricName":"onLoadTime","aggregation":"P90"},"threshold":{"type":"historicBaseline","operator":">=","seasonality":"DAILY","baseline":[[0,239.164,6.1026],[600000,240.0013,7.4109],[85200000,241.3653,3],[85800000,239.4759,3.9012]],"deviationFactor":3.0,"lastUpdated":0},"alertChannelIds":[],"granularity":600000,"timeThreshold":{"type":"violationsInSequence","timeWindow":600000},"customPayloadFields":[{"type":"staticString","key":"1","value":"2"},{"type":"dynamic","key":"2","value":{"tagName":"beacon.website.name","key":null}}]} # WebsiteAlertConfig |

try:
# Create Website Smart Alert Config
Expand Down Expand Up @@ -4843,7 +4843,7 @@ with instana_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = instana_client.EventSettingsApi(api_client)
id = 'qOW5jlR5TQafXKWDIceRkA' # str | ID of a specific Mobile Smart Alert Configuration to update.
mobile_app_alert_config = {"name":"HTTP Status Code(s): 5XX","description":"Occurrences of HTTP Status Code 5XX (Server Error) is above the expectation.","mobileAppId":"tk2OLeusR3aQJD5h-rBh2A","severity":5,"triggering":false,"tagFilterExpression":{"type":"EXPRESSION","logicalOperator":"AND","elements":[]},"rule":{"alertType":"statusCode","metricName":"httpxxx","operator":"STARTS_WITH","value":"5","aggregation":"SUM"},"threshold":{"type":"staticThreshold","operator":">=","value":5,"lastUpdated":0},"alertChannelIds":[],"granularity":600000,"timeThreshold":{"type":"violationsInSequence","timeWindow":600000},"customPayloadFields":[]} # MobileAppAlertConfig |
mobile_app_alert_config = {"name":"HTTP Status Code(s): 5XX","description":"Occurrences of HTTP Status Code 5XX (Server Error) is above the expectation.","mobileAppId":"tk2OLeusR3aQJD5h-rBh2A","severity":5,"triggering":false,"tagFilterExpression":{"type":"EXPRESSION","logicalOperator":"AND","elements":[]},"rule":{"alertType":"statusCode","metricName":"httpxxx","operator":"STARTS_WITH","value":"5","aggregation":"SUM"},"threshold":{"type":"staticThreshold","operator":">=","value":5.0,"lastUpdated":0},"alertChannelIds":[],"granularity":600000,"timeThreshold":{"type":"violationsInSequence","timeWindow":600000},"customPayloadFields":[]} # MobileAppAlertConfig |

try:
# Update Mobile Smart Alert Config
Expand Down Expand Up @@ -5096,7 +5096,7 @@ with instana_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = instana_client.EventSettingsApi(api_client)
id = 'G-h5p0znTHan2m2U3c-Z1Q' # str | ID of a specific Website Smart Alert Configuration to update.
website_alert_config = {"name":"onLoad Time (90th) is too high","description":"The onLoad Time (90th) is above the expectation.","websiteId":"XIZGGVT1TX2O-0OFeT2Yig","severity":5,"triggering":false,"tagFilterExpression":{"type":"EXPRESSION","logicalOperator":"AND","elements":[]},"rule":{"alertType":"slowness","metricName":"onLoadTime","aggregation":"P90"},"threshold":{"type":"historicBaseline","operator":">=","seasonality":"DAILY","baseline":[[0,239.164,6.1026],[600000,240.0013,7.4109],[85200000,241.3653,3],[85800000,239.4759,3.9012]],"deviationFactor":3,"lastUpdated":0},"alertChannelIds":[],"granularity":600000,"timeThreshold":{"type":"violationsInSequence","timeWindow":600000},"customPayloadFields":[{"type":"staticString","key":"1","value":"2"},{"type":"dynamic","key":"2","value":{"tagName":"beacon.website.name","key":null}}]} # WebsiteAlertConfig |
website_alert_config = {"name":"onLoad Time (90th) is too high","description":"The onLoad Time (90th) is above the expectation.","websiteId":"XIZGGVT1TX2O-0OFeT2Yig","severity":5,"triggering":false,"tagFilterExpression":{"type":"EXPRESSION","logicalOperator":"AND","elements":[]},"rule":{"alertType":"slowness","metricName":"onLoadTime","aggregation":"P90"},"threshold":{"type":"historicBaseline","operator":">=","seasonality":"DAILY","baseline":[[0,239.164,6.1026],[600000,240.0013,7.4109],[85200000,241.3653,3],[85800000,239.4759,3.9012]],"deviationFactor":3.0,"lastUpdated":0},"alertChannelIds":[],"granularity":600000,"timeThreshold":{"type":"violationsInSequence","timeWindow":600000},"customPayloadFields":[{"type":"staticString","key":"1","value":"2"},{"type":"dynamic","key":"2","value":{"tagName":"beacon.website.name","key":null}}]} # WebsiteAlertConfig |

try:
# Update Website Smart Alert Config
Expand Down
1 change: 1 addition & 0 deletions docs/EventSpecificationInfo.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**description** | **str** | | [optional]
**display_url** | **str** | Absolute URL of this configuration in the Instana UI. | [optional] [readonly]
**enabled** | **bool** | | [optional]
**entity_type** | **str** | |
**id** | **str** | |
Expand Down
Loading
Loading