FIX: QVAC Updates
This commit is contained in:
@@ -48,6 +48,11 @@ import {
|
||||
getHostSnapshot,
|
||||
searchCharts,
|
||||
summarizeChart,
|
||||
investigateHost,
|
||||
hotMetrics,
|
||||
relatedCharts,
|
||||
compareChartWindows,
|
||||
summarizeCharts,
|
||||
} from '../services/ai-tools.js'
|
||||
import {
|
||||
getRetentionConfig,
|
||||
@@ -169,6 +174,21 @@ export function registerMonitorHandlers(session) {
|
||||
session.respond('summarizeChart', async (args) => summarizeChart(args || {}), {
|
||||
hot: true,
|
||||
})
|
||||
session.respond('investigateHost', async (args) => investigateHost(args || {}), {
|
||||
hot: true,
|
||||
})
|
||||
session.respond('hotMetrics', async (args) => hotMetrics(args || {}), { hot: true })
|
||||
session.respond('relatedCharts', async (args) => relatedCharts(args || {}), {
|
||||
hot: true,
|
||||
})
|
||||
session.respond(
|
||||
'compareChartWindows',
|
||||
async (args) => compareChartWindows(args || {}),
|
||||
{ hot: true }
|
||||
)
|
||||
session.respond('summarizeCharts', async (args) => summarizeCharts(args || {}), {
|
||||
hot: true,
|
||||
})
|
||||
|
||||
session.respond('queryLogs', async (args) =>
|
||||
queryLogs({ ...(args || {}), role: session.role })
|
||||
|
||||
Reference in New Issue
Block a user