@@ -233,11 +233,10 @@ var ListSiftInvestigations = mcpgrafana.MustTool(
233
233
234
234
// FindErrorPatternLogsParams defines the parameters for running an ErrorPatternLogs check
235
235
type FindErrorPatternLogsParams struct {
236
- Name string `json:"name" jsonschema:"required,description=The name of the investigation"`
237
- Labels map [string ]string `json:"labels" jsonschema:"required,description=Labels to scope the analysis"`
238
- Start time.Time `json:"start,omitempty" jsonschema:"description=Start time for the investigation. Defaults to 30 minutes ago if not specified."`
239
- End time.Time `json:"end,omitempty" jsonschema:"description=End time for the investigation. Defaults to now if not specified."`
240
- QueryURL string `json:"queryUrl,omitempty" jsonschema:"description=Optional query URL for the investigation"`
236
+ Name string `json:"name" jsonschema:"required,description=The name of the investigation"`
237
+ Labels map [string ]string `json:"labels" jsonschema:"required,description=Labels to scope the analysis"`
238
+ Start time.Time `json:"start,omitempty" jsonschema:"description=Start time for the investigation. Defaults to 30 minutes ago if not specified."`
239
+ End time.Time `json:"end,omitempty" jsonschema:"description=End time for the investigation. Defaults to now if not specified."`
241
240
}
242
241
243
242
// findErrorPatternLogs creates an investigation with ErrorPatternLogs check, waits for it to complete, and returns the analysis
@@ -299,11 +298,10 @@ var FindErrorPatternLogs = mcpgrafana.MustTool(
299
298
300
299
// FindSlowRequestsParams defines the parameters for running an SlowRequests check
301
300
type FindSlowRequestsParams struct {
302
- Name string `json:"name" jsonschema:"required,description=The name of the investigation"`
303
- Labels map [string ]string `json:"labels" jsonschema:"required,description=Labels to scope the analysis"`
304
- Start time.Time `json:"start,omitempty" jsonschema:"description=Start time for the investigation. Defaults to 30 minutes ago if not specified."`
305
- End time.Time `json:"end,omitempty" jsonschema:"description=End time for the investigation. Defaults to now if not specified."`
306
- QueryURL string `json:"queryUrl,omitempty" jsonschema:"description=Optional query URL for the investigation"`
301
+ Name string `json:"name" jsonschema:"required,description=The name of the investigation"`
302
+ Labels map [string ]string `json:"labels" jsonschema:"required,description=Labels to scope the analysis"`
303
+ Start time.Time `json:"start,omitempty" jsonschema:"description=Start time for the investigation. Defaults to 30 minutes ago if not specified."`
304
+ End time.Time `json:"end,omitempty" jsonschema:"description=End time for the investigation. Defaults to now if not specified."`
307
305
}
308
306
309
307
// findSlowRequests creates an investigation with SlowRequests check, waits for it to complete, and returns the analysis
0 commit comments