Class: ScoutApmMcp::Server::ListAnomalyEventsTool

Inherits:
BaseTool
  • Object
show all
Defined in:
lib/scout_apm_mcp/server/tools/standard_tools.rb

Overview

Anomaly Tools

Instance Method Summary collapse

Instance Method Details

#call(app_id:, range: nil, from: nil, to: nil, state: nil, metric: nil, endpoint: nil) ⇒ Object



380
381
382
383
384
385
386
387
388
389
390
# File 'lib/scout_apm_mcp/server/tools/standard_tools.rb', line 380

def call(app_id:, range: nil, from: nil, to: nil, state: nil, metric: nil, endpoint: nil)
  get_client.list_anomaly_events(
    app_id,
    from: from,
    to: to,
    range: range,
    state: state,
    metric: metric,
    endpoint: endpoint
  )
end