logging

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 8, 2025 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Install

func Install(_ context.Context, s *mcp.Server, c *config.Config) error

Install adds GCP logging related tools to an MCP server.

Types

type GetLogSchemaRequest

type GetLogSchemaRequest struct {
	LogType string `` /* 147-byte string literal not displayed */
}

type LogQueryRequest

type LogQueryRequest struct {
	Query     string     `` /* 146-byte string literal not displayed */
	ProjectID string     `json:"project_id" jsonschema:"GCP project ID to query logs from. Required."`
	TimeRange *TimeRange `json:"time_range,omitempty" jsonschema:"Time range for log query. If empty, no restrictions are applied."`
	Since     string     `` /* 179-byte string literal not displayed */
	Limit     int        `` /* 155-byte string literal not displayed */
	Format    string     `` /* 474-byte string literal not displayed */
}

type TimeRange

type TimeRange struct {
	StartTime time.Time `json:"start_time" jsonschema:"Start time for log query (RFC3339 format)"`
	EndTime   time.Time `json:"end_time" jsonschema:"End time for log query (RFC3339 format)"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL