MCPcopy Create free account

hub / github.com/alipay/container-observability-service / functions

Functions1,310 in github.com/alipay/container-observability-service

↓ 2 callersMethodQueryDeleteSloWithResult
(data interface{}, requestParams *model.SloOptions)
pkg/dal/storage-client/data_access/mysql.go:582
↓ 2 callersMethodQueryDeleteSloWithResult
(data interface{}, opts *model.SloOptions)
pkg/dal/storage-client/data_access/storage_interface.go:44
↓ 2 callersMethodQueryLifePhaseWithPodUid
(data interface{}, podUID string)
pkg/dal/storage-client/data_access/mysql.go:79
↓ 2 callersMethodQueryNodeUIDListWithNodeIp
(data interface{}, nodeIp string)
pkg/dal/storage-client/data_access/mysql.go:322
↓ 2 callersMethodQueryNodeYamlWithParams
(data interface{}, debugparams *model.NodeParams)
pkg/dal/storage-client/data_access/mysql.go:625
↓ 2 callersMethodQueryNodeYamlsWithNodeIP
(data interface{}, nodeIp string)
pkg/dal/storage-client/data_access/mysql.go:297
↓ 2 callersMethodQueryNodeYamlsWithNodeName
(data interface{}, nodeName string)
pkg/dal/storage-client/data_access/mysql.go:273
↓ 2 callersMethodQueryNodeYamlsWithNodeUid
(data interface{}, nodeUid string)
pkg/dal/storage-client/data_access/mysql.go:249
↓ 2 callersMethodQueryNodephaseWithNodeName
(data interface{}, nodeName string)
pkg/dal/storage-client/data_access/mysql.go:419
↓ 2 callersMethodQueryNodephaseWithNodeUID
(data interface{}, nodeUid string)
pkg/dal/storage-client/data_access/mysql.go:433
↓ 2 callersMethodQueryPodInfoWithPodUid
(data interface{}, podUid string)
pkg/dal/storage-client/data_access/mysql.go:404
↓ 2 callersMethodQueryPodListWithNodeip
(data interface{}, nodeIp string, isDeleted bool)
pkg/dal/storage-client/data_access/mysql.go:193
↓ 2 callersMethodQueryPodUIDListByHostname
(data interface{}, hostName string)
pkg/dal/storage-client/data_access/mysql.go:207
↓ 2 callersMethodQueryPodUIDListByHostname
(data interface{}, hostname string)
pkg/dal/storage-client/data_access/storage_interface.go:23
↓ 2 callersMethodQueryPodUIDListByPodIP
(data interface{}, podIp string)
pkg/dal/storage-client/data_access/mysql.go:221
↓ 2 callersMethodQueryPodUIDListByPodIP
(data interface{}, ip string)
pkg/dal/storage-client/data_access/storage_interface.go:24
↓ 2 callersMethodQueryPodUIDListByPodName
(data interface{}, podName string)
pkg/dal/storage-client/data_access/mysql.go:235
↓ 2 callersMethodQueryPodUIDListByPodName
(data interface{}, podname string)
pkg/dal/storage-client/data_access/storage_interface.go:25
↓ 2 callersMethodQueryPodYamlWithParams
(data interface{}, debugparams *model.PodParams)
pkg/dal/storage-client/data_access/mysql.go:683
↓ 2 callersMethodQueryPodYamlsWithHostName
(data interface{}, hostName string)
pkg/dal/storage-client/data_access/mysql.go:143
↓ 2 callersMethodQueryPodYamlsWithPodIp
(data interface{}, podIp string)
pkg/dal/storage-client/data_access/mysql.go:168
↓ 2 callersMethodQueryPodYamlsWithPodName
(data interface{}, podName string)
pkg/dal/storage-client/data_access/mysql.go:118
↓ 2 callersMethodQueryPodYamlsWithPodUID
(data interface{}, podUID string)
pkg/dal/storage-client/data_access/mysql.go:93
↓ 2 callersMethodQuerySpanWithPodUid
(data interface{}, uid string)
pkg/dal/storage-client/data_access/mysql.go:63
↓ 2 callersMethodQueryUpgradeSloWithResult
(data interface{}, requestParams *model.SloOptions)
pkg/dal/storage-client/data_access/mysql.go:538
↓ 2 callersMethodQueryUpgradeSloWithResult
(data interface{}, opts *model.SloOptions)
pkg/dal/storage-client/data_access/storage_interface.go:45
↓ 2 callersMethodRecordFlow
(flowSuccess bool)
pkg/utils/flow_control.go:43
↓ 2 callersMethodRegister
(deliveryType DeliveryType, generator func() *DAGAnalyzer)
pkg/reason/analyzers/analyzer_factory.go:11
↓ 2 callersFunctionRegisterLuaHelperFunc
(name string, helper func(L *lua.LState) int)
pkg/spans/lua_helper.go:9
↓ 2 callersMethodRemove
Remove removes an element from the map.
pkg/utils/concurrent_map.go:117
↓ 2 callersMethodSet
(key string, value interface{})
pkg/utils/expiringmap.go:37
↓ 2 callersMethodSetFilterItemFunc
(filter func(item interface{}) bool)
pkg/queue/queue.go:157
↓ 2 callersMethodSize
Size returns the current size of the queue
pkg/queue/queue.go:130
↓ 2 callersFunctionSliceContainsString
(arr []string, s string)
pkg/utils/utils.go:234
↓ 2 callersMethodStartServer
StartServer start new api server
pkg/api/server.go:149
↓ 2 callersMethodStop
()
pkg/reason/modules/module.go:15
↓ 2 callersFunctionStringHashcode
(s string)
pkg/utils/utils.go:222
↓ 2 callersMethodUnSubscribe
UnSubscribe un subscribe to the PubSub.
pkg/pubsub/pubsub.go:64
↓ 2 callersMethodValidRequest
()
internal/grafanadi/handler/handler.go:11
↓ 2 callersFunctionWithLimit
(limint int)
pkg/dal/storage-client/model/type.go:40
↓ 2 callersFunctionanalysisContainerCreate
(c *v1.Container, auditEvents []*shares.AuditEvent, endTime *time.Time)
pkg/reason/modules/pods/container_create_module.go:45
↓ 2 callersFunctionanalysisContainerStart
(c *v1.Container, cs *v1.ContainerStatus, auditEvents []*shares.AuditEvent, beginTime *time.Time, endTime *tim
pkg/reason/modules/pods/container_start_module.go:55
↓ 2 callersFunctionanalysisPostHookStart
(c *v1.Container, cs *v1.ContainerStatus, auditEvents []*shares.AuditEvent, beginTime *time.Time, endTime *tim
pkg/reason/modules/pods/container_posthook_module.go:55
↓ 2 callersMethodanalyzeFailedReason
()
pkg/slo/pod_upgrade_slo.go:506
↓ 2 callersFunctionanalyzeFailureReasonDetails
用于分析详细的pod失败原因
pkg/slo/pod_create_failreason.go:69
↓ 2 callersFunctioncalculatePostStartHookTime
计算 PostStartHook 的最大耗时 一个 Pod 可能有多个 container,每个 container 都可能有 PostStartHook
pkg/slo/pod_create_failreason.go:383
↓ 2 callersFunctionchangeModel
(newModel: DisplayModel)
grafana_plugin/yaml_panel/src/components/YamlPanel.tsx:57
↓ 2 callersFunctionchangeTheme
(theme: Theme)
grafana_plugin/yaml_panel/src/components/YamlPanel.tsx:53
↓ 2 callersFunctioncopy
(src, dst string)
cmd/audit_init/main.go:64
↓ 2 callersFunctionextractVictims
extractVictims 提取抢占victims
pkg/podphase/podphase_event_create.go:69
↓ 2 callersFunctionfanIn
fanIn reads elements from channels `chans` into channel `out`
pkg/utils/concurrent_map.go:223
↓ 2 callersMethodfetchEvents
获取审计日志
pkg/replayer/audit_reader.go:346
↓ 2 callersFunctionfinishPVCCreateWithResult
(key string, result string)
pkg/slo/pvc_create_slo.go:95
↓ 2 callersMethodfinishSpan
(spanMata *SpanMeta)
pkg/spans/consumer.go:142
↓ 2 callersMethodfinishSpan
(spanMata *SpanMeta, ev *shares.AuditEvent)
pkg/trace/consumer.go:131
↓ 2 callersFunctionformatPodPhase
格式化生命周期事件,展示给 trace API 的前端页面。
pkg/api/debugpod_handler.go:216
↓ 2 callersFunctiongenKey
(cluster, namespace, name string)
pkg/slo/pvc_create_slo.go:91
↓ 2 callersMethodgetConfig
()
pkg/spans/consumer.go:165
↓ 2 callersFunctiongetInitContainerImage
(pod *v1.Pod)
pkg/slo/utils.go:131
↓ 2 callersFunctiongetOwnerRefStr
(pod *v1.Pod)
pkg/slo/utils.go:51
↓ 2 callersMethodgetPodDeliverySLO
()
pkg/slo/pod_create_slo.go:301
↓ 2 callersFunctiongetProvider
(service string)
pkg/spans/jaeger.go:103
↓ 2 callersFunctiongetProvider
(service string)
pkg/trace/jaeger.go:117
↓ 2 callersFunctiongetScheduleStatus
getScheduleStatus, 1:已调度;0:调度失败; -1: 未处理
pkg/slo/pod_create_failreason.go:296
↓ 2 callersMethodisFinish
()
pkg/reason/analyzers/analyzer.go:164
↓ 2 callersMethodisFinished
()
pkg/trace/span.go:94
↓ 2 callersFunctionisIgnore
(key string)
pkg/shares/extractor/pod_patch.go:231
↓ 2 callersFunctionisKubeletDelay
isKubeletDelay 是否是kubelet处理延迟导致的失败
pkg/slo/pod_create_failreason.go:255
↓ 2 callersFunctionisPreemption
(events []*v1.Event)
pkg/slo/pod_create_failreason.go:315
↓ 2 callersFunctionisRuntimeOperationFailure
事件中包含 "failed to update resolv file of container" 被分类为 RuntimeOperationFailed
pkg/slo/pod_create_failreason.go:412
↓ 2 callersFunctionlogPanic
(r interface{})
pkg/utils/utils.go:385
↓ 2 callersMethodmatch
(event *shares.AuditEvent, spanName *string)
pkg/spans/config.go:36
↓ 2 callersMethodmatch
(event *shares.AuditEvent, spanName *string)
pkg/trace/config.go:31
↓ 2 callersFunctionpod2ContainersMap
(pod *corev1.Pod)
pkg/metas/utils.go:229
↓ 2 callersFunctionpodUniqueKey
(ms *xsearch.PodDeleteMileStone)
pkg/slo/pod_delete_slo.go:46
↓ 2 callersFunctionqueryNodeYamlWithNodeName
(nodeName string)
pkg/api/zsearch_nodeyaml.go:23
↓ 2 callersFunctionqueryPodYamlWithPodUID
(podUID string)
pkg/api/zsearch.go:649
↓ 2 callersFunctionr2m
r2m convert resource.request/limit to map[string]string
pkg/slo/utils.go:109
↓ 2 callersFunctionreverseEvent
(events []*v1.Event)
pkg/slo/pod_create_failreason.go:426
↓ 2 callersMethodsetParent
(parent *BufferData)
pkg/utils/utils.go:259
↓ 2 callersFunctionsetTPLayout
(values url.Values, name string, f *time.Time)
pkg/api/types.go:112
↓ 2 callersFunctionsnapshot
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 callersFunctionsortConditionsBytime
status.conditions按照时间排序
pkg/slo/pod_create_failreason.go:442
↓ 2 callersFunctiontemplate
(label, val)
statics/jsonTree.js:223
↓ 2 callersMethodtryInitialNewSpan
(event *shares.AuditEvent)
pkg/trace/span.go:256
↓ 2 callersMethodtryStartSpan
(begin time.Time)
pkg/trace/span.go:153
↓ 2 callersMethodtryUpdateSpan
(event *shares.AuditEvent)
pkg/spans/span.go:116
↓ 2 callersMethodupdateTraceInfo
(endTime time.Time)
pkg/trace/span.go:101
↓ 1 callersFunctionAddStatusFromPodLifePhase
(podPhases []*storagemodel.LifePhase)
internal/grafanadi/service/containerevents.go:17
↓ 1 callersFunctionAddStatusFromSloData
(sloList []*storagemodel.SloTraceData, lifePhases []*storagemodel.LifePhase)
internal/grafanadi/service/containerstatus.go:19
↓ 1 callersFunctionAggregationFromParams
(index, doctype, timeAttr, filters, lte, gte, terms, percentile, overtime string, storage data_access.StorageI
internal/grafanadi/utils/utils.go:93
↓ 1 callersMethodAppend
(hit *HitEvent)
pkg/shares/event_data.go:195
↓ 1 callersFunctionCalculateCpuAndMem
计算 Pod 的 CPU 和 mem
pkg/utils/utils.go:403
↓ 1 callersMethodCanDo
()
pkg/reason/modules/module.go:12
↓ 1 callersMethodCapacity
Capacity returns capacity of the queue
pkg/queue/queue.go:135
↓ 1 callersMethodChildren
()
pkg/reason/modules/module.go:74
↓ 1 callersFunctionClearRequestResourceMetric
clear the metric data of request resource info periodically
pkg/metrics/spans.go:55
↓ 1 callersFunctionClientIP
ClientIP 尽最大努力实现获取客户端 IP 的算法。 解析 X-Real-IP 和 X-Forwarded-For 以便于反向代理(nginx 或 haproxy)可以正常工作。
pkg/utils/utils.go:415
↓ 1 callersMethodCompact
()
pkg/spans/consumer.go:61
↓ 1 callersMethodCompact
()
pkg/trace/consumer.go:59
← previousnext →201–300 of 1,310, ranked by callers