Documentation
¶
Index ¶
- type LoggingOTLP
- type MetricsOTLP
- type Service
- func (svc *Service) AsLoggingOTLP() *LoggingOTLP
- func (svc *Service) AsMetricsOTLP() *MetricsOTLP
- func (svc *Service) AsTracingOTLP() *TracingOTLP
- func (svc *Service) CreateAlertGroup(ctx context.Context, req *connect.Request[alertv1.CreateAlertGroupRequest]) (*connect.Response[alertv1.CreateAlertGroupResponse], error)
- func (svc *Service) CreateAlertRule(ctx context.Context, req *connect.Request[alertv1.CreateAlertRuleRequest]) (*connect.Response[alertv1.CreateAlertRuleResponse], error)
- func (svc *Service) CreateDashboard(ctx context.Context, req *connect.Request[dashboardv1.CreateDashboardRequest]) (*connect.Response[dashboardv1.CreateDashboardResponse], error)
- func (svc *Service) CreateProject(ctx context.Context, req *connect.Request[projectv1.CreateProjectRequest]) (*connect.Response[projectv1.CreateProjectResponse], error)
- func (svc *Service) DeleteAlertGroup(ctx context.Context, req *connect.Request[alertv1.DeleteAlertGroupRequest]) (*connect.Response[alertv1.DeleteAlertGroupResponse], error)
- func (svc *Service) DeleteAlertRule(ctx context.Context, req *connect.Request[alertv1.DeleteAlertRuleRequest]) (*connect.Response[alertv1.DeleteAlertRuleResponse], error)
- func (svc *Service) DeleteDashboard(ctx context.Context, req *connect.Request[dashboardv1.DeleteDashboardRequest]) (*connect.Response[dashboardv1.DeleteDashboardResponse], error)
- func (svc *Service) DeleteProject(ctx context.Context, req *connect.Request[projectv1.DeleteProjectRequest]) (*connect.Response[projectv1.DeleteProjectResponse], error)
- func (svc *Service) DoLogin(ctx context.Context, req *connect.Request[lhv1.DoLoginRequest]) (*connect.Response[lhv1.DoLoginResponse], error)
- func (svc *Service) DoLogout(ctx context.Context, req *connect.Request[lhv1.DoLogoutRequest]) (*connect.Response[lhv1.DoLogoutResponse], error)
- func (svc *Service) DoRestart(ctx context.Context, req *connect.Request[lhv1.DoRestartRequest]) (*connect.Response[lhv1.DoRestartResponse], error)
- func (svc *Service) DoUpdate(ctx context.Context, req *connect.Request[lhv1.DoUpdateRequest]) (*connect.Response[lhv1.DoUpdateResponse], error)
- func (svc *Service) Format(ctx context.Context, req *connect.Request[qrv1.FormatRequest]) (*connect.Response[qrv1.FormatResponse], error)
- func (svc *Service) GetAlertGroup(ctx context.Context, req *connect.Request[alertv1.GetAlertGroupRequest]) (*connect.Response[alertv1.GetAlertGroupResponse], error)
- func (svc *Service) GetAlertRule(ctx context.Context, req *connect.Request[alertv1.GetAlertRuleRequest]) (*connect.Response[alertv1.GetAlertRuleResponse], error)
- func (svc *Service) GetConfig(ctx context.Context, req *connect.Request[lhv1.GetConfigRequest]) (*connect.Response[lhv1.GetConfigResponse], error)
- func (svc *Service) GetDashboard(ctx context.Context, req *connect.Request[dashboardv1.GetDashboardRequest]) (*connect.Response[dashboardv1.GetDashboardResponse], error)
- func (svc *Service) GetProject(ctx context.Context, req *connect.Request[projectv1.GetProjectRequest]) (*connect.Response[projectv1.GetProjectResponse], error)
- func (svc *Service) GetSpan(ctx context.Context, req *connect.Request[qrv1.GetSpanRequest]) (*connect.Response[qrv1.GetSpanResponse], error)
- func (svc *Service) GetStats(ctx context.Context, req *connect.Request[lhv1.GetStatsRequest]) (*connect.Response[lhv1.GetStatsResponse], error)
- func (svc *Service) GetTrace(ctx context.Context, req *connect.Request[qrv1.GetTraceRequest]) (*connect.Response[qrv1.GetTraceResponse], error)
- func (svc *Service) Ingest(ctx context.Context, req *connect.Request[igv1.IngestRequest]) (*connect.Response[igv1.IngestResponse], error)
- func (svc *Service) IngestStream(ctx context.Context, req *connect.ClientStream[igv1.IngestStreamRequest]) (*connect.Response[igv1.IngestStreamResponse], error)
- func (svc *Service) ListAlertGroup(ctx context.Context, req *connect.Request[alertv1.ListAlertGroupRequest]) (*connect.Response[alertv1.ListAlertGroupResponse], error)
- func (svc *Service) ListAlertRule(ctx context.Context, req *connect.Request[alertv1.ListAlertRuleRequest]) (*connect.Response[alertv1.ListAlertRuleResponse], error)
- func (svc *Service) ListDashboard(ctx context.Context, req *connect.Request[dashboardv1.ListDashboardRequest]) (*connect.Response[dashboardv1.ListDashboardResponse], error)
- func (svc *Service) ListProject(ctx context.Context, req *connect.Request[projectv1.ListProjectRequest]) (*connect.Response[projectv1.ListProjectResponse], error)
- func (svc *Service) ListSymbols(ctx context.Context, req *connect.Request[qrv1.ListSymbolsRequest]) (*connect.Response[qrv1.ListSymbolsResponse], error)
- func (svc *Service) Parse(ctx context.Context, req *connect.Request[qrv1.ParseRequest]) (*connect.Response[qrv1.ParseResponse], error)
- func (svc *Service) Ping(ctx context.Context, req *connect.Request[lhv1.PingRequest]) (*connect.Response[lhv1.PingResponse], error)
- func (svc *Service) Query(ctx context.Context, req *connect.Request[qrv1.QueryRequest]) (*connect.Response[qrv1.QueryResponse], error)
- func (svc *Service) SetConfig(ctx context.Context, req *connect.Request[lhv1.SetConfigRequest]) (*connect.Response[lhv1.SetConfigResponse], error)
- func (svc *Service) Stream(ctx context.Context, req *connect.Request[qrv1.StreamRequest], ...) error
- func (svc *Service) SummarizeEvents(ctx context.Context, req *connect.Request[qrv1.SummarizeEventsRequest]) (*connect.Response[qrv1.SummarizeEventsResponse], error)
- func (svc *Service) UpdateAlertGroup(ctx context.Context, req *connect.Request[alertv1.UpdateAlertGroupRequest]) (*connect.Response[alertv1.UpdateAlertGroupResponse], error)
- func (svc *Service) UpdateAlertRule(ctx context.Context, req *connect.Request[alertv1.UpdateAlertRuleRequest]) (*connect.Response[alertv1.UpdateAlertRuleResponse], error)
- func (svc *Service) UpdateDashboard(ctx context.Context, req *connect.Request[dashboardv1.UpdateDashboardRequest]) (*connect.Response[dashboardv1.UpdateDashboardResponse], error)
- func (svc *Service) UpdateProject(ctx context.Context, req *connect.Request[projectv1.UpdateProjectRequest]) (*connect.Response[projectv1.UpdateProjectResponse], error)
- type TracingOTLP
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LoggingOTLP ¶ added in v0.8.4
type LoggingOTLP struct {
otlplogssvcpb.UnimplementedLogsServiceServer
// contains filtered or unexported fields
}
func (*LoggingOTLP) Export ¶ added in v0.8.4
func (otlp *LoggingOTLP) Export(ctx context.Context, req *otlplogssvcpb.ExportLogsServiceRequest) (*otlplogssvcpb.ExportLogsServiceResponse, error)
func (*LoggingOTLP) ExportHTTP ¶ added in v0.8.5
func (otlp *LoggingOTLP) ExportHTTP(w http.ResponseWriter, r *http.Request)
type MetricsOTLP ¶ added in v0.8.4
type MetricsOTLP struct {
otlpmetricssvcpb.UnimplementedMetricsServiceServer
// contains filtered or unexported fields
}
func (*MetricsOTLP) Export ¶ added in v0.8.4
func (otlp *MetricsOTLP) Export(ctx context.Context, req *otlpmetricssvcpb.ExportMetricsServiceRequest) (*otlpmetricssvcpb.ExportMetricsServiceResponse, error)
func (*MetricsOTLP) ExportHTTP ¶ added in v0.8.5
func (otlp *MetricsOTLP) ExportHTTP(w http.ResponseWriter, r *http.Request)
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func New ¶
func New( ll *slog.Logger, ownVersion *typesv1.Version, storage localstorage.Storage, state localstate.DB, doLogin func(ctx context.Context, returnToURL string) error, doLogout func(ctx context.Context, returnToURL string) error, doUpdate func(ctx context.Context) error, doRestart func(ctx context.Context) error, getConfig func(ctx context.Context) (*typesv1.LocalhostConfig, error), setConfig func(ctx context.Context, cfg *typesv1.LocalhostConfig) error, whoami func(ctx context.Context) (*userv1.WhoamiResponse, error), ) *Service
func (*Service) AsLoggingOTLP ¶ added in v0.8.4
func (svc *Service) AsLoggingOTLP() *LoggingOTLP
func (*Service) AsMetricsOTLP ¶ added in v0.8.4
func (svc *Service) AsMetricsOTLP() *MetricsOTLP
func (*Service) AsTracingOTLP ¶ added in v0.8.4
func (svc *Service) AsTracingOTLP() *TracingOTLP
func (*Service) CreateAlertGroup ¶ added in v0.8.8
func (*Service) CreateAlertRule ¶ added in v0.8.7
func (*Service) CreateDashboard ¶ added in v0.8.6
func (svc *Service) CreateDashboard(ctx context.Context, req *connect.Request[dashboardv1.CreateDashboardRequest]) (*connect.Response[dashboardv1.CreateDashboardResponse], error)
func (*Service) CreateProject ¶ added in v0.8.8
func (*Service) DeleteAlertGroup ¶ added in v0.8.8
func (*Service) DeleteAlertRule ¶ added in v0.8.7
func (*Service) DeleteDashboard ¶ added in v0.8.6
func (svc *Service) DeleteDashboard(ctx context.Context, req *connect.Request[dashboardv1.DeleteDashboardRequest]) (*connect.Response[dashboardv1.DeleteDashboardResponse], error)
func (*Service) DeleteProject ¶ added in v0.8.8
func (*Service) GetAlertGroup ¶ added in v0.8.8
func (*Service) GetAlertRule ¶ added in v0.8.7
func (*Service) GetDashboard ¶ added in v0.8.6
func (svc *Service) GetDashboard(ctx context.Context, req *connect.Request[dashboardv1.GetDashboardRequest]) (*connect.Response[dashboardv1.GetDashboardResponse], error)
func (*Service) GetProject ¶ added in v0.8.8
func (*Service) IngestStream ¶
func (svc *Service) IngestStream(ctx context.Context, req *connect.ClientStream[igv1.IngestStreamRequest]) (*connect.Response[igv1.IngestStreamResponse], error)
func (*Service) ListAlertGroup ¶ added in v0.8.8
func (*Service) ListAlertRule ¶ added in v0.8.7
func (*Service) ListDashboard ¶ added in v0.8.6
func (svc *Service) ListDashboard(ctx context.Context, req *connect.Request[dashboardv1.ListDashboardRequest]) (*connect.Response[dashboardv1.ListDashboardResponse], error)
func (*Service) ListProject ¶ added in v0.8.8
func (*Service) ListSymbols ¶ added in v0.8.0
func (*Service) Stream ¶ added in v0.8.5
func (svc *Service) Stream(ctx context.Context, req *connect.Request[qrv1.StreamRequest], srv *connect.ServerStream[qrv1.StreamResponse]) error
func (*Service) SummarizeEvents ¶
func (*Service) UpdateAlertGroup ¶ added in v0.8.8
func (*Service) UpdateAlertRule ¶ added in v0.8.7
func (*Service) UpdateDashboard ¶ added in v0.8.6
func (svc *Service) UpdateDashboard(ctx context.Context, req *connect.Request[dashboardv1.UpdateDashboardRequest]) (*connect.Response[dashboardv1.UpdateDashboardResponse], error)
func (*Service) UpdateProject ¶ added in v0.8.8
type TracingOTLP ¶ added in v0.8.4
type TracingOTLP struct {
otlptracesvcpb.UnimplementedTraceServiceServer
// contains filtered or unexported fields
}
func (*TracingOTLP) Export ¶ added in v0.8.4
func (otlp *TracingOTLP) Export(ctx context.Context, req *otlptracesvcpb.ExportTraceServiceRequest) (*otlptracesvcpb.ExportTraceServiceResponse, error)
func (*TracingOTLP) ExportHTTP ¶ added in v0.8.5
func (otlp *TracingOTLP) ExportHTTP(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.