Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alipay/container-observability-service
/ functions
Functions
1,310 in github.com/alipay/container-observability-service
⨍
Functions
1,310
◇
Types & classes
341
↓ 2 callers
Method
QueryDeleteSloWithResult
(data interface{}, requestParams *model.SloOptions)
pkg/dal/storage-client/data_access/mysql.go:582
↓ 2 callers
Method
QueryDeleteSloWithResult
(data interface{}, opts *model.SloOptions)
pkg/dal/storage-client/data_access/storage_interface.go:44
↓ 2 callers
Method
QueryLifePhaseWithPodUid
(data interface{}, podUID string)
pkg/dal/storage-client/data_access/mysql.go:79
↓ 2 callers
Method
QueryNodeUIDListWithNodeIp
(data interface{}, nodeIp string)
pkg/dal/storage-client/data_access/mysql.go:322
↓ 2 callers
Method
QueryNodeYamlWithParams
(data interface{}, debugparams *model.NodeParams)
pkg/dal/storage-client/data_access/mysql.go:625
↓ 2 callers
Method
QueryNodeYamlsWithNodeIP
(data interface{}, nodeIp string)
pkg/dal/storage-client/data_access/mysql.go:297
↓ 2 callers
Method
QueryNodeYamlsWithNodeName
(data interface{}, nodeName string)
pkg/dal/storage-client/data_access/mysql.go:273
↓ 2 callers
Method
QueryNodeYamlsWithNodeUid
(data interface{}, nodeUid string)
pkg/dal/storage-client/data_access/mysql.go:249
↓ 2 callers
Method
QueryNodephaseWithNodeName
(data interface{}, nodeName string)
pkg/dal/storage-client/data_access/mysql.go:419
↓ 2 callers
Method
QueryNodephaseWithNodeUID
(data interface{}, nodeUid string)
pkg/dal/storage-client/data_access/mysql.go:433
↓ 2 callers
Method
QueryPodInfoWithPodUid
(data interface{}, podUid string)
pkg/dal/storage-client/data_access/mysql.go:404
↓ 2 callers
Method
QueryPodListWithNodeip
(data interface{}, nodeIp string, isDeleted bool)
pkg/dal/storage-client/data_access/mysql.go:193
↓ 2 callers
Method
QueryPodUIDListByHostname
(data interface{}, hostName string)
pkg/dal/storage-client/data_access/mysql.go:207
↓ 2 callers
Method
QueryPodUIDListByHostname
(data interface{}, hostname string)
pkg/dal/storage-client/data_access/storage_interface.go:23
↓ 2 callers
Method
QueryPodUIDListByPodIP
(data interface{}, podIp string)
pkg/dal/storage-client/data_access/mysql.go:221
↓ 2 callers
Method
QueryPodUIDListByPodIP
(data interface{}, ip string)
pkg/dal/storage-client/data_access/storage_interface.go:24
↓ 2 callers
Method
QueryPodUIDListByPodName
(data interface{}, podName string)
pkg/dal/storage-client/data_access/mysql.go:235
↓ 2 callers
Method
QueryPodUIDListByPodName
(data interface{}, podname string)
pkg/dal/storage-client/data_access/storage_interface.go:25
↓ 2 callers
Method
QueryPodYamlWithParams
(data interface{}, debugparams *model.PodParams)
pkg/dal/storage-client/data_access/mysql.go:683
↓ 2 callers
Method
QueryPodYamlsWithHostName
(data interface{}, hostName string)
pkg/dal/storage-client/data_access/mysql.go:143
↓ 2 callers
Method
QueryPodYamlsWithPodIp
(data interface{}, podIp string)
pkg/dal/storage-client/data_access/mysql.go:168
↓ 2 callers
Method
QueryPodYamlsWithPodName
(data interface{}, podName string)
pkg/dal/storage-client/data_access/mysql.go:118
↓ 2 callers
Method
QueryPodYamlsWithPodUID
(data interface{}, podUID string)
pkg/dal/storage-client/data_access/mysql.go:93
↓ 2 callers
Method
QuerySpanWithPodUid
(data interface{}, uid string)
pkg/dal/storage-client/data_access/mysql.go:63
↓ 2 callers
Method
QueryUpgradeSloWithResult
(data interface{}, requestParams *model.SloOptions)
pkg/dal/storage-client/data_access/mysql.go:538
↓ 2 callers
Method
QueryUpgradeSloWithResult
(data interface{}, opts *model.SloOptions)
pkg/dal/storage-client/data_access/storage_interface.go:45
↓ 2 callers
Method
RecordFlow
(flowSuccess bool)
pkg/utils/flow_control.go:43
↓ 2 callers
Method
Register
(deliveryType DeliveryType, generator func() *DAGAnalyzer)
pkg/reason/analyzers/analyzer_factory.go:11
↓ 2 callers
Function
RegisterLuaHelperFunc
(name string, helper func(L *lua.LState) int)
pkg/spans/lua_helper.go:9
↓ 2 callers
Method
Remove
Remove removes an element from the map.
pkg/utils/concurrent_map.go:117
↓ 2 callers
Method
Set
(key string, value interface{})
pkg/utils/expiringmap.go:37
↓ 2 callers
Method
SetFilterItemFunc
(filter func(item interface{}) bool)
pkg/queue/queue.go:157
↓ 2 callers
Method
Size
Size returns the current size of the queue
pkg/queue/queue.go:130
↓ 2 callers
Function
SliceContainsString
(arr []string, s string)
pkg/utils/utils.go:234
↓ 2 callers
Method
StartServer
StartServer start new api server
pkg/api/server.go:149
↓ 2 callers
Method
Stop
()
pkg/reason/modules/module.go:15
↓ 2 callers
Function
StringHashcode
(s string)
pkg/utils/utils.go:222
↓ 2 callers
Method
UnSubscribe
UnSubscribe un subscribe to the PubSub.
pkg/pubsub/pubsub.go:64
↓ 2 callers
Method
ValidRequest
()
internal/grafanadi/handler/handler.go:11
↓ 2 callers
Function
WithLimit
(limint int)
pkg/dal/storage-client/model/type.go:40
↓ 2 callers
Function
analysisContainerCreate
(c *v1.Container, auditEvents []*shares.AuditEvent, endTime *time.Time)
pkg/reason/modules/pods/container_create_module.go:45
↓ 2 callers
Function
analysisContainerStart
(c *v1.Container, cs *v1.ContainerStatus, auditEvents []*shares.AuditEvent, beginTime *time.Time, endTime *tim
pkg/reason/modules/pods/container_start_module.go:55
↓ 2 callers
Function
analysisPostHookStart
(c *v1.Container, cs *v1.ContainerStatus, auditEvents []*shares.AuditEvent, beginTime *time.Time, endTime *tim
pkg/reason/modules/pods/container_posthook_module.go:55
↓ 2 callers
Method
analyzeFailedReason
()
pkg/slo/pod_upgrade_slo.go:506
↓ 2 callers
Function
analyzeFailureReasonDetails
用于分析详细的pod失败原因
pkg/slo/pod_create_failreason.go:69
↓ 2 callers
Function
calculatePostStartHookTime
计算 PostStartHook 的最大耗时 一个 Pod 可能有多个 container,每个 container 都可能有 PostStartHook
pkg/slo/pod_create_failreason.go:383
↓ 2 callers
Function
changeModel
(newModel: DisplayModel)
grafana_plugin/yaml_panel/src/components/YamlPanel.tsx:57
↓ 2 callers
Function
changeTheme
(theme: Theme)
grafana_plugin/yaml_panel/src/components/YamlPanel.tsx:53
↓ 2 callers
Function
copy
(src, dst string)
cmd/audit_init/main.go:64
↓ 2 callers
Function
extractVictims
extractVictims 提取抢占victims
pkg/podphase/podphase_event_create.go:69
↓ 2 callers
Function
fanIn
fanIn reads elements from channels `chans` into channel `out`
pkg/utils/concurrent_map.go:223
↓ 2 callers
Method
fetchEvents
获取审计日志
pkg/replayer/audit_reader.go:346
↓ 2 callers
Function
finishPVCCreateWithResult
(key string, result string)
pkg/slo/pvc_create_slo.go:95
↓ 2 callers
Method
finishSpan
(spanMata *SpanMeta)
pkg/spans/consumer.go:142
↓ 2 callers
Method
finishSpan
(spanMata *SpanMeta, ev *shares.AuditEvent)
pkg/trace/consumer.go:131
↓ 2 callers
Function
formatPodPhase
格式化生命周期事件,展示给 trace API 的前端页面。
pkg/api/debugpod_handler.go:216
↓ 2 callers
Function
genKey
(cluster, namespace, name string)
pkg/slo/pvc_create_slo.go:91
↓ 2 callers
Method
getConfig
()
pkg/spans/consumer.go:165
↓ 2 callers
Function
getInitContainerImage
(pod *v1.Pod)
pkg/slo/utils.go:131
↓ 2 callers
Function
getOwnerRefStr
(pod *v1.Pod)
pkg/slo/utils.go:51
↓ 2 callers
Method
getPodDeliverySLO
()
pkg/slo/pod_create_slo.go:301
↓ 2 callers
Function
getProvider
(service string)
pkg/spans/jaeger.go:103
↓ 2 callers
Function
getProvider
(service string)
pkg/trace/jaeger.go:117
↓ 2 callers
Function
getScheduleStatus
getScheduleStatus, 1:已调度;0:调度失败; -1: 未处理
pkg/slo/pod_create_failreason.go:296
↓ 2 callers
Method
isFinish
()
pkg/reason/analyzers/analyzer.go:164
↓ 2 callers
Method
isFinished
()
pkg/trace/span.go:94
↓ 2 callers
Function
isIgnore
(key string)
pkg/shares/extractor/pod_patch.go:231
↓ 2 callers
Function
isKubeletDelay
isKubeletDelay 是否是kubelet处理延迟导致的失败
pkg/slo/pod_create_failreason.go:255
↓ 2 callers
Function
isPreemption
(events []*v1.Event)
pkg/slo/pod_create_failreason.go:315
↓ 2 callers
Function
isRuntimeOperationFailure
事件中包含 "failed to update resolv file of container" 被分类为 RuntimeOperationFailed
pkg/slo/pod_create_failreason.go:412
↓ 2 callers
Function
logPanic
(r interface{})
pkg/utils/utils.go:385
↓ 2 callers
Method
match
(event *shares.AuditEvent, spanName *string)
pkg/spans/config.go:36
↓ 2 callers
Method
match
(event *shares.AuditEvent, spanName *string)
pkg/trace/config.go:31
↓ 2 callers
Function
pod2ContainersMap
(pod *corev1.Pod)
pkg/metas/utils.go:229
↓ 2 callers
Function
podUniqueKey
(ms *xsearch.PodDeleteMileStone)
pkg/slo/pod_delete_slo.go:46
↓ 2 callers
Function
queryNodeYamlWithNodeName
(nodeName string)
pkg/api/zsearch_nodeyaml.go:23
↓ 2 callers
Function
queryPodYamlWithPodUID
(podUID string)
pkg/api/zsearch.go:649
↓ 2 callers
Function
r2m
r2m convert resource.request/limit to map[string]string
pkg/slo/utils.go:109
↓ 2 callers
Function
reverseEvent
(events []*v1.Event)
pkg/slo/pod_create_failreason.go:426
↓ 2 callers
Method
setParent
(parent *BufferData)
pkg/utils/utils.go:259
↓ 2 callers
Function
setTPLayout
(values url.Values, name string, f *time.Time)
pkg/api/types.go:112
↓ 2 callers
Function
snapshot
Returns a array of channels that contains elements in each shard, which likely takes a snapshot of `m`. It returns once the size of each buffered chan
pkg/utils/concurrent_map.go:200
↓ 2 callers
Function
sortConditionsBytime
status.conditions按照时间排序
pkg/slo/pod_create_failreason.go:442
↓ 2 callers
Function
template
(label, val)
statics/jsonTree.js:223
↓ 2 callers
Method
tryInitialNewSpan
(event *shares.AuditEvent)
pkg/trace/span.go:256
↓ 2 callers
Method
tryStartSpan
(begin time.Time)
pkg/trace/span.go:153
↓ 2 callers
Method
tryUpdateSpan
(event *shares.AuditEvent)
pkg/spans/span.go:116
↓ 2 callers
Method
updateTraceInfo
(endTime time.Time)
pkg/trace/span.go:101
↓ 1 callers
Function
AddStatusFromPodLifePhase
(podPhases []*storagemodel.LifePhase)
internal/grafanadi/service/containerevents.go:17
↓ 1 callers
Function
AddStatusFromSloData
(sloList []*storagemodel.SloTraceData, lifePhases []*storagemodel.LifePhase)
internal/grafanadi/service/containerstatus.go:19
↓ 1 callers
Function
AggregationFromParams
(index, doctype, timeAttr, filters, lte, gte, terms, percentile, overtime string, storage data_access.StorageI
internal/grafanadi/utils/utils.go:93
↓ 1 callers
Method
Append
(hit *HitEvent)
pkg/shares/event_data.go:195
↓ 1 callers
Function
CalculateCpuAndMem
计算 Pod 的 CPU 和 mem
pkg/utils/utils.go:403
↓ 1 callers
Method
CanDo
()
pkg/reason/modules/module.go:12
↓ 1 callers
Method
Capacity
Capacity returns capacity of the queue
pkg/queue/queue.go:135
↓ 1 callers
Method
Children
()
pkg/reason/modules/module.go:74
↓ 1 callers
Function
ClearRequestResourceMetric
clear the metric data of request resource info periodically
pkg/metrics/spans.go:55
↓ 1 callers
Function
ClientIP
ClientIP 尽最大努力实现获取客户端 IP 的算法。 解析 X-Real-IP 和 X-Forwarded-For 以便于反向代理(nginx 或 haproxy)可以正常工作。
pkg/utils/utils.go:415
↓ 1 callers
Method
Compact
()
pkg/spans/consumer.go:61
↓ 1 callers
Method
Compact
()
pkg/trace/consumer.go:59
← previous
next →
201–300 of 1,310, ranked by callers