buildgrid.server.metrics_names module

buildgrid.server.metrics_names.CAS_EXCEPTION_COUNT_METRIC_NAME = 'cas-exception'

Number of exceptions thrown from CAS servicer functions

buildgrid.server.metrics_names.CAS_FIND_MISSING_BLOBS_EXCEPTION_COUNT_METRIC_NAME = 'find-missing-blobs-exception'

Number of exceptions thrown from FindMissingBlobs() calls

buildgrid.server.metrics_names.CAS_BATCH_UPDATE_BLOBS_EXCEPTION_COUNT_METRIC_NAME = 'batch-update-blobs-exception'

Number of exceptions thrown from BatchUpdateBlobs() calls

buildgrid.server.metrics_names.CAS_BATCH_READ_BLOBS_EXCEPTION_COUNT_METRIC_NAME = 'batch-read-blobs-exception'

Number of exceptions thrown from BatchReadBlobs() calls

buildgrid.server.metrics_names.CAS_GET_TREE_EXCEPTION_COUNT_METRIC_NAME = 'get-tree-exception'

Number of exceptions thrown from GetTree() calls

buildgrid.server.metrics_names.CAS_UPLOADED_BYTES_METRIC_NAME = 'cas-uploaded-bytes'

Number of bytes uploaded to a CAS instance

buildgrid.server.metrics_names.CAS_DOWNLOADED_BYTES_METRIC_NAME = 'cas-downloaded-bytes'

Number of bytes downloaded from a CAS instance

buildgrid.server.metrics_names.CAS_FIND_MISSING_BLOBS_NUM_REQUESTED_METRIC_NAME = 'find-missing-blobs-num-requested'

Number of blobs requested in FindMissingBlobs() calls

buildgrid.server.metrics_names.CAS_FIND_MISSING_BLOBS_SIZE_BYTES_REQUESTED_METRIC_NAME = 'find-missing-blobs-size-bytes-requested'

Size of blobs requested in FindMissingBlobs() calls

buildgrid.server.metrics_names.CAS_FIND_MISSING_BLOBS_NUM_MISSING_METRIC_NAME = 'find-missing-blobs-num-missing'

Number of blobs reported to be missing in FindMissingBlobs() calls

buildgrid.server.metrics_names.CAS_FIND_MISSING_BLOBS_PERCENT_MISSING_METRIC_NAME = 'find-missing-blobs-percent-missing'

Percentage of blobs reported to be missing in FindMissingBlobs() calls

buildgrid.server.metrics_names.CAS_FIND_MISSING_BLOBS_SIZE_BYTES_MISSING_METRIC_NAME = 'find-missing-blobs-size-bytes-missing'

Size of blobs reported to be missing in FindMissingBlobs() calls

buildgrid.server.metrics_names.CAS_FIND_MISSING_BLOBS_TIME_METRIC_NAME = 'find-missing-blobs'

Time that FindMissingBlobs() operations took to complete

buildgrid.server.metrics_names.CAS_BATCH_UPDATE_BLOBS_TIME_METRIC_NAME = 'batch-update-blobs'

Time that BatchUpdateBlobs() operations took to complete

buildgrid.server.metrics_names.CAS_BATCH_UPDATE_BLOBS_SIZE_BYTES = 'batch-update-blobs-size-bytes'

Size of blobs written with BatchUpdateBlobs() calls

buildgrid.server.metrics_names.CAS_BATCH_READ_BLOBS_TIME_METRIC_NAME = 'batch-read-blobs'

Time that BatchReadBlobs() operations took to complete

buildgrid.server.metrics_names.CAS_BATCH_READ_BLOBS_SIZE_BYTES = 'batch-read-blobs-size-bytes'

Size of blobs read with BatchReadBlobs() calls

buildgrid.server.metrics_names.CAS_GET_TREE_TIME_METRIC_NAME = 'get-tree'

Time that GetTree() operations took to complete

buildgrid.server.metrics_names.CAS_GET_TREE_CACHE_HIT = 'get-tree-cache-hit'

Count of cache-hit when calling GetTree

buildgrid.server.metrics_names.CAS_GET_TREE_CACHE_MISS = 'get-tree-cache-miss'

Count of cache-miss when calling GetTree

buildgrid.server.metrics_names.CAS_BYTESTREAM_READ_TIME_METRIC_NAME = 'bytestream-read'

Time that ByteStream.Read() operations took to complete

buildgrid.server.metrics_names.CAS_BYTESTREAM_READ_SIZE_BYTES = 'bytestream-read-size-bytes'

Size of blobs read with ByteStream.Read()

buildgrid.server.metrics_names.CAS_BYTESTREAM_WRITE_TIME_METRIC_NAME = 'bytestream-write'

Time that ByteStream.Write() operations took to complete

buildgrid.server.metrics_names.CAS_BYTESTREAM_WRITE_SIZE_BYTES = 'bytestream-write-size-bytes'

Size of blobs written with ByteStream.Write()

buildgrid.server.metrics_names.CAS_BYTESTREAM_READ_EXCEPTION_COUNT_METRIC_NAME = 'bytestream-read-exception'

Number of exceptions thrown from ByteStream.Read()

buildgrid.server.metrics_names.CAS_BYTESTREAM_WRITE_EXCEPTION_COUNT_METRIC_NAME = 'bytestream-write-exception'

Number of exceptions thrown from ByteStream.Write()

buildgrid.server.metrics_names.CAS_CACHE_BULK_READ_HIT_COUNT_NAME = 'cas-withcache-bulk-read-hits'

Count of cache hits in BatchReadBlobs requests to the !with-cache-storage

buildgrid.server.metrics_names.CAS_CACHE_GET_BLOB_HIT_COUNT_NAME = 'cas-withcache-get-blob-hits'

Count of cache hits in ByteStream Read requests to the !with-cache-storage

buildgrid.server.metrics_names.CAS_INDEX_BULK_SELECT_DIGEST_TIME_METRIC_NAME = 'cas.index.bulk-select-digest-time'

Time taken to bulk select a number of digests from the index

buildgrid.server.metrics_names.CAS_INDEX_BLOB_TIMESTAMP_UPDATE_TIME_METRIC_NAME = 'cas.index.blob-timestamp-update-time'

Time taken to update a blob timestamp in the index

buildgrid.server.metrics_names.CAS_INDEX_BULK_TIMESTAMP_UPDATE_TIME_METRIC_NAME = 'cas.index.bulk-timestamp-update-time'

Time taken to run a bulk timestamp update in the index

buildgrid.server.metrics_names.CAS_INDEX_SAVE_DIGESTS_TIME_METRIC_NAME = 'cas.index.save-digests-time'

Time taken to store a list of digests in the index

buildgrid.server.metrics_names.CAS_INDEX_SIZE_CALCULATION_TIME_METRIC_NAME = 'cas.index.total-size-calculation-time'

Time taken to get the total size of the CAS the index is for

buildgrid.server.metrics_names.CAS_REPLICATED_STORAGE_BLOBS_NEED_REPLICATING_COUNT_METRIC_NAME = 'cas.replicated-storage.blobs-need-replicating'

Number of blobs reported by FindMissingBlobs as needing to be replicated

buildgrid.server.metrics_names.CAS_REPLICATED_STORAGE_REPLICATED_BLOBS_COUNT_METRIC_NAME = 'cas.replicated-storage.replicated-blobs'

Number of blobs replicated from one storage to another

buildgrid.server.metrics_names.CAS_REPLICATED_STORAGE_ERRORED_BLOBS_COUNT_METRIC_NAME = 'cas.replicated-storage.errored-blobs'

Number of blobs which encountered errors when replicating

buildgrid.server.metrics_names.AC_GET_ACTION_RESULT_TIME_METRIC_NAME = 'get-action-result'

Time that GetActionResult() operations took to complete

buildgrid.server.metrics_names.AC_UPDATE_ACTION_RESULT_TIME_METRIC_NAME = 'update-action-result'

Time that UpdateActionResult() operations took to complete

buildgrid.server.metrics_names.AC_CACHE_HITS_METRIC_NAME = 'action-cache-hits'

Number of cache hits from the ActionCache

buildgrid.server.metrics_names.AC_CACHE_MISSES_METRIC_NAME = 'action-cache-misses'

Number of cache misses from the ActionCache

buildgrid.server.metrics_names.AC_UNUSABLE_CACHE_HITS_METRIC_NAME = 'action-cache-hits-with-missing-blobs'

Number of cache hits which became misses due to missing blobs in CAS

buildgrid.server.metrics_names.AC_GET_ACTION_RESULT_EXCEPTION_COUNT_METRIC_NAME = 'get-action-result-exception'

Number of exceptions thrown from GetActionResult() calls

buildgrid.server.metrics_names.AC_UPDATE_ACTION_RESULT_EXCEPTION_COUNT_METRIC_NAME = 'update-action-result-exception'

Number of exceptions thrown from UpdateActionResult() calls

buildgrid.server.metrics_names.AC_MIRRORED_MATCH_COUNT_METRIC_NAME = 'mirrored-action-cache-match'

Number of requested action results matched with the counterpart in the mirrored cache

buildgrid.server.metrics_names.AC_MIRRORED_MISMATCH_COUNT_METRIC_NAME = 'mirrored-action-cache-mismatch'

Number of requested action results not matched with the counterpart in the mirrored cache

buildgrid.server.metrics_names.S3_DELETE_ERROR_CHECK_METRIC_NAME = 's3-deletion-error-check-timer'

Time taken to check errors from a bulk_delete

buildgrid.server.metrics_names.CLEANUP_BLOBS_DELETION_RATE_METRIC_NAME = 'cleanup.blobs-deleted-per-second'

Number of blobs deleted per second in a cleanup batch

buildgrid.server.metrics_names.CLEANUP_BYTES_DELETION_RATE_METRIC_NAME = 'cleanup.bytes-deleted-per-second'

Number of bytes deleted per second in a cleanup batch

buildgrid.server.metrics_names.CLEANUP_BYTES_DELETED_METRIC_NAME = 'cleanup.bytes-deleted'

Number of bytes deleted in a cleanup batch

buildgrid.server.metrics_names.CLEANUP_RUNTIME_METRIC_NAME = 'cleanup.runtime-timer'

Total time taken to clean enough blobs to get the CAS size down to the low watermark

buildgrid.server.metrics_names.CLEANUP_INDEX_BULK_DELETE_METRIC_NAME = 'cleanup.index.bulk-delete-timer'

Time taken to bulk delete a set of blobs from the index

buildgrid.server.metrics_names.CLEANUP_INDEX_MARK_DELETED_METRIC_NAME = 'cleanup.index.mark-as-deleted-timer'

Time taken to mark a set of blobs as deleted in the index

buildgrid.server.metrics_names.CLEANUP_INDEX_PREMARKED_BLOBS_METRIC_NAME = 'cleanup.index.premarked-blobs-count'

Number of blobs that were already marked for deletion in the index when marking as deleted

buildgrid.server.metrics_names.CLEANUP_STORAGE_BULK_DELETE_METRIC_NAME = 'cleanup.storage.bulk-delete-timer'

Time taken to bulk delete a set of blobs from the storage backend

buildgrid.server.metrics_names.CLEANUP_STORAGE_DELETION_FAILURES_METRIC_NAME = 'cleanup.storage.deletion-failures-count'

Number of blobs that failed to be deleted from the storage backend in a given bulk delete request

buildgrid.server.metrics_names.QUEUED_TIME_METRIC_NAME = 'action-queued-time'

Time spent queued before being assigned to a worker

buildgrid.server.metrics_names.WORKER_HANDLING_TIME_METRIC_NAME = 'worker-handling-time'

Time spent in the worker (fetching inputs + executing + uploading outputs)

buildgrid.server.metrics_names.INPUTS_FETCHING_TIME_METRIC_NAME = 'inputs-fetching-time'

Time spent fetching inputs before execution

buildgrid.server.metrics_names.EXECUTION_TIME_METRIC_NAME = 'execution-time'

Time spent waiting for executions to complete

buildgrid.server.metrics_names.OUTPUTS_UPLOADING_TIME_METRIC_NAME = 'outputs-uploading-time'

Time spent uploading inputs after execution

buildgrid.server.metrics_names.BOT_COUNT_METRIC_NAME = 'bots-count'

Number of bots connected

buildgrid.server.metrics_names.CLIENT_COUNT_METRIC_NAME = 'clients-count'

Number of clients connected

buildgrid.server.metrics_names.LEASE_COUNT_METRIC_NAME = 'lease-count'

Number of leases present in the scheduler

buildgrid.server.metrics_names.LEASE_CHANGES_COUNTER_METRIC_NAME = 'lease-state-transitions-counter'

Counter metric indicating lease stage transitions

buildgrid.server.metrics_names.JOB_COUNT_METRIC_NAME = 'job-count'

Number of active jobs in the scheduler

buildgrid.server.metrics_names.JOB_CHANGES_COUNTER_METRIC_NAME = 'job-stage-transitions-counter'

Counter metric indicating job stage transitions

buildgrid.server.metrics_names.AVERAGE_QUEUE_TIME_METRIC_NAME = 'average-queue-time'

Average time that a job spends waiting to be executed

buildgrid.server.metrics_names.EXECUTE_REQUEST_COUNT_METRIC_NAME = 'execute-call-count'

Number of Execute() requests received:

buildgrid.server.metrics_names.EXECUTE_SERVICER_TIME_METRIC_NAME = 'execute-servicing-time'

Time spent servicing Execute() requests:

buildgrid.server.metrics_names.WAIT_EXECUTION_REQUEST_COUNT_METRIC_NAME = 'wait-execution-call-count'

Number of WaitExecution() requests received:

buildgrid.server.metrics_names.WAIT_EXECUTION_SERVICER_TIME_METRIC_NAME = 'wait-execution-servicing-time'

Time spent servicing WaitExecution() requests:

buildgrid.server.metrics_names.WAIT_EXECUTION_EXCEPTION_COUNT_METRIC_NAME = 'wait-execution-exception'

Number of exceptions thrown from WaitExecution() calls

buildgrid.server.metrics_names.EXECUTE_EXCEPTION_COUNT_METRIC_NAME = 'execute-exception'

Number of exceptions thrown from Execute() calls

buildgrid.server.metrics_names.LOGSTREAM_CREATE_LOG_STREAM_TIME_METRIC_NAME = 'logstream.create-logstream-time'

Time spent creating a LogStream

buildgrid.server.metrics_names.LOGSTREAM_WRITE_UPLOADED_BYTES_COUNT = 'logstream.write.uploaded-bytes-count'

Number of bytes in a committed logstream

buildgrid.server.metrics_names.INVALID_JWT_COUNT_METRIC_NAME = 'authentication.jwt.invalid-jwt-count'

Number of invalid JWTs recieved:

buildgrid.server.metrics_names.JWK_FETCH_TIME_METRIC_NAME = 'authentication.jwk.fetch-request-time'

Duration of JWK fetch request:

buildgrid.server.metrics_names.JWT_DECODE_TIME_METRIC_NAME = 'authentication.jwt.decode-jwt-time'

Duration of JWT decoding:

buildgrid.server.metrics_names.JWT_VALIDATION_TIME_METRIC_NAME = 'authentication.jwt.validate-jwt-time'

Duration of JWT validation (can include fetching JWK):

buildgrid.server.metrics_names.BOTS_CREATE_BOT_SESSION_TIME_METRIC_NAME = 'bots.create-bot-session-time'

Time spent servicing CreateBotSession() requests

buildgrid.server.metrics_names.BOTS_UPDATE_BOT_SESSION_TIME_METRIC_NAME = 'bots.update-bot-session-time'

Time spent servicing UpdateBotSession() requests

buildgrid.server.metrics_names.BOTS_ASSIGN_JOB_LEASES_TIME_METRIC_NAME = 'bots.assign-job-leases-time'

Time spent selecting an Action from the data store to create a lease for

buildgrid.server.metrics_names.BOTS_CREATE_BOT_SESSION_EXCEPTION_COUNT_METRIC_NAME = 'create-bot-session-exception'

Number of exceptions thrown from CreateBotSession() calls

buildgrid.server.metrics_names.BOTS_UPDATE_BOT_SESSION_EXCEPTION_COUNT_METRIC_NAME = 'update-bot-session-exception'

Number of exceptions thrown from UpdateBotSession() calls

buildgrid.server.metrics_names.SCHEDULER_QUEUE_ACTION_TIME_METRIC_NAME = 'scheduler.queue-action-time'

Time taken to queue an Action

buildgrid.server.metrics_names.SCHEDULER_UPDATE_LEASE_TIME_METRIC_NAME = 'scheduler.update-lease-time'

Time taken to update a job’s Lease

buildgrid.server.metrics_names.SCHEDULER_CANCEL_OPERATION_TIME_METRIC_NAME = 'scheduler.cancel-operation-time'

Time taken to cancel an Operation

buildgrid.server.metrics_names.DATA_STORE_CREATE_JOB_TIME_METRIC_NAME = 'datastore.all.create-job-time'

Time taken to create a Job

buildgrid.server.metrics_names.DATA_STORE_QUEUE_JOB_TIME_METRIC_NAME = 'datastore.all.queue-job-time'

Time taken to enqueue a Job

buildgrid.server.metrics_names.DATA_STORE_UPDATE_JOB_TIME_METRIC_NAME = 'datastore.all.update-job-time'

Time taken to update a Job

buildgrid.server.metrics_names.DATA_STORE_CREATE_LEASE_TIME_METRIC_NAME = 'datastore.all.create-lease-time'

Time taken to create a Lease

buildgrid.server.metrics_names.DATA_STORE_UPDATE_LEASE_TIME_METRIC_NAME = 'datastore.all.update-lease-time'

Time taken to update a Lease

buildgrid.server.metrics_names.DATA_STORE_CREATE_OPERATION_TIME_METRIC_NAME = 'datastore.all.create-operation-time'

Time taken to create an Operation

buildgrid.server.metrics_names.DATA_STORE_UPDATE_OPERATION_TIME_METRIC_NAME = 'datastore.all.update-operation-time'

Time taken to update an Operation

buildgrid.server.metrics_names.DATA_STORE_LIST_OPERATIONS_TIME_METRIC_NAME = 'datastore.all.list-operations-time'

Time taken to get a list of Operations

buildgrid.server.metrics_names.DATA_STORE_GET_JOB_BY_DIGEST_TIME_METRIC_NAME = 'datastore.all.get-job-by-digest-time'

Time taken to get a Job by Action Digest

buildgrid.server.metrics_names.DATA_STORE_GET_JOB_BY_NAME_TIME_METRIC_NAME = 'datastore.all.get-job-by-name-time'

Time taken to get a Job by name

buildgrid.server.metrics_names.DATA_STORE_GET_JOB_BY_OPERATION_TIME_METRIC_NAME = 'datastore.all.get-job-by-operation-time'

Time taken to get a Job by Operation name

buildgrid.server.metrics_names.DATA_STORE_STORE_RESPONSE_TIME_METRIC_NAME = 'datastore.sql.store-response-time'

Time taken to store the ExecuteResponse

buildgrid.server.metrics_names.DATA_STORE_PRUNER_NUM_ROWS_DELETED_METRIC_NAME = 'datastore.sql.pruner-num-rows-deleted'

Number of rows deleted from the jobs table during each pruning

buildgrid.server.metrics_names.DATA_STORE_PRUNER_DELETE_TIME_METRIC_NAME = 'datastore.sql.pruner-delete-time'

Time taken per scheduler pruning invocation

buildgrid.server.metrics_names.DATA_STORE_QUEUE_TIMEOUT_NUM_METRIC_NAME = 'datastore.sql.queue-timeout-num'

Number of queued jobs dequeued due to timeout

buildgrid.server.metrics_names.OPERATIONS_LIST_OPERATIONS_TIME_METRIC_NAME = 'operations.list-operations-time'

Time taken to completely handle a ListOperations request

buildgrid.server.metrics_names.OPERATIONS_GET_OPERATION_TIME_METRIC_NAME = 'operations.get-operation-time'

Time taken to completely handle a GetOperation request

buildgrid.server.metrics_names.OPERATIONS_CANCEL_OPERATION_TIME_METRIC_NAME = 'operations.cancel-operation-time'

Time taken to completely handle a CancelOperation request

buildgrid.server.metrics_names.OPERATIONS_GET_OPERATION_EXCEPTION_COUNT_METRIC_NAME = 'get-operation-exception'

Number of exceptions thrown from GetOperation() calls

buildgrid.server.metrics_names.OPERATIONS_LIST_OPERATIONS_EXCEPTION_COUNT_METRIC_NAME = 'list-operations-exception'

Number of exceptions thrown from ListOperations() calls

buildgrid.server.metrics_names.OPERATIONS_CANCEL_OPERATION_EXCEPTION_COUNT_METRIC_NAME = 'cancel-operation-exception'

Number of exceptions thrown from CancelOperation() calls

buildgrid.server.metrics_names.CAPABILITIES_GET_CAPABILITIES_EXCEPTION_COUNT_METRIC_NAME = 'get-capabilities-exception'

Number of exceptions thrown from GetCapabilities() calls

buildgrid.server.metrics_names.BUILD_EVENTS_QUERY_EVENT_STREAMS_EXCEPTION_COUNT_METRIC_NAME = 'query-event-streams-exception'

Number of exceptions thrown from QueryEventStreams() calls

buildgrid.server.metrics_names.BUILD_EVENTS_PUBLISH_LIFE_CYCLE_EVENT_EXCEPTION_COUNT_METRIC_NAME = 'publish-life-cycle-event-exception'

Number of exceptions thrown from PublishLifeCycleEvent() calls

buildgrid.server.metrics_names.BUILD_EVENTS_PUBLISH_BUILD_TOOL_EVENT_STREAM_EXCEPTION_COUNT_METRIC_NAME = 'publish-build-tool-event-stream-exception'

Number of exceptions thrown from PublishBuildToolEventStream() calls