Documentation
¶
Index ¶
Constants ¶
View Source
const SecondToMirco = 1000000
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface { // Get fault site paging log GetFaultLogPageList(req *request.GetFaultLogPageListRequest) (*response.GetFaultLogPageListResponse, error) GetFaultLogContent(req *request.GetFaultLogContentRequest) (*response.GetFaultLogContentResponse, error) InitParseLogTable(req *request.LogTableRequest) (*response.LogTableResponse, error) DropLogTable(req *request.LogTableRequest) (*response.LogTableResponse, error) UpdateLogTable(req *request.LogTableRequest) (*response.LogTableResponse, error) GetLogTableInfo(req *request.LogTableInfoRequest) (*response.LogTableInfoResponse, error) // Query full logs QueryLog(req *request.LogQueryRequest) (*response.LogQueryResponse, error) QueryLogContext(req *request.LogQueryContextRequest) (*response.LogQueryContextResponse, error) // Log Trend Chart GetLogChart(req *request.LogQueryRequest) (*response.LogChartResponse, error) // Field Analysis GetLogIndex(req *request.LogIndexRequest) (*response.LogIndexResponse, error) GetServiceRoute(req *request.GetServiceRouteRequest) (*response.GetServiceRouteResponse, error) GetLogParseRule(req *request.QueryLogParseRequest) (*response.LogParseResponse, error) UpdateLogParseRule(req *request.UpdateLogParseRequest) (*response.LogParseResponse, error) AddLogParseRule(req *request.AddLogParseRequest) (*response.LogParseResponse, error) DeleteLogParseRule(req *request.DeleteLogParseRequest) (*response.LogParseResponse, error) OtherTable(req *request.OtherTableRequest) (*response.OtherTableResponse, error) OtherTableInfo(req *request.OtherTableInfoRequest) (*response.OtherTableInfoResponse, error) AddOtherTable(req *request.AddOtherTableRequest) (*response.AddOtherTableResponse, error) DeleteOtherTable(req *request.DeleteOtherTableRequest) (*response.DeleteOtherTableResponse, error) }
func New ¶
func New(chRepo clickhouse.Repo, dbRepo database.Repo, k8sApi kubernetes.Repo, promRepo prometheus.Repo) Service
Source Files
¶
- service.go
- service_add_log_parse_rule.go
- service_add_other_table.go
- service_delete_log_parse_rule.go
- service_delete_other_table.go
- service_get_fault_log_contents.go
- service_get_fault_log_page_list.go
- service_get_log_chart.go
- service_get_log_parse_rule.go
- service_get_log_table_info.go
- service_get_service_route.go
- service_log_index.go
- service_log_table.go
- service_other_log.go
- service_other_log_info.go
- service_query_log.go
- service_query_log_context.go
- service_update_log_parse_rule.go
Click to show internal directories.
Click to hide internal directories.