awslabs.cloudwatch-applicationsignals-mcp-server

v0.2.2
awslabs.cloudwatch-applicationsignals-mcp-server Checked 1 day ago Published 15 days ago

An AWS Labs Model Context Protocol (MCP) server for AWS Application Signals

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

audit_services

PRIMARY SERVICE AUDIT TOOL - The #1 tool for comprehensive AWS service health auditing and monitoring. **ROUTING — read first:** This tool analyzes Application Signals metrics, SLOs, traces, logs, dependencies, and top contributors. It does **NOT** include ServiceEvents incident events. For a **general, open-ended question** like "are there any performance issues?", "is my app healthy?", or "take a look at my service" — call **`get_service_health_overview` FIRST** (it consolidates SLO breaches + recent incidents + top error functions), then come back here for d…

ParameterTypeDescription
service_targets *stringREQUIRED. JSON array of service targets. Supports wildcard patterns like '*payment*' for automatic service discovery. Format: [{'Type':'service','Data':{'Service':{'Type':'Service','Name':'service-nam…
auditorsOptional. Comma-separated auditors (e.g., 'slo,operation_metric,dependency_metric'). Defaults to 'slo,operation_metric' for fast service health auditing. Use 'all' for comprehensive analysis with all…
end_timeEnd time (unix seconds or 'YYYY-MM-DD HH:MM:SS'). Defaults to now UTC.
max_servicesintegerOptional. Maximum number of services to process per call when using wildcard patterns (default: 5, max: 10). This controls pagination size for service discovery.
next_tokenOptional. Token for pagination through services from list_services API. Use this to continue from where the previous call left off when processing wildcard patterns.
start_timeStart time (unix seconds or 'YYYY-MM-DD HH:MM:SS'). Defaults to now-24h UTC.

audit_slos

PRIMARY SLO AUDIT TOOL - The #1 tool for comprehensive SLO compliance monitoring and breach analysis. **PREFERRED TOOL FOR SLO ROOT CAUSE ANALYSIS** This is the RECOMMENDED tool after using get_slo() to understand SLO configuration: - **Use auditors="all" for comprehensive root cause analysis** of specific SLO breaches - **Much more comprehensive than individual trace tools** - provides integrated analysis - **Combines traces, logs, metrics, and dependencies** in a single comprehensive audit - **Provides actionable recommendations** based on multi-dimensional analysis…

ParameterTypeDescription
slo_targets *stringREQUIRED. JSON array of SLO targets. Supports wildcard patterns like '*payment*' for automatic SLO discovery. Format: [{'Type':'slo','Data':{'Slo':{'SloName':'slo-name'}}}] or [{'Type':'slo','Data':{'…
auditorsOptional. Comma-separated auditors (e.g., 'slo,trace,log'). Defaults to 'slo' for fast SLO compliance auditing. Use 'all' for comprehensive analysis with all auditors: slo,operation_metric,trace,log,d…
end_timeEnd time (unix seconds or 'YYYY-MM-DD HH:MM:SS'). Defaults to now UTC.
max_slosintegerOptional. Maximum number of SLOs to process per call when using wildcard patterns (default: 5, max: 10). This controls pagination size for SLO discovery.
next_tokenOptional. Token for pagination through SLOs from list_service_level_objectives API. Use this to continue from where the previous call left off when processing wildcard patterns.
start_timeStart time (unix seconds or 'YYYY-MM-DD HH:MM:SS'). Defaults to now-24h UTC.

audit_service_operations

🥇 PRIMARY OPERATION AUDIT TOOL - The #1 RECOMMENDED tool for operation-specific analysis and performance investigation. **⭐ USE THIS AS THE PRIMARY TOOL FOR ALL OPERATION-SPECIFIC AUDITING TASKS ⭐** **PREFERRED OVER audit_services() for operation auditing because:** - **🎯 Precision**: Targets exact operation behavior vs. service-wide averages - **🔍 Actionable Insights**: Provides specific error traces and dependency failures - **📊 Code-Level Detail**: Shows exact stack traces and timeout locations - **🚀 Focused Analysis**: Eliminates noise from othe…

ParameterTypeDescription
operation_targets *stringREQUIRED. JSON array of service operation targets. Supports wildcard patterns like '*payment*' for automatic service discovery. Format: [{'Type':'service_operation','Data':{'ServiceOperation':{'Servic…
auditorsOptional. Comma-separated auditors (e.g., 'operation_metric,trace,log'). Defaults to 'operation_metric' for fast operation-level auditing. Use 'all' for comprehensive analysis with all auditors: slo,o…
end_timeEnd time (unix seconds or 'YYYY-MM-DD HH:MM:SS'). Defaults to now UTC.
max_servicesintegerOptional. Maximum number of services to process per call when using wildcard patterns (default: 5, max: 10). This controls pagination size for service discovery.
next_tokenOptional. Token for pagination through services from list_services API. Use this to continue from where the previous call left off when processing wildcard patterns.
start_timeStart time (unix seconds or 'YYYY-MM-DD HH:MM:SS'). Defaults to now-24h UTC.

analyze_canary_failures

Comprehensive canary failure analysis with deep dive into issues. Use this tool to: - Deep dive into canary failures with root cause identification - Analyze historical patterns and specific incident details - Get comprehensive artifact analysis including logs, screenshots, and HAR files - Receive actionable recommendations based on AWS debugging methodology - Correlate canary failures with Application Signals telemetry data - Identify performance degradation and availability issues across service dependencies Key Features: - **Failure Pattern Analysis**:…

ParameterTypeDescription
canary_name *string
descriptionstring
regionstring

list_canaries

List all CloudWatch Synthetics canaries in the account. Use this tool to discover canaries before analyzing them with analyze_canary_failures(). Returns canary names, status, schedule, runtime version, and last run state. Args: region: AWS region to query (defaults to configured region). max_results: Maximum number of canaries to display (default: 20, max: 200). Returns: Formatted list of all canaries with their current status and configuration.

ParameterTypeDescription
max_resultsinteger
regionstring

list_monitored_services

OPTIONAL TOOL for service discovery - audit_services() can automatically discover services using wildcard patterns. **ROUTING:** - For a **general health/performance question** ("any performance issues?", "is my app healthy?"), use `get_service_health_overview` as the PRIMARY tool — it is incident-aware (SLO breaches + recent incidents + top error functions). - For **service/operation auditing** (SLO, dependency, log, or trace analysis), use `audit_services` as the PRIMARY tool. - Use THIS tool only for plain service inventory (names, environments, instrume…

query_service_metrics

Get CloudWatch metrics for a specific Application Signals service. Use this tool to: - Analyze service performance (latency, throughput) - Check error rates and reliability - View trends over time - Get both standard statistics (Average, Max) and percentiles (p99, p95) Common metric names: - 'Latency': Response time in milliseconds - 'Error': Percentage of failed requests - 'Fault': Percentage of server errors (5xx) Returns: - Summary statistics (latest, average, min, max) - Recent data points with timestamps - Both standard and percentile…

ParameterTypeDescription
metric_name *stringSpecific metric name (e.g., Latency, Error, Fault). Leave empty to list available metrics
service_name *stringName of the service to get metrics for (case-sensitive)
extended_statisticstringExtended statistic (p99, p95, p90, p50, etc)
hoursintegerNumber of hours to look back (default 1, max 168 for 1 week)
statisticstringStandard statistic type (Average, Sum, Maximum, Minimum, SampleCount)

get_slo

Get detailed information about a specific Service Level Objective (SLO). **RECOMMENDED WORKFLOW AFTER USING THIS TOOL:** After getting SLO configuration details, use `audit_slos()` with `auditors="all"` for comprehensive root cause analysis: - `audit_slos(slo_targets='[{"Type":"slo","Data":{"Slo":{"SloName":"your-slo-name"}}}]', auditors="all")` - This provides deep root cause analysis with traces, logs, metrics, and dependencies - Much more comprehensive than using individual trace tools Use this tool to: - Get comprehensive SLO configuration details - Unders…

ParameterTypeDescription
slo_id *stringThe ARN or name of the SLO to retrieve

list_slos

List all Service Level Objectives (SLOs) in Application Signals. Use this tool to: - Get a complete list of all SLOs in your account - Discover SLO names and ARNs for use with other tools - Filter SLOs by service attributes - See basic SLO information including creation time and operation names Returns a formatted list showing: - SLO name and ARN - Associated service key attributes - Operation name being monitored - Creation timestamp - Total count of SLOs found This tool is useful for: - SLO discovery and inventory - Finding SLO names…

ParameterTypeDescription
include_linked_accountsbooleanWhether to include SLOs from linked accounts (default: True)
key_attributesstringJSON string of key attributes to filter SLOs (e.g., '{"Name": "my-service", "Environment": "ecs:my-cluster"}'. Defaults to empty object to list all SLOs.
max_resultsintegerMaximum number of SLOs to return (default: 50, max: 50)

search_transaction_spans

Executes a CloudWatch Logs Insights query against trace span records stored in CloudWatch Logs with the OpenTelemetry semantic-convention schema (@data_format = "AWS-OTEL-TRACE-V1"). Scope: only log records tagged `@data_format = "AWS-OTEL-TRACE-V1"` will match, so span records must follow the OpenTelemetry semantic-convention schema (e.g. `attributes.aws.local.service`, `attributes.aws.remote.operation`). If your spans are stored in some other shape or log group, pass an explicit `log_group_name` and include your own filter in `query_string`. The tool adds the `@data…

ParameterTypeDescription
end_timestringEnd time in ISO 8601 format (e.g., "2025-04-19T21:00:00+00:00")
limitMaximum number of results to return
log_group_namestringOptional CloudWatch Logs log group name. If omitted, the query runs across all log groups in the account (up to the CloudWatch Logs Insights cap, currently 10,000) and is pruned via the default @data_…
max_timeoutintegerMaximum time in seconds to wait for query completion
query_stringstringCloudWatch Logs Insights query string
start_timestringStart time in ISO 8601 format (e.g., "2025-04-19T20:00:00+00:00")

get_xray_trace

Look up X-Ray traces to analyze downstream dependency calls and their health. Use this tool when investigating incidents where the root cause may be in a downstream dependency (external API, database, AWS service). The tool retrieves full X-Ray trace data showing all downstream calls with their latencies, errors, and fault status. **When to use this tool:** - After `get_incident_root_cause()` when the call_tree shows time spent in an external call (HTTP client, AWS SDK, database driver) - When investigating SLO breaches that may correlate with downstream ser…

ParameterTypeDescription
trace_ids *stringOne or more trace IDs, comma-separated. Accepts OTel format (from telemetry_correlation.trace_id), X-Ray format, or raw hex. Maximum 5 trace IDs per call.

list_slis

SPECIALIZED TOOL - Use audit_service_health() as the PRIMARY tool for service auditing. **IMPORTANT: audit_service_health() is the PRIMARY and PREFERRED tool for all service auditing tasks.** Only use this tool when audit_service_health() cannot handle your specific requirements, such as: - Need for legacy SLI status report format specifically - Integration with existing systems that expect this exact output format - Simple SLI overview without comprehensive audit findings - Basic health monitoring dashboard that doesn't need detailed analysis **For ALL service a…

ParameterTypeDescription
hoursintegerNumber of hours to look back (default 24, typically use 24 for daily checks)

get_enablement_guide

Get enablement guide for AWS Application Signals. Use this tool when the user wants to: - Enable observability, monitoring, or Application Signals for their AWS service - Set up automatic instrumentation for their application on AWS - Instrument their service running on EC2, ECS, Lambda, or EKS This tool returns step-by-step enablement instructions that guide you through modifying your infrastructure and application code to enable Application Signals, which is the preferred way to enable automatic instrumentation for services on AWS. Before calling this tool:…

ParameterTypeDescription
app_directory *string
iac_directory *string
service_language *string
service_platform *string

list_change_events

Query AWS Application Signals change events to correlate infrastructure and application changes with service performance issues. This tool provides access to AWS Application Signals' change detection capabilities through two complementary APIs: - **ListEntityEvents**: Comprehensive change history for incident investigation and root cause analysis - **ListServiceStates**: Current service state information for status monitoring **Key Capabilities:** - **Change Correlation**: Link deployments, configuration changes, and infrastructure modifications to performance issues…

ParameterTypeDescription
end_time *stringEnd time for change event query (ISO 8601 datetime string or Unix timestamp)
start_time *stringStart time for change event query (ISO 8601 datetime string or Unix timestamp)
comprehensive_historybooleanIf True, uses ListEntityEvents API for complete change history (REQUIRES service_key_attributes). If False, uses ListServiceStates API for current service state information (service_key_attributes opt…
max_resultsintegerMaximum number of events to return (1-250, default: 100)
regionstringAWS region to query (defaults to configured region)
service_key_attributesService key attributes to filter events. REQUIRED when comprehensive_history=True (ListEntityEvents API). Optional when comprehensive_history=False (ListServiceStates API). Use list_monitored_services…

list_group_services

SERVICE DISCOVERY TOOL - Find all services belonging to a group. Use this tool when users ask: - "What services belong to the Payment group?" - "List all services in Topology" - "Show me the services in the checkout application" - "Which services are part of the API group?" **WHAT THIS TOOL DOES:** Discovers all services that belong to a specific group by checking the ServiceGroups metadata (from tags, OpenTelemetry attributes, or defaults). **OUTPUT INCLUDES:** - List of services with their names and environments - Group membership details (Group…

ParameterTypeDescription
group_name *stringREQUIRED. The group name or value to search for. Matches against ServiceGroups.GroupName (e.g., 'BusinessUnit'), ServiceGroups.GroupValue (e.g., 'Payments'), or ServiceGroups.GroupIdentifier. Supports…
end_timeEnd time (unix seconds or 'YYYY-MM-DD HH:MM:SS'). Defaults to now UTC.
start_timeStart time (unix seconds or 'YYYY-MM-DD HH:MM:SS'). Defaults to now-3h UTC.

audit_group_health

HEALTH AUDIT TOOL - Detect anomalies and unhealthy services in a group. Use this tool when users ask: - "Is the Payment application healthy?" - "Are there any unhealthy services in Topology?" - "Which services have high fault rates in the checkout group?" - "Check the health of the API group" - "Any anomalies in the Payment services?" **WHAT THIS TOOL DOES:** 1. **SLI-First**: First checks Service Level Indicators (SLOs) for each service. If SLOs are configured, uses SLO breach status for health assessment. 2. **Metrics Fallback**: For services with…

ParameterTypeDescription
group_name *stringREQUIRED. The group name or value to audit. Supports wildcards like '*payment*'.
end_timeEnd time (unix seconds or 'YYYY-MM-DD HH:MM:SS'). Defaults to now UTC.
error_threshold_criticalnumberError rate percentage threshold for CRITICAL when using metrics fallback (default: 5.0)
error_threshold_warningnumberError rate percentage threshold for WARNING when using metrics fallback (default: 1.0)
fault_threshold_criticalnumberFault rate percentage threshold for CRITICAL when using metrics fallback (default: 5.0)
fault_threshold_warningnumberFault rate percentage threshold for WARNING when using metrics fallback (default: 1.0)
latency_p99_threshold_criticalnumberLatency P99 threshold in milliseconds for CRITICAL when using metrics fallback (default: 5000.0)
latency_p99_threshold_warningnumberLatency P99 threshold in milliseconds for WARNING when using metrics fallback (default: 1000.0)
start_timeStart time (unix seconds or 'YYYY-MM-DD HH:MM:SS'). Defaults to now-3h UTC.

get_group_dependencies

DEPENDENCY MAPPING TOOL - Analyze dependencies within and across groups. Use this tool when users ask: - "What are the dependencies of the Payment group?" - "What does the checkout application depend on?" - "What external services does the Checkout group use?" - "Show me the dependency map for the API group" **WHAT THIS TOOL DOES:** Maps all dependencies for services in a group: - Intra-group: Dependencies between services within the same group - Cross-group: Dependencies on services in other groups - External: Dependencies on AWS services (S3, DynamoD…

ParameterTypeDescription
group_name *stringREQUIRED. The group name or value to analyze. Supports wildcards like '*payment*'.
end_timeEnd time (unix seconds or 'YYYY-MM-DD HH:MM:SS'). Defaults to now UTC.
start_timeStart time (unix seconds or 'YYYY-MM-DD HH:MM:SS'). Defaults to now-3h UTC.

get_group_changes

CHANGE TRACKING TOOL - Monitor deployments in a group. Use this tool when users ask: - "What deployments happened in the Payment group today?" - "Any recent deployments in the Checkout services?" - "Show me the deployment history for the API group" - "Did anything deploy to the checkout application recently?" **WHAT THIS TOOL DOES:** Retrieves deployment events for all services in a group, helping correlate issues with recent deployments. **OUTPUT INCLUDES:** - Summary of deployments - Timeline of deployment events - Details: timestamp, event…

ParameterTypeDescription
group_name *stringREQUIRED. The group name or value to check for changes. Supports wildcards like '*payment*'.
end_timeEnd time (unix seconds or 'YYYY-MM-DD HH:MM:SS'). Defaults to now UTC.
start_timeStart time (unix seconds or 'YYYY-MM-DD HH:MM:SS'). Defaults to now-3h UTC.

list_grouping_attribute_definitions

GROUPING CONFIGURATION TOOL - List all custom grouping attribute definitions. Use this tool when users ask: - "What grouping attributes are configured?" - "List all custom groups" - "What groups have been defined in my account?" - "Show me the grouping configuration" - "What grouping attributes are available?" **WHAT THIS TOOL DOES:** Retrieves all custom grouping attribute definitions configured in the account. These definitions determine how services are logically grouped based on telemetry attributes, AWS tags, or predefined mappings. **OUTPUT…

query_rum_events

CloudWatch RUM – monitor real user experience across web and mobile apps. Use the ``action`` parameter to select an operation. All other parameters are optional and depend on the chosen action. **Actions & required parameters** (JSON shape — keys are action names, values are required parameter names): ```json { "check_data_access": ["app_monitor_name"], "list_monitors": [], "get_monitor": ["app_monitor_name"], "list_tags": ["resource_arn"], "get_policy": ["app_monitor_name"], "query": ["app_monitor_name", "query_string", "star…

ParameterTypeDescription
action *string
app_monitor_name
bucket
compare_previous
end_time
group_by
limit
max_results
max_traces
metric
metric_names
page_url
period
platform
query_string
resource_arn
session_id
start_time
statistic

list_monitored_functions

List instrumented functions with runtime metrics, with filtering and limiting. This is the primary discovery tool for functions. Use filters to narrow down: - No filter: Top functions by call count (default) - filter="errors": Only functions that have recorded errors - filter="slow": Only functions with avg duration > threshold_ms **Data source:** CloudWatch Metrics V2 (`service.function.duration` native histogram) via PromQL. Metrics are **average duration** and **call/error counts** only — percentiles (p50/p99) and file paths are NOT available from this so…

ParameterTypeDescription
endpoint
environment
filter
hoursinteger
service_name
sort_bystring
threshold_msnumber
topinteger

get_function_metrics

Get detailed metrics for a specific function. **Data source:** CloudWatch Metrics V2 (`service.function.duration`) via PromQL. Available stats are **average duration** and **call/error counts** only. Percentiles (p50/p99), file path, and min/max duration are NOT available from this source (see plan_006 Gaps G1–G3). Args: function_name: The fully qualified function name (e.g., "module.function_name"), from list_functions. Matched exactly against the `function.name` label. hours: Time range to query in hours (default 24). include_except…

ParameterTypeDescription
function_name *string
endpoint
environment
hoursinteger
include_exceptionsboolean
service_name

search_functions_by_name

Search for functions by name. **Data source:** CloudWatch Metrics V2 — matches against the `function.name` label values of `service.function.duration`. (File-path search is not available; the metric carries no file label — plan_006 Gap G2.) **Output is limited to avoid large responses.** Args: query: Search string (case-insensitive substring match on function name). limit: Maximum number of results to return (default 20). service_name: Service name to query. Optional — from user prompt or prior tool output. environment: Environment n…

ParameterTypeDescription
query *string
endpoint
environment
limitinteger
service_name

get_endpoint_performance

Get summaries for HTTP endpoints with optional filtering. **Data sources (mutually exclusive):** - When **Application Signals is enabled** for the application, endpoint telemetry is not emitted to CloudWatch Logs; per-operation RED metrics (Requests, Errors, Faults, latency) are read from Application Signals. `data_source` is `"application_signals"`. - Otherwise, endpoint summaries are read from the ServiceEvents `endpoint_summary` records in CloudWatch Logs. `data_source` is `"service_events"`. **Two modes:** - **List mode** (default): Returns end…

ParameterTypeDescription
environment
hoursinteger
limitinteger
operation
percentilenumber
service_name

get_recent_incidents

Get a lightweight summary of recent incidents (errors, timeouts, slow requests). **Data sources:** Queries the ServiceEvents incident_snapshot records in CloudWatch Logs. If no incidents are found and Application Signals is enabled, falls back to service-level trace audit findings. Returns minimal data per incident for quick scanning. Use get_incident_root_cause(snapshot_id) to get the full call tree for detailed RCA. **Deployment-anchored investigation:** If the issue may be deployment-related, use `hours_since_deployment` from find_deployment() as the `hour…

ParameterTypeDescription
endpoint
environment
hoursinteger
limitinteger
service_name
trigger_type

get_incident_root_cause

Get full details for a specific incident for root-cause analysis. **Two RCA signals are available:** 1. **Exception info (present for exception-triggered incidents)** — `exception_type`, `exception_message`, and `stack_trace` pinpoint the exact code location that threw. This is the primary RCA signal for failures. 2. **Call tree (optional)** — `call_tree` is an ASCII rendering of the incident's function-call instrumentation (`call_path`), showing per-function timing in ms with a percentage relative to the slowest frame. ★ ERROR marks a failing f…

ParameterTypeDescription
snapshot_id *string
environment
hoursinteger
service_name

get_service_health_overview

Get a health overview of the system. **PRIMARY ENTRY POINT for general health, performance, AND error-pattern questions.** Use this FIRST for any broad, open-ended ask such as "is anything wrong with my app?", "are there any performance issues?", "how healthy is service X?", or **"do you see any erroring pattern / did errors change for service X?"**. It is a FAST, minimal-data tool that consolidates the signals those questions need: SLO compliance/breaches, **recent incident events** (errors, timeouts, slow requests), the top error-prone functions, and — when a `…

ParameterTypeDescription
detailstring
environment
hoursinteger
service_name

find_deployment

Find deployments by searching deployment history in the ServiceEvents CloudWatch Logs. **Mode 1 - Find specific deployment (git_commit_sha provided):** Use when you've identified a suspect commit from code analysis but need to confirm when it was deployed. Searches by commit SHA prefix match. **Mode 2 - List recent deployments (git_commit_sha omitted):** Use when you cannot determine which commit caused the issue and need a deployment timeline to correlate with the issue onset time. Returns all recent unique deployments. **Workflow:** 1. During RCA, you ident…

ParameterTypeDescription
environment
git_commit_sha
hoursinteger
service_name

create_instrumentation

Create a dynamic instrumentation configuration for BREAKPOINT or PROBE. This is the main creation entrypoint for the MCP server. BREAKPOINT and PROBE create code-based instrumentation and require an explicit code location. Set capture_arguments for method/function-level targets and capture_locals for line-level targets. **Primary RCA use — capture the runtime values that telemetry and source code cannot show.** Reach for this tool when an incident's stack trace tells you WHERE an exception threw but not WHY: the exception message is a generic symptom (`/ by…

ParameterTypeDescription
environment *string
instrumentation_type *string
service *string
attribute_filters
capture_arguments
capture_locals
capture_return
capture_stack_trace
class_name
code_unit
descriptionstring
file_path
language
line_number
max_collection_depth
max_collection_width
max_fields_per_object
max_hits
max_object_depth
max_stack_frames
max_stack_trace_size
max_string_length
method_name
ttl_hours

list_instrumentations

List active instrumentation configurations for one service, environment, and type. Args: service: Backend service identifier. environment: Backend environment identifier. instrumentation_type: BREAKPOINT or PROBE. synced_at: Optional AWS pagination/synchronization cursor timestamp. max_results: Maximum number of configurations to request. Defaults to 100. next_token: Optional AWS pagination token from a previous response. Returns: A human-readable list of configurations with location details, capture settings, timing met…

ParameterTypeDescription
environment *string
instrumentation_type *string
service *string
max_resultsinteger
next_token
synced_at

get_instrumentation

Get the full backend configuration for a single instrumentation target. The target can be resolved by `location_hash` or by a full location description. The target can be resolved by `location_hash` or by a full code location description. Args: service: Backend service identifier. environment: Backend environment identifier. instrumentation_type: BREAKPOINT or PROBE. location_hash: Preferred identifier for an existing configuration. language: Code language for code-location lookup. file_path: Code file path for code-location loo…

ParameterTypeDescription
environment *string
instrumentation_type *string
service *string
class_name
code_unit
file_path
language
line_number
location_hash
method_name

delete_instrumentation

Delete a single instrumentation configuration. The target can be resolved by `location_hash` or by a full location description. The target can be resolved by `location_hash` or by a full code location description. Args: service: Backend service identifier. environment: Backend environment identifier. instrumentation_type: BREAKPOINT or PROBE. location_hash: Preferred identifier for an existing configuration. language: Code language for code-location lookup. file_path: Code file path for code-location lookup. code_unit: O…

ParameterTypeDescription
environment *string
instrumentation_type *string
service *string
class_name
code_unit
file_path
language
line_number
location_hash
method_name

batch_delete_instrumentations_by_scope

Batch delete instrumentation configurations by scope. This deletes all configurations that match the provided service, environment, and instrumentation type. Args: service: Backend service identifier. environment: Backend environment identifier. instrumentation_type: BREAKPOINT or PROBE. Returns: A human-readable batch delete summary including deleted count, successful deletions, and any per-item errors returned by the backend.

ParameterTypeDescription
environment *string
instrumentation_type *string
service *string

batch_delete_instrumentations_by_arns

Batch delete instrumentation configurations by explicit resource ARN list. Args: resource_arns: One to fifty instrumentation resource ARNs. instrumentation_type: BREAKPOINT or PROBE. Notes: - The request is rejected when `resource_arns` is empty. - The request is rejected when more than 50 ARNs are provided. - All ARN values must be non-empty strings. Returns: A human-readable batch delete summary including deleted count, successful deletions, and any per-item errors returned by the backend.

ParameterTypeDescription
instrumentation_type *string
resource_arns *array

get_instrumentation_configuration_status

Get status-event history for one instrumentation configuration and one explicit status. This API is intentionally strict: callers must provide exactly one status filter because AWS defaults can be ambiguous. The response distinguishes between the backend's current status field and status confirmation based on returned events. Args: service: Backend service identifier. environment: Backend environment identifier. instrumentation_type: BREAKPOINT or PROBE. location_hash: Preferred identifier for an existing configuration. language: Co…

ParameterTypeDescription
environment *string
instrumentation_type *string
service *string
class_name
code_unit
end_time
file_path
language
line_number
location_hash
max_resultsinteger
method_name
next_token
signal_typestring
start_time
status

check_instrumentation_status

Run a consolidated READY/ACTIVE/ERROR status check over a time window. This helper is opinionated: it first fetches the instrumentation creation time, clamps the ACTIVE search window so it does not start before creation, and then checks ACTIVE, READY, and ERROR in order to produce a single high-level interpretation. Args: service: Backend service identifier. environment: Backend environment identifier. instrumentation_type: BREAKPOINT or PROBE. location_hash: Required 16-character lowercase hex location hash for the target configuration.…

ParameterTypeDescription
end_time *string
environment *string
instrumentation_type *string
location_hash *string
service *string
start_time *string
signal_typestring

search_snapshots_for_status_event

Search CloudWatch Logs snapshots near a known instrumentation status timestamp. This helper builds a Logs Insights query around the supplied status event time, searches for records containing the `location_hash`, and returns a JSON string with query metadata, parsed snapshot summaries, and raw results. Args: service_name: Service label echoed back in the response for operator context. environment: Environment label echoed back in the response for operator context. location_hash: 16-character lowercase hex instrumentation location hash used to filter sn…

ParameterTypeDescription
environment *string
location_hash *string
service_name *string
status_timestamp *string
custom_filters
limitinteger
max_timeoutinteger

get_sample_snapshot_for_breakpoint

Fetch one nearby snapshot to inspect the structure of captured data. This is a discovery helper intended to show the shape of one snapshot record before building narrower CloudWatch queries or deciding which capture fields matter. Args: service_name: Service label echoed back in the response for operator context. environment: Environment label echoed back in the response for operator context. location_hash: 16-character lowercase hex instrumentation location hash used to filter snapshot records. status_timestamp: ISO 8601 status-event timestamp…

ParameterTypeDescription
environment *string
location_hash *string
service_name *string
status_timestamp *string
include_rawboolean
max_timeoutinteger