instana-client 1.0.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- instana_client/__init__.py +534 -0
- instana_client/api/__init__.py +58 -0
- instana_client/api/action_catalog_api.py +1380 -0
- instana_client/api/action_history_api.py +1793 -0
- instana_client/api/apdex_report_api.py +338 -0
- instana_client/api/apdex_settings_api.py +1353 -0
- instana_client/api/api_token_api.py +1370 -0
- instana_client/api/application_alert_configuration_api.py +2865 -0
- instana_client/api/application_analyze_api.py +2017 -0
- instana_client/api/application_catalog_api.py +885 -0
- instana_client/api/application_metrics_api.py +1211 -0
- instana_client/api/application_resources_api.py +1487 -0
- instana_client/api/application_settings_api.py +7261 -0
- instana_client/api/application_topology_api.py +354 -0
- instana_client/api/audit_log_api.py +635 -0
- instana_client/api/authentication_api.py +1008 -0
- instana_client/api/business_monitoring_api.py +2177 -0
- instana_client/api/custom_dashboards_api.py +1930 -0
- instana_client/api/event_settings_api.py +14613 -0
- instana_client/api/events_api.py +1654 -0
- instana_client/api/global_application_alert_configuration_api.py +2606 -0
- instana_client/api/groups_api.py +4078 -0
- instana_client/api/health_api.py +527 -0
- instana_client/api/host_agent_api.py +2120 -0
- instana_client/api/infrastructure_alert_configuration_api.py +2524 -0
- instana_client/api/infrastructure_analyze_api.py +1141 -0
- instana_client/api/infrastructure_catalog_api.py +1822 -0
- instana_client/api/infrastructure_metrics_api.py +331 -0
- instana_client/api/infrastructure_resources_api.py +1880 -0
- instana_client/api/infrastructure_topology_api.py +595 -0
- instana_client/api/log_alert_configuration_api.py +2524 -0
- instana_client/api/maintenance_configuration_api.py +2683 -0
- instana_client/api/mobile_app_analyze_api.py +613 -0
- instana_client/api/mobile_app_catalog_api.py +825 -0
- instana_client/api/mobile_app_configuration_api.py +2847 -0
- instana_client/api/mobile_app_metrics_api.py +892 -0
- instana_client/api/policies_api.py +1755 -0
- instana_client/api/releases_api.py +1408 -0
- instana_client/api/service_levels_alert_configuration_api.py +2577 -0
- instana_client/api/service_levels_objective_slo_configurations_api.py +1825 -0
- instana_client/api/service_levels_objective_slo_report_api.py +335 -0
- instana_client/api/session_settings_api.py +801 -0
- instana_client/api/sli_report_api.py +352 -0
- instana_client/api/sli_settings_api.py +2677 -0
- instana_client/api/synthetic_alert_configuration_api.py +2606 -0
- instana_client/api/synthetic_calls_api.py +789 -0
- instana_client/api/synthetic_catalog_api.py +543 -0
- instana_client/api/synthetic_metrics_api.py +322 -0
- instana_client/api/synthetic_settings_api.py +5144 -0
- instana_client/api/synthetic_test_playback_results_api.py +2142 -0
- instana_client/api/usage_api.py +1404 -0
- instana_client/api/user_api.py +2404 -0
- instana_client/api/website_analyze_api.py +619 -0
- instana_client/api/website_catalog_api.py +832 -0
- instana_client/api/website_configuration_api.py +3745 -0
- instana_client/api/website_metrics_api.py +889 -0
- instana_client/api_client.py +798 -0
- instana_client/api_response.py +21 -0
- instana_client/configuration.py +616 -0
- instana_client/exceptions.py +217 -0
- instana_client/models/__init__.py +464 -0
- instana_client/models/abstract_integration.py +155 -0
- instana_client/models/abstract_rule.py +124 -0
- instana_client/models/access_log_entry.py +105 -0
- instana_client/models/access_log_response.py +98 -0
- instana_client/models/access_rule.py +107 -0
- instana_client/models/action.py +135 -0
- instana_client/models/action_configuration.py +104 -0
- instana_client/models/action_instance.py +185 -0
- instana_client/models/action_instance_metadata_entry.py +90 -0
- instana_client/models/action_instance_parameter.py +94 -0
- instana_client/models/action_instance_request.py +108 -0
- instana_client/models/action_instance_request_parameters.py +92 -0
- instana_client/models/action_match.py +98 -0
- instana_client/models/action_search_space.py +94 -0
- instana_client/models/adaptive_baseline.py +92 -0
- instana_client/models/adaptive_threshold_rule.py +91 -0
- instana_client/models/adjusted_timeframe.py +91 -0
- instana_client/models/agent_configuration_update.py +93 -0
- instana_client/models/alerting_configuration.py +113 -0
- instana_client/models/alerting_configuration_with_last_updated.py +115 -0
- instana_client/models/alerting_time_window.py +109 -0
- instana_client/models/apdex_configuration.py +99 -0
- instana_client/models/apdex_configuration_input.py +95 -0
- instana_client/models/apdex_entity.py +119 -0
- instana_client/models/apdex_report.py +94 -0
- instana_client/models/api_create_group.py +104 -0
- instana_client/models/api_group.py +107 -0
- instana_client/models/api_member.py +90 -0
- instana_client/models/api_permission_set.py +178 -0
- instana_client/models/api_restricted_application_filter.py +108 -0
- instana_client/models/api_token.py +250 -0
- instana_client/models/app_data_metric_configuration.py +105 -0
- instana_client/models/application.py +104 -0
- instana_client/models/application_alert_config.py +203 -0
- instana_client/models/application_alert_config_with_metadata.py +213 -0
- instana_client/models/application_alert_rule.py +135 -0
- instana_client/models/application_apdex_entity.py +111 -0
- instana_client/models/application_config.py +131 -0
- instana_client/models/application_event_result.py +108 -0
- instana_client/models/application_item.py +94 -0
- instana_client/models/application_metric_result.py +109 -0
- instana_client/models/application_node.py +106 -0
- instana_client/models/application_result.py +102 -0
- instana_client/models/application_scope.py +89 -0
- instana_client/models/application_scope_with_metadata.py +90 -0
- instana_client/models/application_sli_entity.py +103 -0
- instana_client/models/application_slo_entity.py +112 -0
- instana_client/models/application_time_threshold.py +115 -0
- instana_client/models/audit_log_entry.py +102 -0
- instana_client/models/audit_log_ui_response.py +98 -0
- instana_client/models/author.py +100 -0
- instana_client/models/availability_blueprint_indicator.py +106 -0
- instana_client/models/availability_sli_entity.py +138 -0
- instana_client/models/available_metrics.py +96 -0
- instana_client/models/available_plugins.py +88 -0
- instana_client/models/backend_trace_reference.py +88 -0
- instana_client/models/binary_operator_dto.py +107 -0
- instana_client/models/browser_script_configuration.py +127 -0
- instana_client/models/built_in_event_specification.py +123 -0
- instana_client/models/built_in_event_specification_with_last_updated.py +125 -0
- instana_client/models/business_activity.py +132 -0
- instana_client/models/business_perspective_config.py +99 -0
- instana_client/models/call_groups_item.py +95 -0
- instana_client/models/call_groups_result.py +111 -0
- instana_client/models/call_relation.py +100 -0
- instana_client/models/change_summary.py +101 -0
- instana_client/models/cloudfoundry_physical_context.py +104 -0
- instana_client/models/condition.py +88 -0
- instana_client/models/config_version.py +101 -0
- instana_client/models/crash_mobile_app_alert_rule.py +90 -0
- instana_client/models/cursor_paginated_business_activity_item.py +96 -0
- instana_client/models/cursor_pagination.py +93 -0
- instana_client/models/cursor_pagination_infra_explore_cursor.py +90 -0
- instana_client/models/custom_blueprint_indicator.py +104 -0
- instana_client/models/custom_dashboard.py +111 -0
- instana_client/models/custom_dashboard_preview.py +103 -0
- instana_client/models/custom_email_subject_prefix.py +94 -0
- instana_client/models/custom_event_mobile_app_alert_rule.py +92 -0
- instana_client/models/custom_event_specification.py +133 -0
- instana_client/models/custom_event_specification_with_last_updated.py +143 -0
- instana_client/models/custom_event_website_alert_rule.py +92 -0
- instana_client/models/custom_payload_configuration.py +97 -0
- instana_client/models/custom_payload_field.py +112 -0
- instana_client/models/custom_payload_with_last_updated.py +99 -0
- instana_client/models/dashboard_api_token.py +90 -0
- instana_client/models/database_integration.py +90 -0
- instana_client/models/deprecated_tag_filter.py +111 -0
- instana_client/models/dns_action_configuration.py +134 -0
- instana_client/models/dns_action_filter_query_time.py +99 -0
- instana_client/models/dns_action_filter_target_value.py +106 -0
- instana_client/models/duration.py +98 -0
- instana_client/models/dynamic_field.py +95 -0
- instana_client/models/dynamic_field_value.py +90 -0
- instana_client/models/dynamic_parameter.py +94 -0
- instana_client/models/edit_user.py +88 -0
- instana_client/models/email_integration.py +98 -0
- instana_client/models/empty_configuration.py +92 -0
- instana_client/models/endpoint.py +131 -0
- instana_client/models/endpoint_config.py +112 -0
- instana_client/models/endpoint_event_result.py +112 -0
- instana_client/models/endpoint_item.py +94 -0
- instana_client/models/endpoint_metric_result.py +109 -0
- instana_client/models/endpoint_node.py +91 -0
- instana_client/models/endpoint_result.py +102 -0
- instana_client/models/endpoint_simple.py +102 -0
- instana_client/models/entity_count_rule.py +100 -0
- instana_client/models/entity_count_verification_rule.py +114 -0
- instana_client/models/entity_health_info.py +99 -0
- instana_client/models/entity_id.py +92 -0
- instana_client/models/entity_verification_rule.py +105 -0
- instana_client/models/error_budget_alert_rule.py +97 -0
- instana_client/models/errors_application_alert_rule.py +90 -0
- instana_client/models/event.py +127 -0
- instana_client/models/event_filtering_configuration.py +106 -0
- instana_client/models/event_result.py +145 -0
- instana_client/models/event_specification_info.py +114 -0
- instana_client/models/extended_service.py +123 -0
- instana_client/models/failure_synthetic_alert_rule.py +90 -0
- instana_client/models/fixed_http_path_segment_matching_rule.py +90 -0
- instana_client/models/fixed_time_window.py +93 -0
- instana_client/models/full_trace.py +97 -0
- instana_client/models/generic_infra_alert_rule.py +93 -0
- instana_client/models/geo_location_configuration.py +106 -0
- instana_client/models/geo_mapping_rule.py +120 -0
- instana_client/models/geo_subdivision.py +91 -0
- instana_client/models/get_activities.py +115 -0
- instana_client/models/get_application_metrics.py +112 -0
- instana_client/models/get_applications.py +150 -0
- instana_client/models/get_available_metrics_query.py +103 -0
- instana_client/models/get_available_plugins_query.py +98 -0
- instana_client/models/get_call_groups.py +141 -0
- instana_client/models/get_combined_metrics.py +103 -0
- instana_client/models/get_dynamic_parameter_values.py +100 -0
- instana_client/models/get_endpoints.py +150 -0
- instana_client/models/get_infrastructure_groups_query.py +127 -0
- instana_client/models/get_infrastructure_query.py +127 -0
- instana_client/models/get_metrics_result.py +128 -0
- instana_client/models/get_mobile_app_beacon_groups.py +146 -0
- instana_client/models/get_mobile_app_beacons.py +118 -0
- instana_client/models/get_mobile_app_metrics.py +122 -0
- instana_client/models/get_mobile_app_metrics_v2.py +118 -0
- instana_client/models/get_payload_keys_result.py +88 -0
- instana_client/models/get_services.py +147 -0
- instana_client/models/get_snapshots_query.py +95 -0
- instana_client/models/get_test_result.py +139 -0
- instana_client/models/get_test_result_base.py +120 -0
- instana_client/models/get_test_result_list.py +125 -0
- instana_client/models/get_test_summary_result.py +130 -0
- instana_client/models/get_trace_download_result_item.py +114 -0
- instana_client/models/get_trace_groups.py +141 -0
- instana_client/models/get_traces.py +125 -0
- instana_client/models/get_website_beacon_groups.py +146 -0
- instana_client/models/get_website_beacons.py +118 -0
- instana_client/models/get_website_metrics.py +122 -0
- instana_client/models/get_website_metrics_v2.py +118 -0
- instana_client/models/global_application_alert_config_with_metadata.py +205 -0
- instana_client/models/global_applications_alert_config.py +191 -0
- instana_client/models/google_chat_integration.py +92 -0
- instana_client/models/graph_edge.py +102 -0
- instana_client/models/graph_node.py +100 -0
- instana_client/models/group.py +100 -0
- instana_client/models/group_by_tag.py +90 -0
- instana_client/models/group_mapping.py +95 -0
- instana_client/models/health_state.py +100 -0
- instana_client/models/historic_baseline.py +105 -0
- instana_client/models/host_availability_rule.py +100 -0
- instana_client/models/http_action_configuration.py +127 -0
- instana_client/models/http_endpoint_config.py +103 -0
- instana_client/models/http_endpoint_rule.py +101 -0
- instana_client/models/http_path_segment_matching_rule.py +124 -0
- instana_client/models/http_script_configuration.py +113 -0
- instana_client/models/hyper_param.py +111 -0
- instana_client/models/identity_provider_patch.py +88 -0
- instana_client/models/infra_alert_config.py +166 -0
- instana_client/models/infra_alert_config_with_metadata.py +176 -0
- instana_client/models/infra_alert_rule.py +133 -0
- instana_client/models/infra_event_result.py +109 -0
- instana_client/models/infra_metric_configuration.py +115 -0
- instana_client/models/infra_time_threshold.py +109 -0
- instana_client/models/infrastructure_entities_result.py +109 -0
- instana_client/models/infrastructure_group.py +92 -0
- instana_client/models/infrastructure_groups_result.py +109 -0
- instana_client/models/infrastructure_item.py +104 -0
- instana_client/models/infrastructure_metric_result.py +96 -0
- instana_client/models/instana_version_info.py +92 -0
- instana_client/models/integration_overview.py +94 -0
- instana_client/models/invitation.py +94 -0
- instana_client/models/invitation_response.py +96 -0
- instana_client/models/invitation_result.py +100 -0
- instana_client/models/ip_masking_configuration.py +95 -0
- instana_client/models/js_stack_trace_line.py +99 -0
- instana_client/models/kubernetes_physical_context.py +107 -0
- instana_client/models/latency_blueprint_indicator.py +106 -0
- instana_client/models/location_status.py +96 -0
- instana_client/models/log_alert_config.py +154 -0
- instana_client/models/log_alert_config_with_metadata.py +164 -0
- instana_client/models/log_alert_rule.py +120 -0
- instana_client/models/log_count_alert_rule.py +90 -0
- instana_client/models/log_entry_actor.py +101 -0
- instana_client/models/log_event_result.py +107 -0
- instana_client/models/log_time_threshold.py +109 -0
- instana_client/models/logs_application_alert_rule.py +122 -0
- instana_client/models/maintenance_config.py +103 -0
- instana_client/models/maintenance_config_scheduling.py +118 -0
- instana_client/models/maintenance_config_v2.py +111 -0
- instana_client/models/maintenance_config_v2_with_state_and_occurrence.py +131 -0
- instana_client/models/maintenance_config_with_last_updated.py +105 -0
- instana_client/models/maintenance_window.py +93 -0
- instana_client/models/manual_alerting_channel_configuration.py +99 -0
- instana_client/models/manual_close_info.py +99 -0
- instana_client/models/manual_service_config.py +103 -0
- instana_client/models/match_all_http_path_segment_matching_rule.py +88 -0
- instana_client/models/match_expression_dto.py +111 -0
- instana_client/models/meta_data.py +96 -0
- instana_client/models/metric_api_result.py +94 -0
- instana_client/models/metric_config.py +99 -0
- instana_client/models/metric_configuration.py +103 -0
- instana_client/models/metric_description.py +116 -0
- instana_client/models/metric_instance.py +105 -0
- instana_client/models/metric_item.py +102 -0
- instana_client/models/metric_metadata.py +132 -0
- instana_client/models/metric_pattern.py +101 -0
- instana_client/models/metrics_result.py +96 -0
- instana_client/models/metrics_result_item.py +100 -0
- instana_client/models/metrics_test_result_item.py +102 -0
- instana_client/models/mobile_app.py +91 -0
- instana_client/models/mobile_app_alert_config.py +162 -0
- instana_client/models/mobile_app_alert_rule.py +129 -0
- instana_client/models/mobile_app_beacon_groups_item.py +95 -0
- instana_client/models/mobile_app_beacon_groups_result.py +111 -0
- instana_client/models/mobile_app_beacon_result.py +111 -0
- instana_client/models/mobile_app_beacon_tag_group.py +100 -0
- instana_client/models/mobile_app_beacons_item.py +94 -0
- instana_client/models/mobile_app_event_result.py +108 -0
- instana_client/models/mobile_app_metric_result.py +88 -0
- instana_client/models/mobile_app_monitoring_beacon.py +259 -0
- instana_client/models/mobile_app_monitoring_metric_description.py +123 -0
- instana_client/models/mobile_app_monitoring_metrics_configuration.py +105 -0
- instana_client/models/mobile_app_time_threshold.py +115 -0
- instana_client/models/model_field.py +96 -0
- instana_client/models/monitoring_state.py +92 -0
- instana_client/models/multiple_scripts_configuration.py +90 -0
- instana_client/models/new_application_config.py +129 -0
- instana_client/models/new_business_perspective_config.py +97 -0
- instana_client/models/new_manual_service_config.py +100 -0
- instana_client/models/occurrence.py +91 -0
- instana_client/models/office365_integration.py +92 -0
- instana_client/models/one_time_maintenance_window.py +94 -0
- instana_client/models/opsgenie_integration.py +105 -0
- instana_client/models/order.py +99 -0
- instana_client/models/pagerduty_integration.py +92 -0
- instana_client/models/paginated_result.py +95 -0
- instana_client/models/pagination.py +91 -0
- instana_client/models/parameter.py +102 -0
- instana_client/models/parameter_value.py +90 -0
- instana_client/models/path_parameter_http_path_segment_matching_rule.py +90 -0
- instana_client/models/physical_context.py +119 -0
- instana_client/models/plugin_result.py +90 -0
- instana_client/models/policy.py +113 -0
- instana_client/models/policy_runnable.py +103 -0
- instana_client/models/post_snapshots_result.py +98 -0
- instana_client/models/problem.py +95 -0
- instana_client/models/prometheus_webhook_integration.py +94 -0
- instana_client/models/recurrent_maintenance_window.py +98 -0
- instana_client/models/release.py +111 -0
- instana_client/models/release_scope.py +94 -0
- instana_client/models/release_with_metadata.py +125 -0
- instana_client/models/rolling_time_window.py +90 -0
- instana_client/models/rule_input.py +98 -0
- instana_client/models/rule_with_threshold_application_alert_rule.py +116 -0
- instana_client/models/rule_with_threshold_infra_alert_rule.py +116 -0
- instana_client/models/rule_with_threshold_log_alert_rule.py +116 -0
- instana_client/models/rule_with_threshold_mobile_app_alert_rule.py +116 -0
- instana_client/models/rule_with_threshold_website_alert_rule.py +116 -0
- instana_client/models/run_configuration.py +96 -0
- instana_client/models/salesforce_integration.py +98 -0
- instana_client/models/scope_binding.py +91 -0
- instana_client/models/search_field_result.py +116 -0
- instana_client/models/service.py +116 -0
- instana_client/models/service_config.py +107 -0
- instana_client/models/service_event_result.py +110 -0
- instana_client/models/service_item.py +94 -0
- instana_client/models/service_level_indicator.py +172 -0
- instana_client/models/service_level_objective_alert_rule.py +100 -0
- instana_client/models/service_level_objective_configuration.py +118 -0
- instana_client/models/service_levels_alert_config.py +133 -0
- instana_client/models/service_levels_alert_rule.py +111 -0
- instana_client/models/service_levels_burn_rate_time_windows.py +97 -0
- instana_client/models/service_levels_time_threshold.py +90 -0
- instana_client/models/service_levelse_alert_config_with_metadata.py +143 -0
- instana_client/models/service_map.py +106 -0
- instana_client/models/service_map_connection.py +97 -0
- instana_client/models/service_matching_rule.py +90 -0
- instana_client/models/service_metric_result.py +109 -0
- instana_client/models/service_node.py +106 -0
- instana_client/models/service_now_enhanced_integration.py +116 -0
- instana_client/models/service_now_integration.py +98 -0
- instana_client/models/service_result.py +102 -0
- instana_client/models/service_scope.py +95 -0
- instana_client/models/service_scope_with_metadata.py +96 -0
- instana_client/models/service_scoped_to.py +97 -0
- instana_client/models/service_scoped_to_with_metadata.py +97 -0
- instana_client/models/service_simple.py +90 -0
- instana_client/models/session_settings.py +91 -0
- instana_client/models/slack_integration.py +98 -0
- instana_client/models/sli_configuration.py +105 -0
- instana_client/models/sli_configuration_with_last_updated.py +107 -0
- instana_client/models/sli_entity.py +117 -0
- instana_client/models/sli_report.py +100 -0
- instana_client/models/slo_entity.py +119 -0
- instana_client/models/slo_report.py +112 -0
- instana_client/models/slowness_application_alert_rule.py +90 -0
- instana_client/models/slowness_website_alert_rule.py +90 -0
- instana_client/models/snapshot_item.py +102 -0
- instana_client/models/snapshot_preview.py +97 -0
- instana_client/models/snapshot_result.py +96 -0
- instana_client/models/software_user.py +94 -0
- instana_client/models/software_version.py +124 -0
- instana_client/models/source_map_file_blob.py +92 -0
- instana_client/models/source_map_file_meta.py +115 -0
- instana_client/models/source_map_upload_config.py +106 -0
- instana_client/models/span.py +156 -0
- instana_client/models/span_excerpt.py +132 -0
- instana_client/models/span_relation.py +114 -0
- instana_client/models/specific_js_errors_website_alert_rule.py +101 -0
- instana_client/models/splunk_integration.py +94 -0
- instana_client/models/ssl_certificate_configuration.py +99 -0
- instana_client/models/stack_trace_item.py +92 -0
- instana_client/models/stack_trace_line.py +99 -0
- instana_client/models/static_baseline_threshold_rule.py +102 -0
- instana_client/models/static_string_field.py +91 -0
- instana_client/models/static_threshold.py +94 -0
- instana_client/models/static_threshold_rule.py +91 -0
- instana_client/models/status_code_application_alert_rule.py +95 -0
- instana_client/models/status_code_mobile_app_alert_rule.py +101 -0
- instana_client/models/status_code_website_alert_rule.py +101 -0
- instana_client/models/synthetic_alert_config.py +127 -0
- instana_client/models/synthetic_alert_config_with_metadata.py +137 -0
- instana_client/models/synthetic_alert_rule.py +120 -0
- instana_client/models/synthetic_call_config.py +99 -0
- instana_client/models/synthetic_call_rule.py +99 -0
- instana_client/models/synthetic_call_with_defaults_config.py +108 -0
- instana_client/models/synthetic_credential.py +111 -0
- instana_client/models/synthetic_datacenter.py +117 -0
- instana_client/models/synthetic_datacenter_configuration.py +88 -0
- instana_client/models/synthetic_geo_point.py +94 -0
- instana_client/models/synthetic_location.py +129 -0
- instana_client/models/synthetic_location_configuration.py +102 -0
- instana_client/models/synthetic_metric_configuration.py +99 -0
- instana_client/models/synthetic_metric_tag_group.py +100 -0
- instana_client/models/synthetic_playback_capabilities.py +98 -0
- instana_client/models/synthetic_slo_entity.py +95 -0
- instana_client/models/synthetic_test.py +149 -0
- instana_client/models/synthetic_time_threshold.py +110 -0
- instana_client/models/synthetic_type_configuration.py +141 -0
- instana_client/models/synthetics_event_result.py +110 -0
- instana_client/models/system_rule.py +91 -0
- instana_client/models/system_rule_label.py +90 -0
- instana_client/models/tag.py +123 -0
- instana_client/models/tag_catalog.py +106 -0
- instana_client/models/tag_filter.py +113 -0
- instana_client/models/tag_filter_expression.py +106 -0
- instana_client/models/tag_filter_expression_element.py +111 -0
- instana_client/models/tag_matcher_dto.py +110 -0
- instana_client/models/tag_tree_level.py +109 -0
- instana_client/models/tag_tree_node.py +113 -0
- instana_client/models/tag_tree_tag.py +103 -0
- instana_client/models/test_common_properties.py +136 -0
- instana_client/models/test_result.py +105 -0
- instana_client/models/test_result_common_properties.py +108 -0
- instana_client/models/test_result_detail_data.py +112 -0
- instana_client/models/test_result_item.py +106 -0
- instana_client/models/test_result_list_item.py +94 -0
- instana_client/models/test_result_list_result.py +103 -0
- instana_client/models/test_result_metadata.py +94 -0
- instana_client/models/test_result_subtransaction.py +90 -0
- instana_client/models/threshold.py +122 -0
- instana_client/models/threshold_config_rule.py +114 -0
- instana_client/models/threshold_rule.py +125 -0
- instana_client/models/throughput_application_alert_rule.py +90 -0
- instana_client/models/throughput_mobile_app_alert_rule.py +90 -0
- instana_client/models/throughput_website_alert_rule.py +90 -0
- instana_client/models/time_frame.py +91 -0
- instana_client/models/time_window.py +120 -0
- instana_client/models/topology.py +106 -0
- instana_client/models/trace.py +109 -0
- instana_client/models/trace_activity_tree_node_details.py +139 -0
- instana_client/models/trace_download_result.py +111 -0
- instana_client/models/trace_groups_item.py +95 -0
- instana_client/models/trace_groups_result.py +111 -0
- instana_client/models/trace_impact_application_time_threshold.py +92 -0
- instana_client/models/trace_item.py +94 -0
- instana_client/models/trace_result.py +111 -0
- instana_client/models/traffic_blueprint_indicator.py +104 -0
- instana_client/models/trigger.py +99 -0
- instana_client/models/type_configuration.py +107 -0
- instana_client/models/unsupported_http_path_segment_matching_rule.py +90 -0
- instana_client/models/updated_business_perspective_config.py +97 -0
- instana_client/models/usage_result.py +98 -0
- instana_client/models/usage_result_items.py +90 -0
- instana_client/models/user_basic_result.py +92 -0
- instana_client/models/user_impact_mobile_app_time_threshold.py +103 -0
- instana_client/models/user_impact_website_time_threshold.py +103 -0
- instana_client/models/user_result.py +98 -0
- instana_client/models/users_result.py +106 -0
- instana_client/models/validated_alerting_channel_input_info.py +123 -0
- instana_client/models/validated_alerting_configuration.py +121 -0
- instana_client/models/validated_maintenance_config_v2_with_state_and_occurrence.py +135 -0
- instana_client/models/validated_maintenance_config_with_status.py +116 -0
- instana_client/models/victor_ops_integration.py +94 -0
- instana_client/models/violations_in_period_application_time_threshold.py +92 -0
- instana_client/models/violations_in_period_mobile_app_time_threshold.py +92 -0
- instana_client/models/violations_in_period_website_time_threshold.py +92 -0
- instana_client/models/violations_in_sequence_application_time_threshold.py +89 -0
- instana_client/models/violations_in_sequence_infra_time_threshold.py +89 -0
- instana_client/models/violations_in_sequence_log_time_threshold.py +89 -0
- instana_client/models/violations_in_sequence_mobile_app_time_threshold.py +89 -0
- instana_client/models/violations_in_sequence_synthetic_time_threshold.py +89 -0
- instana_client/models/violations_in_sequence_website_time_threshold.py +89 -0
- instana_client/models/watson_ai_ops_webhook_integration.py +94 -0
- instana_client/models/webex_teams_webhook_integration.py +92 -0
- instana_client/models/webhook_integration.py +94 -0
- instana_client/models/webpage_action_configuration.py +109 -0
- instana_client/models/webpage_script_configuration.py +109 -0
- instana_client/models/website.py +92 -0
- instana_client/models/website_alert_config.py +166 -0
- instana_client/models/website_alert_config_with_metadata.py +176 -0
- instana_client/models/website_alert_rule.py +132 -0
- instana_client/models/website_apdex_entity.py +107 -0
- instana_client/models/website_beacon_groups_item.py +95 -0
- instana_client/models/website_beacon_groups_result.py +111 -0
- instana_client/models/website_beacon_result.py +111 -0
- instana_client/models/website_beacon_tag_group.py +100 -0
- instana_client/models/website_beacons_item.py +94 -0
- instana_client/models/website_event_based_sli_entity.py +110 -0
- instana_client/models/website_event_result.py +108 -0
- instana_client/models/website_metric_result.py +88 -0
- instana_client/models/website_monitoring_beacon.py +301 -0
- instana_client/models/website_monitoring_metric_description.py +123 -0
- instana_client/models/website_monitoring_metrics_configuration.py +99 -0
- instana_client/models/website_slo_entity.py +104 -0
- instana_client/models/website_time_based_sli_entity.py +105 -0
- instana_client/models/website_time_threshold.py +115 -0
- instana_client/models/widget.py +103 -0
- instana_client/models/with_metadata.py +172 -0
- instana_client/models/with_resolved_name.py +102 -0
- instana_client/models/z_chat_ops_integration.py +97 -0
- instana_client/py.typed +0 -0
- instana_client/rest.py +258 -0
- instana_client-1.0.0.dist-info/METADATA +25 -0
- instana_client-1.0.0.dist-info/RECORD +515 -0
- instana_client-1.0.0.dist-info/WHEEL +5 -0
- instana_client-1.0.0.dist-info/licenses/LICENSE +202 -0
- instana_client-1.0.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,885 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Instana REST API documentation
|
|
5
|
+
|
|
6
|
+
Searching for answers and best pratices? Check our [IBM Instana Community](https://community.ibm.com/community/user/aiops/communities/community-home?CommunityKey=58f324a3-3104-41be-9510-5b7c413cc48f). ## Overview The Instana REST API provides programmatic access to the Instana platform. It can be used to retrieve data available through the Instana UI Dashboard -- metrics, events, traces, etc -- and also to automate configuration tasks such as user management. ### Navigating the API documentation The API endpoints are grouped by product area and functionality. This generally maps to how our UI Dashboard is organized, hopefully making it easier to locate which endpoints you'd use to fetch the data you see visualized in our UI. The [UI sections](https://www.ibm.com/docs/en/instana-observability/current?topic=working-user-interface#navigation-menu) include: - Websites & Mobile Apps - Applications - Infrastructure - Synthetic Monitoring - Events - Automation - Service Levels - Settings - etc ### Rate Limiting A rate limit is applied to API usage. Up to 5,000 calls per hour can be made. How many remaining calls can be made and when this call limit resets, can inspected via three headers that are part of the responses of the API server. - **X-RateLimit-Limit:** Shows the maximum number of calls that may be executed per hour. - **X-RateLimit-Remaining:** How many calls may still be executed within the current hour. - **X-RateLimit-Reset:** Time when the remaining calls will be reset to the limit. For compatibility reasons with other rate limited APIs, this date is not the date in milliseconds, but instead in seconds since 1970-01-01T00:00:00+00:00. ### Further Reading We provide additional documentation for our REST API in our [product documentation](https://www.ibm.com/docs/en/instana-observability/current?topic=apis-web-rest-api). Here you'll also find some common queries for retrieving data and configuring Instana. ## Getting Started with the REST API ### API base URL The base URL for an specific instance of Instana can be determined using the tenant and unit information. - `base`: This is the base URL of a tenant unit, e.g. `https://test-example.instana.io`. This is the same URL that is used to access the Instana user interface. - `apiToken`: Requests against the Instana API require valid API tokens. An initial API token can be generated via the Instana user interface. Any additional API tokens can be generated via the API itself. ### Curl Example Here is an Example to use the REST API with Curl. First lets get all the available metrics with possible aggregations with a GET call. ```bash curl --request GET \\ --url https://test-instana.instana.io/api/application-monitoring/catalog/metrics \\ --header 'authorization: apiToken xxxxxxxxxxxxxxxx' ``` Next we can get every call grouped by the endpoint name that has an error count greater then zero. As a metric we could get the mean error rate for example. ```bash curl --request POST \\ --url https://test-instana.instana.io/api/application-monitoring/analyze/call-groups \\ --header 'authorization: apiToken xxxxxxxxxxxxxxxx' \\ --header 'content-type: application/json' \\ --data '{ \"group\":{ \"groupbyTag\":\"endpoint.name\" }, \"tagFilters\":[ { \"name\":\"call.error.count\", \"value\":\"0\", \"operator\":\"GREATER_THAN\" } ], \"metrics\":[ { \"metric\":\"errors\", \"aggregation\":\"MEAN\" } ] }' ``` ### Generating REST API clients The API is specified using the [OpenAPI v3](https://github.com/OAI/OpenAPI-Specification) (previously known as Swagger) format. You can download the current specification at our [GitHub API documentation](https://instana.github.io/openapi/openapi.yaml). OpenAPI tries to solve the issue of ever-evolving APIs and clients lagging behind. Please make sure that you always use the latest version of the generator, as a number of improvements are regularly made. To generate a client library for your language, you can use the [OpenAPI client generators](https://github.com/OpenAPITools/openapi-generator). #### Go For example, to generate a client library for Go to interact with our backend, you can use the following script; mind replacing the values of the `UNIT_NAME` and `TENANT_NAME` environment variables using those for your tenant unit: ```bash #!/bin/bash ### This script assumes you have the `java` and `wget` commands on the path export UNIT_NAME='myunit' # for example: prod export TENANT_NAME='mytenant' # for example: awesomecompany //Download the generator to your current working directory: wget https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/4.3.1/openapi-generator-cli-4.3.1.jar -O openapi-generator-cli.jar --server-variables \"tenant=${TENANT_NAME},unit=${UNIT_NAME}\" //generate a client library that you can vendor into your repository java -jar openapi-generator-cli.jar generate -i https://instana.github.io/openapi/openapi.yaml -g go \\ -o pkg/instana/openapi \\ --skip-validate-spec //(optional) format the Go code according to the Go code standard gofmt -s -w pkg/instana/openapi ``` The generated clients contain comprehensive READMEs, and you can start right away using the client from the example above: ```go import instana \"./pkg/instana/openapi\" // readTags will read all available application monitoring tags along with their type and category func readTags() { configuration := instana.NewConfiguration() configuration.Host = \"tenant-unit.instana.io\" configuration.BasePath = \"https://tenant-unit.instana.io\" client := instana.NewAPIClient(configuration) auth := context.WithValue(context.Background(), instana.ContextAPIKey, instana.APIKey{ Key: apiKey, Prefix: \"apiToken\", }) tags, _, err := client.ApplicationCatalogApi.GetApplicationTagCatalog(auth) if err != nil { fmt.Fatalf(\"Error calling the API, aborting.\") } for _, tag := range tags { fmt.Printf(\"%s (%s): %s\\n\", tag.Category, tag.Type, tag.Name) } } ``` #### Java Follow the instructions provided in the official documentation from [OpenAPI Tools](https://github.com/OpenAPITools) to download the [openapi-generator-cli.jar](https://github.com/OpenAPITools/openapi-generator?tab=readme-ov-file#13---download-jar). Depending on your environment, use one of the following java http client implementations which will create a valid client for our OpenAPI specification: ``` //Nativ Java HTTP Client java -jar openapi-generator-cli.jar generate -i https://instana.github.io/openapi/openapi.yaml -g java -o pkg/instana/openapi --skip-validate-spec -p dateLibrary=java8 --library native //Spring WebClient java -jar openapi-generator-cli.jar generate -i https://instana.github.io/openapi/openapi.yaml -g java -o pkg/instana/openapi --skip-validate-spec -p dateLibrary=java8,hideGenerationTimestamp=true --library webclient //Spring RestTemplate java -jar openapi-generator-cli.jar generate -i https://instana.github.io/openapi/openapi.yaml -g java -o pkg/instana/openapi --skip-validate-spec -p dateLibrary=java8,hideGenerationTimestamp=true --library resttemplate ```
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 1.291.1002
|
|
9
|
+
Contact: support@instana.com
|
|
10
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
|
+
|
|
12
|
+
Do not edit the class manually.
|
|
13
|
+
""" # noqa: E501
|
|
14
|
+
|
|
15
|
+
import warnings
|
|
16
|
+
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
|
|
17
|
+
from typing import Any, Dict, List, Optional, Tuple, Union
|
|
18
|
+
from typing_extensions import Annotated
|
|
19
|
+
|
|
20
|
+
from pydantic import Field, StrictInt, StrictStr, field_validator
|
|
21
|
+
from typing import List, Optional
|
|
22
|
+
from typing_extensions import Annotated
|
|
23
|
+
from instana_client.models.metric_description import MetricDescription
|
|
24
|
+
from instana_client.models.tag import Tag
|
|
25
|
+
from instana_client.models.tag_catalog import TagCatalog
|
|
26
|
+
|
|
27
|
+
from instana_client.api_client import ApiClient, RequestSerialized
|
|
28
|
+
from instana_client.api_response import ApiResponse
|
|
29
|
+
from instana_client.rest import RESTResponseType
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
class ApplicationCatalogApi:
|
|
33
|
+
"""NOTE: This class is auto generated by OpenAPI Generator
|
|
34
|
+
Ref: https://openapi-generator.tech
|
|
35
|
+
|
|
36
|
+
Do not edit the class manually.
|
|
37
|
+
"""
|
|
38
|
+
|
|
39
|
+
def __init__(self, api_client=None) -> None:
|
|
40
|
+
if api_client is None:
|
|
41
|
+
api_client = ApiClient.get_default()
|
|
42
|
+
self.api_client = api_client
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
@validate_call
|
|
46
|
+
def get_application_catalog_metrics(
|
|
47
|
+
self,
|
|
48
|
+
_request_timeout: Union[
|
|
49
|
+
None,
|
|
50
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
51
|
+
Tuple[
|
|
52
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
53
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
54
|
+
]
|
|
55
|
+
] = None,
|
|
56
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
57
|
+
_content_type: Optional[StrictStr] = None,
|
|
58
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
59
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
60
|
+
) -> List[MetricDescription]:
|
|
61
|
+
"""Get Metric catalog
|
|
62
|
+
|
|
63
|
+
This endpoint retrieves all available metric definitions for application monitoring.
|
|
64
|
+
|
|
65
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
66
|
+
number provided, it will be total request
|
|
67
|
+
timeout. It can also be a pair (tuple) of
|
|
68
|
+
(connection, read) timeouts.
|
|
69
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
70
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
71
|
+
request; this effectively ignores the
|
|
72
|
+
authentication in the spec for a single request.
|
|
73
|
+
:type _request_auth: dict, optional
|
|
74
|
+
:param _content_type: force content-type for the request.
|
|
75
|
+
:type _content_type: str, Optional
|
|
76
|
+
:param _headers: set to override the headers for a single
|
|
77
|
+
request; this effectively ignores the headers
|
|
78
|
+
in the spec for a single request.
|
|
79
|
+
:type _headers: dict, optional
|
|
80
|
+
:param _host_index: set to override the host_index for a single
|
|
81
|
+
request; this effectively ignores the host_index
|
|
82
|
+
in the spec for a single request.
|
|
83
|
+
:type _host_index: int, optional
|
|
84
|
+
:return: Returns the result object.
|
|
85
|
+
""" # noqa: E501
|
|
86
|
+
|
|
87
|
+
_param = self._get_application_catalog_metrics_serialize(
|
|
88
|
+
_request_auth=_request_auth,
|
|
89
|
+
_content_type=_content_type,
|
|
90
|
+
_headers=_headers,
|
|
91
|
+
_host_index=_host_index
|
|
92
|
+
)
|
|
93
|
+
|
|
94
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
95
|
+
'200': "List[MetricDescription]",
|
|
96
|
+
}
|
|
97
|
+
response_data = self.api_client.call_api(
|
|
98
|
+
*_param,
|
|
99
|
+
_request_timeout=_request_timeout
|
|
100
|
+
)
|
|
101
|
+
response_data.read()
|
|
102
|
+
return self.api_client.response_deserialize(
|
|
103
|
+
response_data=response_data,
|
|
104
|
+
response_types_map=_response_types_map,
|
|
105
|
+
).data
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
@validate_call
|
|
109
|
+
def get_application_catalog_metrics_with_http_info(
|
|
110
|
+
self,
|
|
111
|
+
_request_timeout: Union[
|
|
112
|
+
None,
|
|
113
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
114
|
+
Tuple[
|
|
115
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
116
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
117
|
+
]
|
|
118
|
+
] = None,
|
|
119
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
120
|
+
_content_type: Optional[StrictStr] = None,
|
|
121
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
122
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
123
|
+
) -> ApiResponse[List[MetricDescription]]:
|
|
124
|
+
"""Get Metric catalog
|
|
125
|
+
|
|
126
|
+
This endpoint retrieves all available metric definitions for application monitoring.
|
|
127
|
+
|
|
128
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
129
|
+
number provided, it will be total request
|
|
130
|
+
timeout. It can also be a pair (tuple) of
|
|
131
|
+
(connection, read) timeouts.
|
|
132
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
133
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
134
|
+
request; this effectively ignores the
|
|
135
|
+
authentication in the spec for a single request.
|
|
136
|
+
:type _request_auth: dict, optional
|
|
137
|
+
:param _content_type: force content-type for the request.
|
|
138
|
+
:type _content_type: str, Optional
|
|
139
|
+
:param _headers: set to override the headers for a single
|
|
140
|
+
request; this effectively ignores the headers
|
|
141
|
+
in the spec for a single request.
|
|
142
|
+
:type _headers: dict, optional
|
|
143
|
+
:param _host_index: set to override the host_index for a single
|
|
144
|
+
request; this effectively ignores the host_index
|
|
145
|
+
in the spec for a single request.
|
|
146
|
+
:type _host_index: int, optional
|
|
147
|
+
:return: Returns the result object.
|
|
148
|
+
""" # noqa: E501
|
|
149
|
+
|
|
150
|
+
_param = self._get_application_catalog_metrics_serialize(
|
|
151
|
+
_request_auth=_request_auth,
|
|
152
|
+
_content_type=_content_type,
|
|
153
|
+
_headers=_headers,
|
|
154
|
+
_host_index=_host_index
|
|
155
|
+
)
|
|
156
|
+
|
|
157
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
158
|
+
'200': "List[MetricDescription]",
|
|
159
|
+
}
|
|
160
|
+
response_data = self.api_client.call_api(
|
|
161
|
+
*_param,
|
|
162
|
+
_request_timeout=_request_timeout
|
|
163
|
+
)
|
|
164
|
+
response_data.read()
|
|
165
|
+
return self.api_client.response_deserialize(
|
|
166
|
+
response_data=response_data,
|
|
167
|
+
response_types_map=_response_types_map,
|
|
168
|
+
)
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
@validate_call
|
|
172
|
+
def get_application_catalog_metrics_without_preload_content(
|
|
173
|
+
self,
|
|
174
|
+
_request_timeout: Union[
|
|
175
|
+
None,
|
|
176
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
177
|
+
Tuple[
|
|
178
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
179
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
180
|
+
]
|
|
181
|
+
] = None,
|
|
182
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
183
|
+
_content_type: Optional[StrictStr] = None,
|
|
184
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
185
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
186
|
+
) -> RESTResponseType:
|
|
187
|
+
"""Get Metric catalog
|
|
188
|
+
|
|
189
|
+
This endpoint retrieves all available metric definitions for application monitoring.
|
|
190
|
+
|
|
191
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
192
|
+
number provided, it will be total request
|
|
193
|
+
timeout. It can also be a pair (tuple) of
|
|
194
|
+
(connection, read) timeouts.
|
|
195
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
196
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
197
|
+
request; this effectively ignores the
|
|
198
|
+
authentication in the spec for a single request.
|
|
199
|
+
:type _request_auth: dict, optional
|
|
200
|
+
:param _content_type: force content-type for the request.
|
|
201
|
+
:type _content_type: str, Optional
|
|
202
|
+
:param _headers: set to override the headers for a single
|
|
203
|
+
request; this effectively ignores the headers
|
|
204
|
+
in the spec for a single request.
|
|
205
|
+
:type _headers: dict, optional
|
|
206
|
+
:param _host_index: set to override the host_index for a single
|
|
207
|
+
request; this effectively ignores the host_index
|
|
208
|
+
in the spec for a single request.
|
|
209
|
+
:type _host_index: int, optional
|
|
210
|
+
:return: Returns the result object.
|
|
211
|
+
""" # noqa: E501
|
|
212
|
+
|
|
213
|
+
_param = self._get_application_catalog_metrics_serialize(
|
|
214
|
+
_request_auth=_request_auth,
|
|
215
|
+
_content_type=_content_type,
|
|
216
|
+
_headers=_headers,
|
|
217
|
+
_host_index=_host_index
|
|
218
|
+
)
|
|
219
|
+
|
|
220
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
221
|
+
'200': "List[MetricDescription]",
|
|
222
|
+
}
|
|
223
|
+
response_data = self.api_client.call_api(
|
|
224
|
+
*_param,
|
|
225
|
+
_request_timeout=_request_timeout
|
|
226
|
+
)
|
|
227
|
+
return response_data.response
|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
def _get_application_catalog_metrics_serialize(
|
|
231
|
+
self,
|
|
232
|
+
_request_auth,
|
|
233
|
+
_content_type,
|
|
234
|
+
_headers,
|
|
235
|
+
_host_index,
|
|
236
|
+
) -> RequestSerialized:
|
|
237
|
+
|
|
238
|
+
_host = None
|
|
239
|
+
|
|
240
|
+
_collection_formats: Dict[str, str] = {
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
_path_params: Dict[str, str] = {}
|
|
244
|
+
_query_params: List[Tuple[str, str]] = []
|
|
245
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
246
|
+
_form_params: List[Tuple[str, str]] = []
|
|
247
|
+
_files: Dict[
|
|
248
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
249
|
+
] = {}
|
|
250
|
+
_body_params: Optional[bytes] = None
|
|
251
|
+
|
|
252
|
+
# process the path parameters
|
|
253
|
+
# process the query parameters
|
|
254
|
+
# process the header parameters
|
|
255
|
+
# process the form parameters
|
|
256
|
+
# process the body parameter
|
|
257
|
+
|
|
258
|
+
|
|
259
|
+
# set the HTTP header `Accept`
|
|
260
|
+
if 'Accept' not in _header_params:
|
|
261
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
262
|
+
[
|
|
263
|
+
'application/json'
|
|
264
|
+
]
|
|
265
|
+
)
|
|
266
|
+
|
|
267
|
+
|
|
268
|
+
# authentication setting
|
|
269
|
+
_auth_settings: List[str] = [
|
|
270
|
+
'ApiKeyAuth'
|
|
271
|
+
]
|
|
272
|
+
|
|
273
|
+
return self.api_client.param_serialize(
|
|
274
|
+
method='GET',
|
|
275
|
+
resource_path='/api/application-monitoring/catalog/metrics',
|
|
276
|
+
path_params=_path_params,
|
|
277
|
+
query_params=_query_params,
|
|
278
|
+
header_params=_header_params,
|
|
279
|
+
body=_body_params,
|
|
280
|
+
post_params=_form_params,
|
|
281
|
+
files=_files,
|
|
282
|
+
auth_settings=_auth_settings,
|
|
283
|
+
collection_formats=_collection_formats,
|
|
284
|
+
_host=_host,
|
|
285
|
+
_request_auth=_request_auth
|
|
286
|
+
)
|
|
287
|
+
|
|
288
|
+
|
|
289
|
+
|
|
290
|
+
|
|
291
|
+
@validate_call
|
|
292
|
+
def get_application_tag_catalog(
|
|
293
|
+
self,
|
|
294
|
+
var_from: Annotated[Optional[StrictInt], Field(description="The start of the timestamp expreseed in Unix epoch time in milliseconds which will fetch list of queryable tags until current timestamp. Eg: `1719875833000` (1 July 2024 23:17:13 GMT) will fetch list of queryable tags from that time till current time. ")] = None,
|
|
295
|
+
data_source: Annotated[Optional[StrictStr], Field(description="The source from where queryable tags should be fetched from. In Unbounded Analytics, Application Perspectives has 2 sources; `Calls` and `Traces`.")] = None,
|
|
296
|
+
use_case: Annotated[Optional[StrictStr], Field(description="The subset of queryable tags that is available for a particular use case. For eg: If you select `dataSource` as `TRACES` and useCase as `Grouping`. The tags available for querying are `trace.endpoint.name` and `trace.service.name`. useCase is helpful when one wants to know which tags are supported for querying. ")] = None,
|
|
297
|
+
_request_timeout: Union[
|
|
298
|
+
None,
|
|
299
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
300
|
+
Tuple[
|
|
301
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
302
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
303
|
+
]
|
|
304
|
+
] = None,
|
|
305
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
306
|
+
_content_type: Optional[StrictStr] = None,
|
|
307
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
308
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
309
|
+
) -> TagCatalog:
|
|
310
|
+
"""Get application tag catalog
|
|
311
|
+
|
|
312
|
+
Use this API endpoint to retrieve a list of tags. This API endpoint also shows tags which are grouped together. This grouping also denotes the dimensionality of an event. Eg: `Call` can have 9 attributes. Also these tags have cardinality ranging from low to high which will help in examining broad or narrow patterns during the analysis. Queryable tags are a powerful enabler for slice and dice analysis in `Query Builder`. `Query Builder` can be found in `Unbounded Analytics`.
|
|
313
|
+
|
|
314
|
+
:param var_from: The start of the timestamp expreseed in Unix epoch time in milliseconds which will fetch list of queryable tags until current timestamp. Eg: `1719875833000` (1 July 2024 23:17:13 GMT) will fetch list of queryable tags from that time till current time.
|
|
315
|
+
:type var_from: int
|
|
316
|
+
:param data_source: The source from where queryable tags should be fetched from. In Unbounded Analytics, Application Perspectives has 2 sources; `Calls` and `Traces`.
|
|
317
|
+
:type data_source: str
|
|
318
|
+
:param use_case: The subset of queryable tags that is available for a particular use case. For eg: If you select `dataSource` as `TRACES` and useCase as `Grouping`. The tags available for querying are `trace.endpoint.name` and `trace.service.name`. useCase is helpful when one wants to know which tags are supported for querying.
|
|
319
|
+
:type use_case: str
|
|
320
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
321
|
+
number provided, it will be total request
|
|
322
|
+
timeout. It can also be a pair (tuple) of
|
|
323
|
+
(connection, read) timeouts.
|
|
324
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
325
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
326
|
+
request; this effectively ignores the
|
|
327
|
+
authentication in the spec for a single request.
|
|
328
|
+
:type _request_auth: dict, optional
|
|
329
|
+
:param _content_type: force content-type for the request.
|
|
330
|
+
:type _content_type: str, Optional
|
|
331
|
+
:param _headers: set to override the headers for a single
|
|
332
|
+
request; this effectively ignores the headers
|
|
333
|
+
in the spec for a single request.
|
|
334
|
+
:type _headers: dict, optional
|
|
335
|
+
:param _host_index: set to override the host_index for a single
|
|
336
|
+
request; this effectively ignores the host_index
|
|
337
|
+
in the spec for a single request.
|
|
338
|
+
:type _host_index: int, optional
|
|
339
|
+
:return: Returns the result object.
|
|
340
|
+
""" # noqa: E501
|
|
341
|
+
|
|
342
|
+
_param = self._get_application_tag_catalog_serialize(
|
|
343
|
+
var_from=var_from,
|
|
344
|
+
data_source=data_source,
|
|
345
|
+
use_case=use_case,
|
|
346
|
+
_request_auth=_request_auth,
|
|
347
|
+
_content_type=_content_type,
|
|
348
|
+
_headers=_headers,
|
|
349
|
+
_host_index=_host_index
|
|
350
|
+
)
|
|
351
|
+
|
|
352
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
353
|
+
'200': "TagCatalog",
|
|
354
|
+
}
|
|
355
|
+
response_data = self.api_client.call_api(
|
|
356
|
+
*_param,
|
|
357
|
+
_request_timeout=_request_timeout
|
|
358
|
+
)
|
|
359
|
+
response_data.read()
|
|
360
|
+
return self.api_client.response_deserialize(
|
|
361
|
+
response_data=response_data,
|
|
362
|
+
response_types_map=_response_types_map,
|
|
363
|
+
).data
|
|
364
|
+
|
|
365
|
+
|
|
366
|
+
@validate_call
|
|
367
|
+
def get_application_tag_catalog_with_http_info(
|
|
368
|
+
self,
|
|
369
|
+
var_from: Annotated[Optional[StrictInt], Field(description="The start of the timestamp expreseed in Unix epoch time in milliseconds which will fetch list of queryable tags until current timestamp. Eg: `1719875833000` (1 July 2024 23:17:13 GMT) will fetch list of queryable tags from that time till current time. ")] = None,
|
|
370
|
+
data_source: Annotated[Optional[StrictStr], Field(description="The source from where queryable tags should be fetched from. In Unbounded Analytics, Application Perspectives has 2 sources; `Calls` and `Traces`.")] = None,
|
|
371
|
+
use_case: Annotated[Optional[StrictStr], Field(description="The subset of queryable tags that is available for a particular use case. For eg: If you select `dataSource` as `TRACES` and useCase as `Grouping`. The tags available for querying are `trace.endpoint.name` and `trace.service.name`. useCase is helpful when one wants to know which tags are supported for querying. ")] = None,
|
|
372
|
+
_request_timeout: Union[
|
|
373
|
+
None,
|
|
374
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
375
|
+
Tuple[
|
|
376
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
377
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
378
|
+
]
|
|
379
|
+
] = None,
|
|
380
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
381
|
+
_content_type: Optional[StrictStr] = None,
|
|
382
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
383
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
384
|
+
) -> ApiResponse[TagCatalog]:
|
|
385
|
+
"""Get application tag catalog
|
|
386
|
+
|
|
387
|
+
Use this API endpoint to retrieve a list of tags. This API endpoint also shows tags which are grouped together. This grouping also denotes the dimensionality of an event. Eg: `Call` can have 9 attributes. Also these tags have cardinality ranging from low to high which will help in examining broad or narrow patterns during the analysis. Queryable tags are a powerful enabler for slice and dice analysis in `Query Builder`. `Query Builder` can be found in `Unbounded Analytics`.
|
|
388
|
+
|
|
389
|
+
:param var_from: The start of the timestamp expreseed in Unix epoch time in milliseconds which will fetch list of queryable tags until current timestamp. Eg: `1719875833000` (1 July 2024 23:17:13 GMT) will fetch list of queryable tags from that time till current time.
|
|
390
|
+
:type var_from: int
|
|
391
|
+
:param data_source: The source from where queryable tags should be fetched from. In Unbounded Analytics, Application Perspectives has 2 sources; `Calls` and `Traces`.
|
|
392
|
+
:type data_source: str
|
|
393
|
+
:param use_case: The subset of queryable tags that is available for a particular use case. For eg: If you select `dataSource` as `TRACES` and useCase as `Grouping`. The tags available for querying are `trace.endpoint.name` and `trace.service.name`. useCase is helpful when one wants to know which tags are supported for querying.
|
|
394
|
+
:type use_case: str
|
|
395
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
396
|
+
number provided, it will be total request
|
|
397
|
+
timeout. It can also be a pair (tuple) of
|
|
398
|
+
(connection, read) timeouts.
|
|
399
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
400
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
401
|
+
request; this effectively ignores the
|
|
402
|
+
authentication in the spec for a single request.
|
|
403
|
+
:type _request_auth: dict, optional
|
|
404
|
+
:param _content_type: force content-type for the request.
|
|
405
|
+
:type _content_type: str, Optional
|
|
406
|
+
:param _headers: set to override the headers for a single
|
|
407
|
+
request; this effectively ignores the headers
|
|
408
|
+
in the spec for a single request.
|
|
409
|
+
:type _headers: dict, optional
|
|
410
|
+
:param _host_index: set to override the host_index for a single
|
|
411
|
+
request; this effectively ignores the host_index
|
|
412
|
+
in the spec for a single request.
|
|
413
|
+
:type _host_index: int, optional
|
|
414
|
+
:return: Returns the result object.
|
|
415
|
+
""" # noqa: E501
|
|
416
|
+
|
|
417
|
+
_param = self._get_application_tag_catalog_serialize(
|
|
418
|
+
var_from=var_from,
|
|
419
|
+
data_source=data_source,
|
|
420
|
+
use_case=use_case,
|
|
421
|
+
_request_auth=_request_auth,
|
|
422
|
+
_content_type=_content_type,
|
|
423
|
+
_headers=_headers,
|
|
424
|
+
_host_index=_host_index
|
|
425
|
+
)
|
|
426
|
+
|
|
427
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
428
|
+
'200': "TagCatalog",
|
|
429
|
+
}
|
|
430
|
+
response_data = self.api_client.call_api(
|
|
431
|
+
*_param,
|
|
432
|
+
_request_timeout=_request_timeout
|
|
433
|
+
)
|
|
434
|
+
response_data.read()
|
|
435
|
+
return self.api_client.response_deserialize(
|
|
436
|
+
response_data=response_data,
|
|
437
|
+
response_types_map=_response_types_map,
|
|
438
|
+
)
|
|
439
|
+
|
|
440
|
+
|
|
441
|
+
@validate_call
|
|
442
|
+
def get_application_tag_catalog_without_preload_content(
|
|
443
|
+
self,
|
|
444
|
+
var_from: Annotated[Optional[StrictInt], Field(description="The start of the timestamp expreseed in Unix epoch time in milliseconds which will fetch list of queryable tags until current timestamp. Eg: `1719875833000` (1 July 2024 23:17:13 GMT) will fetch list of queryable tags from that time till current time. ")] = None,
|
|
445
|
+
data_source: Annotated[Optional[StrictStr], Field(description="The source from where queryable tags should be fetched from. In Unbounded Analytics, Application Perspectives has 2 sources; `Calls` and `Traces`.")] = None,
|
|
446
|
+
use_case: Annotated[Optional[StrictStr], Field(description="The subset of queryable tags that is available for a particular use case. For eg: If you select `dataSource` as `TRACES` and useCase as `Grouping`. The tags available for querying are `trace.endpoint.name` and `trace.service.name`. useCase is helpful when one wants to know which tags are supported for querying. ")] = None,
|
|
447
|
+
_request_timeout: Union[
|
|
448
|
+
None,
|
|
449
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
450
|
+
Tuple[
|
|
451
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
452
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
453
|
+
]
|
|
454
|
+
] = None,
|
|
455
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
456
|
+
_content_type: Optional[StrictStr] = None,
|
|
457
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
458
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
459
|
+
) -> RESTResponseType:
|
|
460
|
+
"""Get application tag catalog
|
|
461
|
+
|
|
462
|
+
Use this API endpoint to retrieve a list of tags. This API endpoint also shows tags which are grouped together. This grouping also denotes the dimensionality of an event. Eg: `Call` can have 9 attributes. Also these tags have cardinality ranging from low to high which will help in examining broad or narrow patterns during the analysis. Queryable tags are a powerful enabler for slice and dice analysis in `Query Builder`. `Query Builder` can be found in `Unbounded Analytics`.
|
|
463
|
+
|
|
464
|
+
:param var_from: The start of the timestamp expreseed in Unix epoch time in milliseconds which will fetch list of queryable tags until current timestamp. Eg: `1719875833000` (1 July 2024 23:17:13 GMT) will fetch list of queryable tags from that time till current time.
|
|
465
|
+
:type var_from: int
|
|
466
|
+
:param data_source: The source from where queryable tags should be fetched from. In Unbounded Analytics, Application Perspectives has 2 sources; `Calls` and `Traces`.
|
|
467
|
+
:type data_source: str
|
|
468
|
+
:param use_case: The subset of queryable tags that is available for a particular use case. For eg: If you select `dataSource` as `TRACES` and useCase as `Grouping`. The tags available for querying are `trace.endpoint.name` and `trace.service.name`. useCase is helpful when one wants to know which tags are supported for querying.
|
|
469
|
+
:type use_case: str
|
|
470
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
471
|
+
number provided, it will be total request
|
|
472
|
+
timeout. It can also be a pair (tuple) of
|
|
473
|
+
(connection, read) timeouts.
|
|
474
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
475
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
476
|
+
request; this effectively ignores the
|
|
477
|
+
authentication in the spec for a single request.
|
|
478
|
+
:type _request_auth: dict, optional
|
|
479
|
+
:param _content_type: force content-type for the request.
|
|
480
|
+
:type _content_type: str, Optional
|
|
481
|
+
:param _headers: set to override the headers for a single
|
|
482
|
+
request; this effectively ignores the headers
|
|
483
|
+
in the spec for a single request.
|
|
484
|
+
:type _headers: dict, optional
|
|
485
|
+
:param _host_index: set to override the host_index for a single
|
|
486
|
+
request; this effectively ignores the host_index
|
|
487
|
+
in the spec for a single request.
|
|
488
|
+
:type _host_index: int, optional
|
|
489
|
+
:return: Returns the result object.
|
|
490
|
+
""" # noqa: E501
|
|
491
|
+
|
|
492
|
+
_param = self._get_application_tag_catalog_serialize(
|
|
493
|
+
var_from=var_from,
|
|
494
|
+
data_source=data_source,
|
|
495
|
+
use_case=use_case,
|
|
496
|
+
_request_auth=_request_auth,
|
|
497
|
+
_content_type=_content_type,
|
|
498
|
+
_headers=_headers,
|
|
499
|
+
_host_index=_host_index
|
|
500
|
+
)
|
|
501
|
+
|
|
502
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
503
|
+
'200': "TagCatalog",
|
|
504
|
+
}
|
|
505
|
+
response_data = self.api_client.call_api(
|
|
506
|
+
*_param,
|
|
507
|
+
_request_timeout=_request_timeout
|
|
508
|
+
)
|
|
509
|
+
return response_data.response
|
|
510
|
+
|
|
511
|
+
|
|
512
|
+
def _get_application_tag_catalog_serialize(
|
|
513
|
+
self,
|
|
514
|
+
var_from,
|
|
515
|
+
data_source,
|
|
516
|
+
use_case,
|
|
517
|
+
_request_auth,
|
|
518
|
+
_content_type,
|
|
519
|
+
_headers,
|
|
520
|
+
_host_index,
|
|
521
|
+
) -> RequestSerialized:
|
|
522
|
+
|
|
523
|
+
_host = None
|
|
524
|
+
|
|
525
|
+
_collection_formats: Dict[str, str] = {
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
_path_params: Dict[str, str] = {}
|
|
529
|
+
_query_params: List[Tuple[str, str]] = []
|
|
530
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
531
|
+
_form_params: List[Tuple[str, str]] = []
|
|
532
|
+
_files: Dict[
|
|
533
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
534
|
+
] = {}
|
|
535
|
+
_body_params: Optional[bytes] = None
|
|
536
|
+
|
|
537
|
+
# process the path parameters
|
|
538
|
+
# process the query parameters
|
|
539
|
+
if var_from is not None:
|
|
540
|
+
|
|
541
|
+
_query_params.append(('from', var_from))
|
|
542
|
+
|
|
543
|
+
if data_source is not None:
|
|
544
|
+
|
|
545
|
+
_query_params.append(('dataSource', data_source))
|
|
546
|
+
|
|
547
|
+
if use_case is not None:
|
|
548
|
+
|
|
549
|
+
_query_params.append(('useCase', use_case))
|
|
550
|
+
|
|
551
|
+
# process the header parameters
|
|
552
|
+
# process the form parameters
|
|
553
|
+
# process the body parameter
|
|
554
|
+
|
|
555
|
+
|
|
556
|
+
# set the HTTP header `Accept`
|
|
557
|
+
if 'Accept' not in _header_params:
|
|
558
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
559
|
+
[
|
|
560
|
+
'application/json'
|
|
561
|
+
]
|
|
562
|
+
)
|
|
563
|
+
|
|
564
|
+
|
|
565
|
+
# authentication setting
|
|
566
|
+
_auth_settings: List[str] = [
|
|
567
|
+
'ApiKeyAuth'
|
|
568
|
+
]
|
|
569
|
+
|
|
570
|
+
return self.api_client.param_serialize(
|
|
571
|
+
method='GET',
|
|
572
|
+
resource_path='/api/application-monitoring/catalog',
|
|
573
|
+
path_params=_path_params,
|
|
574
|
+
query_params=_query_params,
|
|
575
|
+
header_params=_header_params,
|
|
576
|
+
body=_body_params,
|
|
577
|
+
post_params=_form_params,
|
|
578
|
+
files=_files,
|
|
579
|
+
auth_settings=_auth_settings,
|
|
580
|
+
collection_formats=_collection_formats,
|
|
581
|
+
_host=_host,
|
|
582
|
+
_request_auth=_request_auth
|
|
583
|
+
)
|
|
584
|
+
|
|
585
|
+
|
|
586
|
+
|
|
587
|
+
|
|
588
|
+
@validate_call
|
|
589
|
+
def get_application_tags(
|
|
590
|
+
self,
|
|
591
|
+
var_from: Annotated[Optional[StrictInt], Field(description="The start of the timestamp expreseed in Unix epoch time in milliseconds which will fetch list of queryable tags until current timestamp. Eg: `1719875833000` (1 July 2024 23:17:13 GMT) will fetch list of queryable tags from that time till current time. ")] = None,
|
|
592
|
+
data_source: Annotated[Optional[StrictStr], Field(description="The source from where queryable tags should be fetched from. In Unbounded Analytics, Application Perspectives has 2 sources; `Calls` and `Traces`.")] = None,
|
|
593
|
+
use_case: Annotated[Optional[StrictStr], Field(description="The subset of queryable tags that is available for a particular use case. For eg: If you select `dataSource` as `TRACES` and useCase as `Grouping`. The tags available for querying are `trace.endpoint.name` and `trace.service.name`. useCase is helpful when one wants to know which tags are supported for querying. ")] = None,
|
|
594
|
+
_request_timeout: Union[
|
|
595
|
+
None,
|
|
596
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
597
|
+
Tuple[
|
|
598
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
599
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
600
|
+
]
|
|
601
|
+
] = None,
|
|
602
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
603
|
+
_content_type: Optional[StrictStr] = None,
|
|
604
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
605
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
606
|
+
) -> List[Tag]:
|
|
607
|
+
"""(Deprecated) Get application tags
|
|
608
|
+
|
|
609
|
+
**Note:** This API Endpoint is deprecated. Use `Get application tag catalog` endpoint instead. This endpoint retrieves all available tags for your monitored system. These tags can be used to group metric results. ``` \"group\": { \"groupbyTag\": \"service.name\" } ``` These tags can be used to filter metric results. ``` \"tagFilters\": [{ \"name\": \"application.name\", \"operator\": \"EQUALS\", \"value\": \"example\" }] ```
|
|
610
|
+
|
|
611
|
+
:param var_from: The start of the timestamp expreseed in Unix epoch time in milliseconds which will fetch list of queryable tags until current timestamp. Eg: `1719875833000` (1 July 2024 23:17:13 GMT) will fetch list of queryable tags from that time till current time.
|
|
612
|
+
:type var_from: int
|
|
613
|
+
:param data_source: The source from where queryable tags should be fetched from. In Unbounded Analytics, Application Perspectives has 2 sources; `Calls` and `Traces`.
|
|
614
|
+
:type data_source: str
|
|
615
|
+
:param use_case: The subset of queryable tags that is available for a particular use case. For eg: If you select `dataSource` as `TRACES` and useCase as `Grouping`. The tags available for querying are `trace.endpoint.name` and `trace.service.name`. useCase is helpful when one wants to know which tags are supported for querying.
|
|
616
|
+
:type use_case: str
|
|
617
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
618
|
+
number provided, it will be total request
|
|
619
|
+
timeout. It can also be a pair (tuple) of
|
|
620
|
+
(connection, read) timeouts.
|
|
621
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
622
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
623
|
+
request; this effectively ignores the
|
|
624
|
+
authentication in the spec for a single request.
|
|
625
|
+
:type _request_auth: dict, optional
|
|
626
|
+
:param _content_type: force content-type for the request.
|
|
627
|
+
:type _content_type: str, Optional
|
|
628
|
+
:param _headers: set to override the headers for a single
|
|
629
|
+
request; this effectively ignores the headers
|
|
630
|
+
in the spec for a single request.
|
|
631
|
+
:type _headers: dict, optional
|
|
632
|
+
:param _host_index: set to override the host_index for a single
|
|
633
|
+
request; this effectively ignores the host_index
|
|
634
|
+
in the spec for a single request.
|
|
635
|
+
:type _host_index: int, optional
|
|
636
|
+
:return: Returns the result object.
|
|
637
|
+
""" # noqa: E501
|
|
638
|
+
warnings.warn("GET /api/application-monitoring/catalog/tags is deprecated.", DeprecationWarning)
|
|
639
|
+
|
|
640
|
+
_param = self._get_application_tags_serialize(
|
|
641
|
+
var_from=var_from,
|
|
642
|
+
data_source=data_source,
|
|
643
|
+
use_case=use_case,
|
|
644
|
+
_request_auth=_request_auth,
|
|
645
|
+
_content_type=_content_type,
|
|
646
|
+
_headers=_headers,
|
|
647
|
+
_host_index=_host_index
|
|
648
|
+
)
|
|
649
|
+
|
|
650
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
651
|
+
'200': "List[Tag]",
|
|
652
|
+
}
|
|
653
|
+
response_data = self.api_client.call_api(
|
|
654
|
+
*_param,
|
|
655
|
+
_request_timeout=_request_timeout
|
|
656
|
+
)
|
|
657
|
+
response_data.read()
|
|
658
|
+
return self.api_client.response_deserialize(
|
|
659
|
+
response_data=response_data,
|
|
660
|
+
response_types_map=_response_types_map,
|
|
661
|
+
).data
|
|
662
|
+
|
|
663
|
+
|
|
664
|
+
@validate_call
|
|
665
|
+
def get_application_tags_with_http_info(
|
|
666
|
+
self,
|
|
667
|
+
var_from: Annotated[Optional[StrictInt], Field(description="The start of the timestamp expreseed in Unix epoch time in milliseconds which will fetch list of queryable tags until current timestamp. Eg: `1719875833000` (1 July 2024 23:17:13 GMT) will fetch list of queryable tags from that time till current time. ")] = None,
|
|
668
|
+
data_source: Annotated[Optional[StrictStr], Field(description="The source from where queryable tags should be fetched from. In Unbounded Analytics, Application Perspectives has 2 sources; `Calls` and `Traces`.")] = None,
|
|
669
|
+
use_case: Annotated[Optional[StrictStr], Field(description="The subset of queryable tags that is available for a particular use case. For eg: If you select `dataSource` as `TRACES` and useCase as `Grouping`. The tags available for querying are `trace.endpoint.name` and `trace.service.name`. useCase is helpful when one wants to know which tags are supported for querying. ")] = None,
|
|
670
|
+
_request_timeout: Union[
|
|
671
|
+
None,
|
|
672
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
673
|
+
Tuple[
|
|
674
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
675
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
676
|
+
]
|
|
677
|
+
] = None,
|
|
678
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
679
|
+
_content_type: Optional[StrictStr] = None,
|
|
680
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
681
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
682
|
+
) -> ApiResponse[List[Tag]]:
|
|
683
|
+
"""(Deprecated) Get application tags
|
|
684
|
+
|
|
685
|
+
**Note:** This API Endpoint is deprecated. Use `Get application tag catalog` endpoint instead. This endpoint retrieves all available tags for your monitored system. These tags can be used to group metric results. ``` \"group\": { \"groupbyTag\": \"service.name\" } ``` These tags can be used to filter metric results. ``` \"tagFilters\": [{ \"name\": \"application.name\", \"operator\": \"EQUALS\", \"value\": \"example\" }] ```
|
|
686
|
+
|
|
687
|
+
:param var_from: The start of the timestamp expreseed in Unix epoch time in milliseconds which will fetch list of queryable tags until current timestamp. Eg: `1719875833000` (1 July 2024 23:17:13 GMT) will fetch list of queryable tags from that time till current time.
|
|
688
|
+
:type var_from: int
|
|
689
|
+
:param data_source: The source from where queryable tags should be fetched from. In Unbounded Analytics, Application Perspectives has 2 sources; `Calls` and `Traces`.
|
|
690
|
+
:type data_source: str
|
|
691
|
+
:param use_case: The subset of queryable tags that is available for a particular use case. For eg: If you select `dataSource` as `TRACES` and useCase as `Grouping`. The tags available for querying are `trace.endpoint.name` and `trace.service.name`. useCase is helpful when one wants to know which tags are supported for querying.
|
|
692
|
+
:type use_case: str
|
|
693
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
694
|
+
number provided, it will be total request
|
|
695
|
+
timeout. It can also be a pair (tuple) of
|
|
696
|
+
(connection, read) timeouts.
|
|
697
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
698
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
699
|
+
request; this effectively ignores the
|
|
700
|
+
authentication in the spec for a single request.
|
|
701
|
+
:type _request_auth: dict, optional
|
|
702
|
+
:param _content_type: force content-type for the request.
|
|
703
|
+
:type _content_type: str, Optional
|
|
704
|
+
:param _headers: set to override the headers for a single
|
|
705
|
+
request; this effectively ignores the headers
|
|
706
|
+
in the spec for a single request.
|
|
707
|
+
:type _headers: dict, optional
|
|
708
|
+
:param _host_index: set to override the host_index for a single
|
|
709
|
+
request; this effectively ignores the host_index
|
|
710
|
+
in the spec for a single request.
|
|
711
|
+
:type _host_index: int, optional
|
|
712
|
+
:return: Returns the result object.
|
|
713
|
+
""" # noqa: E501
|
|
714
|
+
warnings.warn("GET /api/application-monitoring/catalog/tags is deprecated.", DeprecationWarning)
|
|
715
|
+
|
|
716
|
+
_param = self._get_application_tags_serialize(
|
|
717
|
+
var_from=var_from,
|
|
718
|
+
data_source=data_source,
|
|
719
|
+
use_case=use_case,
|
|
720
|
+
_request_auth=_request_auth,
|
|
721
|
+
_content_type=_content_type,
|
|
722
|
+
_headers=_headers,
|
|
723
|
+
_host_index=_host_index
|
|
724
|
+
)
|
|
725
|
+
|
|
726
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
727
|
+
'200': "List[Tag]",
|
|
728
|
+
}
|
|
729
|
+
response_data = self.api_client.call_api(
|
|
730
|
+
*_param,
|
|
731
|
+
_request_timeout=_request_timeout
|
|
732
|
+
)
|
|
733
|
+
response_data.read()
|
|
734
|
+
return self.api_client.response_deserialize(
|
|
735
|
+
response_data=response_data,
|
|
736
|
+
response_types_map=_response_types_map,
|
|
737
|
+
)
|
|
738
|
+
|
|
739
|
+
|
|
740
|
+
@validate_call
|
|
741
|
+
def get_application_tags_without_preload_content(
|
|
742
|
+
self,
|
|
743
|
+
var_from: Annotated[Optional[StrictInt], Field(description="The start of the timestamp expreseed in Unix epoch time in milliseconds which will fetch list of queryable tags until current timestamp. Eg: `1719875833000` (1 July 2024 23:17:13 GMT) will fetch list of queryable tags from that time till current time. ")] = None,
|
|
744
|
+
data_source: Annotated[Optional[StrictStr], Field(description="The source from where queryable tags should be fetched from. In Unbounded Analytics, Application Perspectives has 2 sources; `Calls` and `Traces`.")] = None,
|
|
745
|
+
use_case: Annotated[Optional[StrictStr], Field(description="The subset of queryable tags that is available for a particular use case. For eg: If you select `dataSource` as `TRACES` and useCase as `Grouping`. The tags available for querying are `trace.endpoint.name` and `trace.service.name`. useCase is helpful when one wants to know which tags are supported for querying. ")] = None,
|
|
746
|
+
_request_timeout: Union[
|
|
747
|
+
None,
|
|
748
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
749
|
+
Tuple[
|
|
750
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
751
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
752
|
+
]
|
|
753
|
+
] = None,
|
|
754
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
755
|
+
_content_type: Optional[StrictStr] = None,
|
|
756
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
757
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
758
|
+
) -> RESTResponseType:
|
|
759
|
+
"""(Deprecated) Get application tags
|
|
760
|
+
|
|
761
|
+
**Note:** This API Endpoint is deprecated. Use `Get application tag catalog` endpoint instead. This endpoint retrieves all available tags for your monitored system. These tags can be used to group metric results. ``` \"group\": { \"groupbyTag\": \"service.name\" } ``` These tags can be used to filter metric results. ``` \"tagFilters\": [{ \"name\": \"application.name\", \"operator\": \"EQUALS\", \"value\": \"example\" }] ```
|
|
762
|
+
|
|
763
|
+
:param var_from: The start of the timestamp expreseed in Unix epoch time in milliseconds which will fetch list of queryable tags until current timestamp. Eg: `1719875833000` (1 July 2024 23:17:13 GMT) will fetch list of queryable tags from that time till current time.
|
|
764
|
+
:type var_from: int
|
|
765
|
+
:param data_source: The source from where queryable tags should be fetched from. In Unbounded Analytics, Application Perspectives has 2 sources; `Calls` and `Traces`.
|
|
766
|
+
:type data_source: str
|
|
767
|
+
:param use_case: The subset of queryable tags that is available for a particular use case. For eg: If you select `dataSource` as `TRACES` and useCase as `Grouping`. The tags available for querying are `trace.endpoint.name` and `trace.service.name`. useCase is helpful when one wants to know which tags are supported for querying.
|
|
768
|
+
:type use_case: str
|
|
769
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
770
|
+
number provided, it will be total request
|
|
771
|
+
timeout. It can also be a pair (tuple) of
|
|
772
|
+
(connection, read) timeouts.
|
|
773
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
774
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
775
|
+
request; this effectively ignores the
|
|
776
|
+
authentication in the spec for a single request.
|
|
777
|
+
:type _request_auth: dict, optional
|
|
778
|
+
:param _content_type: force content-type for the request.
|
|
779
|
+
:type _content_type: str, Optional
|
|
780
|
+
:param _headers: set to override the headers for a single
|
|
781
|
+
request; this effectively ignores the headers
|
|
782
|
+
in the spec for a single request.
|
|
783
|
+
:type _headers: dict, optional
|
|
784
|
+
:param _host_index: set to override the host_index for a single
|
|
785
|
+
request; this effectively ignores the host_index
|
|
786
|
+
in the spec for a single request.
|
|
787
|
+
:type _host_index: int, optional
|
|
788
|
+
:return: Returns the result object.
|
|
789
|
+
""" # noqa: E501
|
|
790
|
+
warnings.warn("GET /api/application-monitoring/catalog/tags is deprecated.", DeprecationWarning)
|
|
791
|
+
|
|
792
|
+
_param = self._get_application_tags_serialize(
|
|
793
|
+
var_from=var_from,
|
|
794
|
+
data_source=data_source,
|
|
795
|
+
use_case=use_case,
|
|
796
|
+
_request_auth=_request_auth,
|
|
797
|
+
_content_type=_content_type,
|
|
798
|
+
_headers=_headers,
|
|
799
|
+
_host_index=_host_index
|
|
800
|
+
)
|
|
801
|
+
|
|
802
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
803
|
+
'200': "List[Tag]",
|
|
804
|
+
}
|
|
805
|
+
response_data = self.api_client.call_api(
|
|
806
|
+
*_param,
|
|
807
|
+
_request_timeout=_request_timeout
|
|
808
|
+
)
|
|
809
|
+
return response_data.response
|
|
810
|
+
|
|
811
|
+
|
|
812
|
+
def _get_application_tags_serialize(
|
|
813
|
+
self,
|
|
814
|
+
var_from,
|
|
815
|
+
data_source,
|
|
816
|
+
use_case,
|
|
817
|
+
_request_auth,
|
|
818
|
+
_content_type,
|
|
819
|
+
_headers,
|
|
820
|
+
_host_index,
|
|
821
|
+
) -> RequestSerialized:
|
|
822
|
+
|
|
823
|
+
_host = None
|
|
824
|
+
|
|
825
|
+
_collection_formats: Dict[str, str] = {
|
|
826
|
+
}
|
|
827
|
+
|
|
828
|
+
_path_params: Dict[str, str] = {}
|
|
829
|
+
_query_params: List[Tuple[str, str]] = []
|
|
830
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
831
|
+
_form_params: List[Tuple[str, str]] = []
|
|
832
|
+
_files: Dict[
|
|
833
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
834
|
+
] = {}
|
|
835
|
+
_body_params: Optional[bytes] = None
|
|
836
|
+
|
|
837
|
+
# process the path parameters
|
|
838
|
+
# process the query parameters
|
|
839
|
+
if var_from is not None:
|
|
840
|
+
|
|
841
|
+
_query_params.append(('from', var_from))
|
|
842
|
+
|
|
843
|
+
if data_source is not None:
|
|
844
|
+
|
|
845
|
+
_query_params.append(('dataSource', data_source))
|
|
846
|
+
|
|
847
|
+
if use_case is not None:
|
|
848
|
+
|
|
849
|
+
_query_params.append(('useCase', use_case))
|
|
850
|
+
|
|
851
|
+
# process the header parameters
|
|
852
|
+
# process the form parameters
|
|
853
|
+
# process the body parameter
|
|
854
|
+
|
|
855
|
+
|
|
856
|
+
# set the HTTP header `Accept`
|
|
857
|
+
if 'Accept' not in _header_params:
|
|
858
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
859
|
+
[
|
|
860
|
+
'application/json'
|
|
861
|
+
]
|
|
862
|
+
)
|
|
863
|
+
|
|
864
|
+
|
|
865
|
+
# authentication setting
|
|
866
|
+
_auth_settings: List[str] = [
|
|
867
|
+
'ApiKeyAuth'
|
|
868
|
+
]
|
|
869
|
+
|
|
870
|
+
return self.api_client.param_serialize(
|
|
871
|
+
method='GET',
|
|
872
|
+
resource_path='/api/application-monitoring/catalog/tags',
|
|
873
|
+
path_params=_path_params,
|
|
874
|
+
query_params=_query_params,
|
|
875
|
+
header_params=_header_params,
|
|
876
|
+
body=_body_params,
|
|
877
|
+
post_params=_form_params,
|
|
878
|
+
files=_files,
|
|
879
|
+
auth_settings=_auth_settings,
|
|
880
|
+
collection_formats=_collection_formats,
|
|
881
|
+
_host=_host,
|
|
882
|
+
_request_auth=_request_auth
|
|
883
|
+
)
|
|
884
|
+
|
|
885
|
+
|