github.com/onflow/flow-go@v0.35.7-crescendo-preview.23-atree-inlining/module/trace/constants.go (about) 1 package trace 2 3 // Span names 4 const ( 5 6 // Protocol State 7 // 8 9 // Extend 10 ProtoStateMutatorExtend SpanName = "proto.state.mutator.extend" 11 ProtoStateMutatorExtendCheckHeader SpanName = "proto.state.mutator.extend.checkHeader" 12 ProtoStateMutatorExtendCheckGuarantees SpanName = "proto.state.mutator.extend.checkGuarantees" 13 ProtoStateMutatorExtendCheckSeals SpanName = "proto.state.mutator.extend.checkSeals" 14 ProtoStateMutatorExtendCheckReceipts SpanName = "proto.state.mutator.extend.checkReceipts" 15 ProtoStateMutatorEvolveProtocolState SpanName = "proto.state.mutator.extend.evolveProtocolState" 16 ProtoStateMutatorExtendDBInsert SpanName = "proto.state.mutator.extend.dbInsert" 17 18 // HeaderExtend 19 ProtoStateMutatorHeaderExtend SpanName = "proto.state.mutator.headerExtend" 20 ProtoStateMutatorHeaderExtendGetLastSealed SpanName = "proto.state.mutator.headerExtend.lastSealed" 21 22 // mutator.Finalize 23 ProtoStateMutatorFinalize SpanName = "proto.state.mutator.finalize" 24 25 // Consensus 26 // 27 28 // Builder 29 CONBuilderBuildOn SpanName = "con.builder.buildOn" 30 31 // Finalizer 32 CONFinalizerFinalizeBlock SpanName = "con.finalizer.finalizeBlock" 33 34 // Ingestion 35 CONIngOnCollectionGuarantee SpanName = "con.ingestion.onCollectionGuarantee" 36 37 // Provider 38 39 // Compliance 40 CONCompOnBlockProposal SpanName = "con.compliance.onBlockProposal" 41 ConCompProcessBlockProposal SpanName = "con.compliance.processBlockProposal" 42 CONCompOnBlockVote SpanName = "con.compliance.onBlockVote" 43 44 // Matching 45 CONMatchProcessReceipt SpanName = "con.matching.processReceipt" 46 CONMatchProcessReceiptVal SpanName = "con.matching.processReceipt.validation" 47 48 // Sealing 49 CONSealingProcessFinalizedBlock SpanName = "con.sealing.processFinalizedBlock" 50 CONSealingCheckForEmergencySealableBlocks SpanName = "con.sealing.processFinalizedBlock.checkEmergencySealing" 51 CONSealingPruning SpanName = "con.sealing.processFinalizedBlock.pruning" 52 CONSealingRequestingPendingApproval SpanName = "con.sealing.processFinalizedBlock.requestPendingApprovals" 53 CONSealingProcessIncorporatedResult SpanName = "con.sealing.processIncorporatedResult" 54 CONSealingProcessApproval SpanName = "con.sealing.processApproval" 55 56 // Follower Core 57 FollowerProcessFinalizedBlock SpanName = "follower.processFinalizedBlock" 58 FollowerProcessCertifiedBlocks SpanName = "follower.processCertifiedBlocks" 59 FollowerExtendPendingTree SpanName = "follower.extendPendingTree" 60 FollowerExtendProtocolState SpanName = "follower.extendProtocolState" 61 62 // Collection Node 63 // 64 65 // Builder 66 COLBuildOn SpanName = "col.builder" 67 COLBuildOnGetBuildCtx SpanName = "col.builder.getBuildCtx" 68 COLBuildOnUnfinalizedLookup SpanName = "col.builder.unfinalizedLookup" 69 COLBuildOnFinalizedLookup SpanName = "col.builder.finalizedLookup" 70 COLBuildOnCreatePayload SpanName = "col.builder.createPayload" 71 COLBuildOnCreateHeader SpanName = "col.builder.createHeader" 72 COLBuildOnDBInsert SpanName = "col.builder.dbInsert" 73 74 // Cluster State 75 COLClusterStateMutatorExtend SpanName = "col.state.mutator.extend" 76 COLClusterStateMutatorExtendCheckHeader SpanName = "col.state.mutator.extend.checkHeader" 77 COLClusterStateMutatorExtendGetExtendCtx SpanName = "col.state.mutator.extend.getExtendCtx" 78 COLClusterStateMutatorExtendCheckAncestry SpanName = "col.state.mutator.extend.checkAncestry" 79 COLClusterStateMutatorExtendCheckReferenceBlock SpanName = "col.state.mutator.extend.checkRefBlock" 80 COLClusterStateMutatorExtendCheckTransactionsValid SpanName = "col.state.mutator.extend.checkTransactionsValid" 81 COLClusterStateMutatorExtendDBInsert SpanName = "col.state.mutator.extend.dbInsert" 82 83 // Execution Node 84 // 85 86 EXEHandleBlock SpanName = "exe.ingestion.handleBlock" 87 EXEHandleCollection SpanName = "exe.ingestion.handleCollection" 88 EXEExecuteBlock SpanName = "exe.ingestion.executeBlock" 89 EXESaveExecutionResults SpanName = "exe.ingestion.saveExecutionResults" 90 91 EXEUploadCollections SpanName = "exe.manager.uploadCollections" 92 EXEAddToExecutionDataService SpanName = "exe.manager.addToExecutionDataService" 93 94 EXEBroadcastExecutionReceipt SpanName = "exe.provider.broadcastExecutionReceipt" 95 96 EXEComputeBlock SpanName = "exe.computer.computeBlock" 97 EXEComputeTransaction SpanName = "exe.computer.computeTransaction" 98 99 EXEStateSaveExecutionResults SpanName = "exe.state.saveExecutionResults" 100 EXECommitDelta SpanName = "exe.state.commitDelta" 101 EXEGetExecutionResultID SpanName = "exe.state.getExecutionResultID" 102 EXEUpdateHighestExecutedBlockIfHigher SpanName = "exe.state.updateHighestExecutedBlockIfHigher" 103 104 // Verification node 105 // 106 // assigner engine 107 VERProcessFinalizedBlock SpanName = "ver.processFinalizedBlock" 108 // children of VERProcessFinalizedBlock 109 VERAssignerHandleFinalizedBlock SpanName = "ver.assigner.handleFinalizedBlock" 110 VERAssignerHandleExecutionReceipt SpanName = "ver.assigner.handleExecutionReceipt" 111 VERAssignerChunkAssignment SpanName = "ver.assigner.chunkAssignment" 112 VERAssignerProcessChunk SpanName = "ver.assigner.processChunk" 113 114 // fetcher engine 115 VERProcessAssignedChunk SpanName = "ver.processAssignedChunk" 116 // children of VERProcessAssignedChunk 117 VERFetcherHandleAssignedChunk SpanName = "ver.fetcher.handleAssignedChunk" 118 VERFetcherHandleChunkDataPack SpanName = "ver.fetcher.handleChunkDataPack" 119 VERFetcherValidateChunkDataPack SpanName = "ver.fetcher.validateChunkDataPack" 120 VERFetcherPushToVerifier SpanName = "ver.fetcher.pushToVerifier" 121 122 // requester engine 123 VERProcessChunkDataPackRequest SpanName = "ver.processChunkDataPackRequest" 124 // children of VERProcessChunkDataPackRequest 125 VERRequesterHandleChunkDataRequest SpanName = "ver.requester.handleChunkDataRequest" 126 VERRequesterHandleChunkDataResponse SpanName = "ver.requester.handleChunkDataResponse" 127 VERRequesterDispatchChunkDataRequest SpanName = "ver.requester.dispatchChunkDataRequest" 128 129 VERProcessExecutionReceipt SpanName = "ver.processExecutionReceipt" 130 // children of VERProcessExecutionReceipt 131 VERFindHandleExecutionReceipt SpanName = "ver.find.handleExecutionReceipt" 132 VERFindOnFinalizedBlock SpanName = "ver.finder.OnFinalizedBlock" 133 VERFindCheckCachedReceipts SpanName = "ver.finder.checkCachedReceipts" 134 VERFindCheckPendingReceipts SpanName = "ver.finder.checkPendingReceipts" 135 VERFindCheckReadyReceipts SpanName = "ver.finder.checkReadyReceipts" 136 VERFindProcessResult SpanName = "ver.finder.processResult" 137 VERFindOnResultProcessed SpanName = "ver.finder.onResultProcessed" 138 139 VERProcessExecutionResult SpanName = "ver.processExecutionResult" 140 // children of VERProcessExecutionResult 141 VERMatchHandleExecutionResult SpanName = "ver.match.handleExecutionResult" 142 VERMatchHandleChunkDataPack SpanName = "ver.match.handleChunkDataPack" 143 VERMatchMyChunkAssignments SpanName = "ver.match.myChunkAssignments" 144 VERVerVerifyWithMetrics SpanName = "ver.verify.verifyWithMetrics" 145 VERVerChunkVerify SpanName = "ver.verify.ChunkVerifier.Verify" 146 VERVerGenerateResultApproval SpanName = "ver.verify.GenerateResultApproval" 147 148 // Flow Virtual Machine 149 FVMVerifyTransaction SpanName = "fvm.verifyTransaction" 150 FVMSeqNumCheckTransaction SpanName = "fvm.seqNumCheckTransaction" 151 FVMExecuteTransaction SpanName = "fvm.executeTransaction" 152 FVMDeductTransactionFees SpanName = "fvm.deductTransactionFees" 153 FVMTransactionStorageUsedCheck SpanName = "fvm.env.transactionStorageUsedCheck" 154 FVMInvokeContractFunction SpanName = "fvm.invokeContractFunction" 155 156 FVMEnvValueExists SpanName = "fvm.env.valueExists" 157 FVMEnvGetValue SpanName = "fvm.env.getValue" 158 FVMEnvSetValue SpanName = "fvm.env.setValue" 159 FVMEnvAllocateStorageIndex SpanName = "fvm.env.allocateStorageIndex" 160 FVMEnvGetAccount SpanName = "fvm.env.getAccount" 161 FVMEnvGetStorageUsed SpanName = "fvm.env.getStorageUsed" 162 FVMEnvGetStorageCapacity SpanName = "fvm.env.getStorageCapacity" 163 FVMEnvGetAccountBalance SpanName = "fvm.env.getAccountBalance" 164 FVMEnvGetAccountAvailableBalance SpanName = "fvm.env.getAccountAvailableBalance" 165 FVMEnvResolveLocation SpanName = "fvm.env.resolveLocation" 166 FVMEnvGetCode SpanName = "fvm.env.getCode" 167 FVMEnvGetAccountContractNames SpanName = "fvm.env.getAccountContractNames" 168 FVMEnvGetOrLoadProgram SpanName = "fvm.env.getOrLoadCachedProgram" 169 FVMEnvProgramLog SpanName = "fvm.env.programLog" 170 FVMEnvEmitEvent SpanName = "fvm.env.emitEvent" 171 FVMEnvEncodeEvent SpanName = "fvm.env.encodeEvent" 172 FVMEnvGenerateUUID SpanName = "fvm.env.generateUUID" 173 FVMEnvGenerateAccountLocalID SpanName = "fvm.env.generateAccountLocalID" 174 FVMEnvDecodeArgument SpanName = "fvm.env.decodeArgument" 175 FVMEnvHash SpanName = "fvm.env.Hash" 176 FVMEnvVerifySignature SpanName = "fvm.env.verifySignature" 177 FVMEnvValidatePublicKey SpanName = "fvm.env.validatePublicKey" 178 FVMEnvBLSVerifyPOP SpanName = "fvm.env.blsVerifyPOP" 179 FVMEnvBLSAggregateSignatures SpanName = "fvm.env.blsAggregateSignatures" 180 FVMEnvBLSAggregatePublicKeys SpanName = "fvm.env.blsAggregatePublicKeys" 181 FVMEnvGetCurrentBlockHeight SpanName = "fvm.env.getCurrentBlockHeight" 182 FVMEnvGetBlockAtHeight SpanName = "fvm.env.getBlockAtHeight" 183 FVMEnvRandom SpanName = "fvm.env.unsafeRandom" 184 FVMEnvRandomSourceHistoryProvider SpanName = "fvm.env.randomSourceHistoryProvider" 185 FVMEnvCreateAccount SpanName = "fvm.env.createAccount" 186 FVMEnvAddAccountKey SpanName = "fvm.env.addAccountKey" 187 FVMEnvAddEncodedAccountKey SpanName = "fvm.env.addEncodedAccountKey" 188 FVMEnvAccountKeysCount SpanName = "fvm.env.accountKeysCount" 189 FVMEnvGetAccountKey SpanName = "fvm.env.getAccountKey" 190 FVMEnvRevokeAccountKey SpanName = "fvm.env.revokeAccountKey" 191 FVMEnvRevokeEncodedAccountKey SpanName = "fvm.env.revokeEncodedAccountKey" 192 FVMEnvUpdateAccountContractCode SpanName = "fvm.env.updateAccountContractCode" 193 FVMEnvGetAccountContractCode SpanName = "fvm.env.getAccountContractCode" 194 FVMEnvRemoveAccountContractCode SpanName = "fvm.env.removeAccountContractCode" 195 FVMEnvGetSigningAccounts SpanName = "fvm.env.getSigningAccounts" 196 197 FVMCadenceTrace SpanName = "fvm.cadence.trace" 198 )