MCPcopy Create free account

hub / github.com/alibaba/loongcollector / functions

Functions13,853 in github.com/alibaba/loongcollector

↓ 77 callersMethodDataSize
core/models/RawEvent.cpp:47
↓ 77 callersMethodSetMetadata
core/models/MetricEvent.cpp:99
↓ 76 callersMethodFlush
Flush flushes data to destination, such as SLS, console, file, etc. It is expected to return no error at most time because IsReady will be called befo
pkg/pipeline/flusher.go:65
↓ 74 callersMethodIsOpen
core/common/LogFileOperator.cpp:128
↓ 74 callersMethodbegin
core/common/StringTools.h:299
↓ 74 callersFunctionusleep
core/common/TimeUtil.h:89
↓ 73 callersMethodDo
(req *http.Request)
plugins/flusher/http/flusher_http.go:71
↓ 73 callersMethodGetTags
()
pkg/models/pipeline.go:22
↓ 72 callersMethodHasTag
core/models/SpanEvent.cpp:51
↓ 71 callersFunctionOneJob
Write {logNum} logs to {filename} filename: /{workpath}/{jobname}.log
core/unittest/sender/SenderUnittest.cpp:145
↓ 71 callersMethodStop
(exit bool)
pluginmanager/plugin_runner.go:61
↓ 69 callersMethodAddOrUpdateConfig
core/ebpf/plugin/agentsight/AgentsightManager.cpp:398
↓ 69 callersMethodOpen
Open the event log. checkpoint points to the last successfully read event in this event log. Read will resume from the next record. To start reading f
plugins/input/input_wineventlog/eventlog/eventlog.go:48
↓ 69 callersFunctionenum_name
core/common/magic_enum.hpp:205
↓ 68 callersFunctionGetProcessExecutionDir
core/common/RuntimeUtil.cpp:41
↓ 68 callersMethodSetContentNoCopy
core/ebpf/plugin/ProcessCacheValue.h:43
↓ 67 callersMethodDoSerialize
core/collection_pipeline/serializer/SLSSerializer.h:83
↓ 67 callersMethodGetContext
core/plugin/flusher/kafka/KafkaProducer.cpp:87
↓ 67 callersMethodReset
Reset resets the aggregators caches and aggregates.
pkg/pipeline/aggregator.go:33
↓ 67 callersFunctionSetEnv
core/unittest/Unittest.h:242
↓ 66 callersMethodGetMetadata
core/models/MetricEvent.cpp:87
↓ 66 callersMethodGetPlugin
core/task_pipeline/TaskPipeline.h:40
↓ 65 callersMethodUpdateReaderManual
core/file_server/reader/LogFileReader.cpp:2624
↓ 63 callersFunctionIsSafeString
(str1, str2 string)
pkg/util/string_helper.go:47
↓ 63 callersMethodend
* @brief 获取字段迭代器结束位置 * @return StringViewSplitterIterator */
core/host_monitor/common/FastFieldParser.h:74
↓ 62 callersMethodCreateIntGauge
core/monitor/metric_models/MetricRecord.cpp:57
↓ 62 callersMethodGetLastLine
core/file_server/reader/LogFileReader.cpp:2089
↓ 61 callersMethodEmpty
core/models/LogEvent.h:95
↓ 61 callersMethodFatal
Fatal uses fmt.Sprint to construct and log a message, then calls os.Exit(1).
external/github.com/elastic/beats/v7/libbeat/logp/logger.go:84
↓ 61 callersMethodStat
core/common/LogFileOperator.cpp:79
↓ 60 callersFunctionNewMetricLog
NewMetricLog create a metric log, time support unix milliseconds and unix nanoseconds. Note: must pass safe string
pkg/helper/log_helper.go:258
↓ 59 callersMethodaddMetric
(collector pipeline.Collector, name string, labels *helper.MetricLabels, value float64)
plugins/input/systemv2/input_system_v2.go:108
↓ 59 callersMethodwhat
core/common/ExceptionBase.h:29
↓ 58 callersFunctionIsDigitsDotsHostname
For hostnames in the following format, gethostbyname will fake an IP (and thus return wrong IP): 1. a, where a is a number between 0 and 2^32-1; 2. a.
core/common/MachineInfoUtil.cpp:494
↓ 58 callersMethodWrite
(ch chan *T)
pluginmanager/flusher_out_store.go:42
↓ 58 callersFunctionebpf_log
core/ebpf/driver/Log.cpp:27
↓ 57 callersMethodAddMetricEvent
core/models/PipelineEventGroup.cpp:202
↓ 57 callersFunctionnewK8sMetaCache
(stopCh chan struct{}, resourceType string)
pkg/helper/k8smeta/k8s_meta_cache.go:41
↓ 56 callersMethodAdd
Add the metric to the aggregator.
pkg/pipeline/aggregator.go:42
↓ 56 callersMethodGetDevInode
core/file_server/reader/LogFileReader.h:353
↓ 56 callersMethodLookup
core/ebpf/plugin/ProcessCache.cpp:42
↓ 55 callersFunctionGenerateHashKey
core/common/RandomUtil.cpp:75
↓ 55 callersFunctionNormalizeNativePath
core/common/FileSystemUtil.cpp:434
↓ 55 callersMethodWithLabels
(labels ...LabelPair)
pkg/selfmonitor/metrics_type.go:68
↓ 54 callersFunctionGetOptionalStringParam
core/common/ParamExtractor.cpp:101
↓ 54 callersMethodIsValidToPush
core/collection_pipeline/queue/SenderQueueManager.cpp:200
↓ 53 callersMethodCheckFileSignatureAndOffset
core/file_server/reader/LogFileReader.cpp:1303
↓ 52 callersMethodSetContent
core/ebpf/plugin/ProcessCacheValue.h:47
↓ 52 callersFunctionUnsetEnv
core/unittest/Unittest.h:250
↓ 51 callersMethodFatalf
Fatalf uses fmt.Sprintf to log a templated message, then calls os.Exit(1).
external/github.com/elastic/beats/v7/libbeat/logp/logger.go:122
↓ 51 callersMethodGetFileSize
core/common/FileSystemUtil.cpp:810
↓ 51 callersMethodGetTimestampNanosecond
core/models/PipelineEvent.h:49
↓ 51 callersMethodGetType
()
test/engine/setup/env.go:25
↓ 51 callersMethodWait
core/common/Thread.h:44
↓ 50 callersMethodCollector
nolint
pkg/pipeline/pipeline.go:20
↓ 50 callersFunctionNewCounterMetricAndRegister
NewCounterMetricAndRegister creates a new DeltaMetric and register it's metricVector to the MetricsRecord.
pkg/selfmonitor/metrics_vector_imp.go:172
↓ 50 callersFunctionNewLogContents
()
pkg/models/factory.go:185
↓ 50 callersMethodSendAlarmCritical
core/monitor/AlarmManager.h:160
↓ 48 callersFunctionCheckTimeFormat
core/unittest/processor/ProcessorParseTimestampNativeUnittest.cpp:95
↓ 48 callersMethodDone
()
plugins/flusher/kafkav2/scram_client.go:49
↓ 48 callersMethodGet
(key []string)
pkg/helper/k8smeta/k8s_meta_manager.go:26
↓ 48 callersMethodInitReader
core/file_server/reader/LogFileReader.cpp:328
↓ 48 callersFunctionXXH_readLE64
core/common/xxhash/xxhash.h:2649
↓ 47 callersFunctionDoubleToString
core/common/StringTools.cpp:437
↓ 47 callersFunctionNewTags
()
pkg/models/factory.go:38
↓ 46 callersMethodProcess
(fileBlock []byte, noChangeInterval time.Duration)
plugins/input/docker/stdout/docker_stdout_processor.go:218
↓ 46 callersMethodPushQueue
core/runner/ProcessorRunner.cpp:71
↓ 46 callersFunctionZeroCopyBytesToString
nolint:gosec
pkg/util/string_helper.go:23
↓ 46 callersFunctionZeroCopyStringToBytes
nolint:gosec
pkg/util/string_helper.go:35
↓ 45 callersMethodHasDiff
core/config/ConfigDiff.h:35
↓ 45 callersMethodMetricKey
core/ebpf/type/table/DataTable.h:33
↓ 45 callersMethodPop
core/collection_pipeline/queue/BoundedProcessQueue.cpp:53
↓ 45 callersMethodSetProcessQueueKey
core/collection_pipeline/CollectionPipelineContext.h:53
↓ 44 callersMethodCollect
Collect takes in an accumulator and adds the metrics that the Input gathers. This is called every "interval"
pkg/pipeline/input.go:31
↓ 44 callersMethodGetEntity
注意: 不要在类初始化时调用并缓存结果,因为此时ECS元数据可能尚未就绪 建议在实际使用时再调用此方法
core/common/MachineInfoUtil.h:129
↓ 44 callersMethodGetKey
key: fd + "_" + dev + "_" + inode
core/common/FileInfo.h:70
↓ 44 callersFunctionPathJoin
PathJoin concats base and sub (by adding necessary path separator). NOTE: the implementation is not elegant for better performance (backward).
core/common/FileSystemUtil.h:44
↓ 44 callersMethodRegisterSendFunc
(key string, sendFunc SendFunc, interval int)
pkg/helper/k8smeta/k8s_meta_manager.go:31
↓ 43 callersMethodGetQueueKey
core/file_server/reader/LogFileReader.h:414
↓ 43 callersMethodIsDir
core/common/FileSystemUtil.cpp:673
↓ 42 callersMethodPrintf
(format string, v ...interface{})
plugins/input/mqtt/input_mqtt.go:67
↓ 41 callersFunctionReadLogVal
ReadLogVal returns the log content value for the input key, and returns empty string when not found.
plugins/test/common.go:283
↓ 40 callersFunctionGetCurrentTimeInMilliSeconds
core/common/TimeUtil.cpp:92
↓ 40 callersFunctionGetIPAddress
()
pkg/util/net_helper.go:43
↓ 40 callersFunctionGetOptionalBoolParam
core/common/ParamExtractor.cpp:31
↓ 40 callersMethodInitGlobalLoggers
core/logger/Logger.cpp:109
↓ 40 callersMethodIsStarted
core/unittest/pipeline/LogtailPluginMock.h:91
↓ 40 callersMethodStatus
()
pkg/helper/containercenter/container_center.go:299
↓ 39 callersMethodFindEvent
core/file_server/event/EventQueue.cpp:107
↓ 39 callersMethodGetStatus
core/models/SpanEvent.h:193
↓ 39 callersMethodGetStatusCode
core/common/http/HttpResponse.h:86
↓ 39 callersFunctionNewTagsWithKeyValues
(keyValues ...string)
pkg/models/factory.go:25
↓ 38 callersMethodBuild
Build builds a query from the given parameters. The query is returned as a XML string and can be used with Subscribe function.
external/github.com/elastic/beats/v7/winlogbeat/sys/wineventlog/query.go:75
↓ 38 callersMethodCollect
Recommend to report log data in a stream mode. The service/instance/endpoint of the log could share the previous value if they are not set. Reporting
plugins/input/skywalkingv3/skywalking/network/logging/v3/Logging_grpc.pb.go:27
↓ 38 callersMethodDecode
Decode reader to logs
pkg/pipeline/extensions/decoder.go:27
↓ 38 callersFunctionGetMandatoryStringParam
core/common/ParamExtractor.cpp:174
↓ 38 callersMethodReadFile
core/file_server/reader/LogFileReader.cpp:1925
↓ 38 callersMethodprocessEntityJSONObject
(obj interface{})
plugins/input/kubernetesmetav2/meta_collector.go:371
↓ 37 callersMethodAddCache
core/ebpf/plugin/ProcessCache.cpp:67
↓ 37 callersMethodClone
()
pkg/models/pipeline.go:34
← previousnext →101–200 of 13,853, ranked by callers