Documentation
¶
Index ¶
- func GetAksMonitoringHandler(azClient *azureclient.AzureClient, cfg *config.ConfigData) tools.ResourceHandler
- func GetAppInsightsHandler(cfg *config.ConfigData) tools.ResourceHandler
- func GetResourceHealthHandler(cfg *config.ConfigData) tools.ResourceHandler
- func GetSupportedMonitoringOperations() []string
- func HandleAppInsightsQuery(ctx context.Context, params map[string]interface{}, cfg *config.ConfigData) (string, error)
- func HandleResourceHealthQuery(ctx context.Context, params map[string]interface{}, cfg *config.ConfigData) (string, error)
- func MapMetricsQueryTypeToCommand(queryType string) (string, error)
- func RegisterAksMonitoring() mcp.Tool
- func ValidateMetricsQueryType(queryType string) bool
- func ValidateMonitoringOperation(operation string) bool
- type MonitoringOperationType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAksMonitoringHandler ¶ added in v0.0.14
func GetAksMonitoringHandler(azClient *azureclient.AzureClient, cfg *config.ConfigData) tools.ResourceHandler
GetAksMonitoringHandler returns a ResourceHandler for the monitoring tool
func GetAppInsightsHandler ¶ added in v0.0.3
func GetAppInsightsHandler(cfg *config.ConfigData) tools.ResourceHandler
GetAppInsightsHandler returns a ResourceHandler for the Application Insights tool
func GetResourceHealthHandler ¶ added in v0.0.3
func GetResourceHealthHandler(cfg *config.ConfigData) tools.ResourceHandler
GetResourceHealthHandler returns a ResourceHandler for the resource health tool
func GetSupportedMonitoringOperations ¶ added in v0.0.3
func GetSupportedMonitoringOperations() []string
GetSupportedMonitoringOperations returns all supported monitoring operations
func HandleAppInsightsQuery ¶ added in v0.0.3
func HandleAppInsightsQuery(ctx context.Context, params map[string]interface{}, cfg *config.ConfigData) (string, error)
HandleAppInsightsQuery handles Application Insights telemetry queries for AKS clusters
func HandleResourceHealthQuery ¶ added in v0.0.3
func HandleResourceHealthQuery(ctx context.Context, params map[string]interface{}, cfg *config.ConfigData) (string, error)
HandleResourceHealthQuery handles the resource health query for AKS clusters
func MapMetricsQueryTypeToCommand ¶ added in v0.0.3
MapMetricsQueryTypeToCommand maps a metrics query type to its corresponding az command
func RegisterAksMonitoring ¶ added in v0.0.14
RegisterAksMonitoring registers the monitoring tool
func ValidateMetricsQueryType ¶ added in v0.0.3
ValidateMetricsQueryType checks if the metrics query type is supported
func ValidateMonitoringOperation ¶ added in v0.0.3
ValidateMonitoringOperation checks if the monitoring operation is supported
Types ¶
type MonitoringOperationType ¶ added in v0.0.3
type MonitoringOperationType string
MonitoringOperationType defines the type of monitoring operation
const ( OpMetrics MonitoringOperationType = "metrics" OpResourceHealth MonitoringOperationType = "resource_health" OpAppInsights MonitoringOperationType = "app_insights" OpDiagnostics MonitoringOperationType = "diagnostics" OpControlPlaneLogs MonitoringOperationType = "control_plane_logs" )