Class: ScoutApmMcp::Server::GetJobMetricsTool

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

Instance Method Summary collapse

Instance Method Details

#call(app_id:, job_id:, metric_type:, range: nil, from: nil, to: nil) ⇒ Object



264
265
266
# File 'lib/scout_apm_mcp/server/tools/standard_tools.rb', line 264

def call(app_id:, job_id:, metric_type:, range: nil, from: nil, to: nil)
  get_client.get_job_metrics(app_id, job_id, metric_type, from: from, to: to, range: range)
end