-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
20 changed files
with
196 additions
and
341 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
111 changes: 0 additions & 111 deletions
111
presto-common/src/main/java/com/facebook/presto/common/RuntimeMetricKey.java
This file was deleted.
Oops, something went wrong.
54 changes: 54 additions & 0 deletions
54
presto-common/src/main/java/com/facebook/presto/common/RuntimeMetricName.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
/* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
package com.facebook.presto.common; | ||
|
||
/** | ||
* Names for RuntimeMetrics used in the core presto code base. | ||
* Connectors could use arbitrary metric names not included in this class. | ||
*/ | ||
public class RuntimeMetricName | ||
{ | ||
private RuntimeMetricName() | ||
{ | ||
} | ||
|
||
public static final String DRIVER_COUNT_PER_TASK = "driverCountPerTask"; | ||
public static final String TASK_ELAPSED_TIME_NANOS = "taskElapsedTimeNanos"; | ||
public static final String OPTIMIZED_WITH_MATERIALIZED_VIEW_COUNT = "optimizedWithMaterializedViewCount"; | ||
public static final String MANY_PARTITIONS_MISSING_IN_MATERIALIZED_VIEW_COUNT = "manyPartitionsMissingInMaterializedViewCount"; | ||
public static final String SKIP_READING_FROM_MATERIALIZED_VIEW_COUNT = "skipReadingFromMaterializedViewCount"; | ||
public static final String FRAGMENT_RESULT_CACHE_HIT = "fragmentResultCacheHitCount"; | ||
public static final String FRAGMENT_RESULT_CACHE_MISS = "fragmentResultCacheMissCount"; | ||
public static final String GET_VIEW_TIME_NANOS = "getViewTimeNanos"; | ||
public static final String GET_MATERIALIZED_VIEW_TIME_NANOS = "getMaterializedViewTimeNanos"; | ||
public static final String GET_MATERIALIZED_VIEW_STATUS_TIME_NANOS = "getMaterializedViewStatusTimeNanos"; | ||
public static final String GET_TABLE_HANDLE_TIME_NANOS = "getTableHandleTimeNanos"; | ||
public static final String GET_TABLE_METADATA_TIME_NANOS = "getTableMetadataTimeNanos"; | ||
public static final String GET_SPLITS_TIME_NANOS = "getSplitsTimeNanos"; | ||
public static final String LOGICAL_PLANNER_TIME_NANOS = "logicalPlannerTimeNanos"; | ||
public static final String FRAGMENT_PLAN_TIME_NANOS = "fragmentPlanTimeNanos"; | ||
public static final String GET_LAYOUT_TIME_NANOS = "getLayoutTimeNanos"; | ||
public static final String REWRITE_AGGREGATION_IF_TO_FILTER_APPLIED = "rewriteAggregationIfToFilterApplied"; | ||
// Time between task creation and start. | ||
public static final String TASK_QUEUED_TIME_NANOS = "taskQueuedTimeNanos"; | ||
// Total operation time of a task on a worker. TASK_ELAPSED_TIME_NANOS - TASK_SCHEDULED_TIME_NANOS is the time when the task is doing nothing, e.g. it might be waiting for splits/inputs. | ||
public static final String TASK_SCHEDULED_TIME_NANOS = "taskScheduledTimeNanos"; | ||
// Blocked time for the operators due to waiting for inputs. | ||
public static final String TASK_BLOCKED_TIME_NANOS = "taskBlockedTimeNanos"; | ||
// Time taken for a read call to storage | ||
public static final String STORAGE_READ_TIME_NANOS = "storageReadTimeNanos"; | ||
// Size of the data retrieved by read call to storage | ||
public static final String STORAGE_READ_DATA_BYTES = "storageReadDataBytes"; | ||
} |
Oops, something went wrong.