Class Metric
java.lang.Object
org.apache.druid.metadata.segment.cache.Metric
Segment metadata cache metric names.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringTotal number of distinct intervals currently present in the cache.static final StringTotal number of pending segments currently present in the cache.static final StringTotal number of segments currently present in the cache.static final StringTotal number of segments currently present in the cache.static final StringTotal number of datasources removed from the cache if they have no segments anymore.static final StringTotal number of pending segments deleted from the cache in the latest sync.static final StringTotal number of segments deleted from the cache in the latest sync.static final StringTotal number of pending segments currently present in the metadata store.static final StringTotal number of segments currently present in the metadata store.static final StringNumber of read-only transactions performed on the cache for a datasource.static final StringNumber of read-write transactions performed on the cache for a datasource.static final StringTime taken in milliseconds to fetch all pending segments from the metadata store.static final StringTime taken in milliseconds to fetch all segment IDs from the metadata store.static final StringTime taken in milliseconds to fetch payloads of used segments from the metadata store.static final StringTime taken in milliseconds to fetch all segment schemas from the metadata store.static final StringNumber of unparseable pending segment records skipped while refreshing the cache.static final StringNumber of unparseable segment schema records skipped while refreshing the cache.static final StringNumber of unparseable segment records skipped while refreshing the cache.static final StringNumber of segments which are now stale in the cache and need to be refreshed.static final StringTime taken in milliseconds for the latest sync with metadata store.static final StringTime taken in milliseconds to update all segment IDs in the cache.static final StringTime taken to update the datasource snapshot in the cache.static final StringNumber of pending segments updated in the cache from the metadata store in the latest sync.static final StringNumber of used segments updated in the cache from the metadata store in the latest sync.static final StringNumber of write-only transactions performed on the cache for a datasource. -
Method Summary
-
Field Details
-
PERSISTED_USED_SEGMENTS
Total number of segments currently present in the metadata store.- See Also:
-
PERSISTED_PENDING_SEGMENTS
Total number of pending segments currently present in the metadata store.- See Also:
-
READ_WRITE_TRANSACTIONS
Number of read-write transactions performed on the cache for a datasource.- See Also:
-
WRITE_ONLY_TRANSACTIONS
Number of write-only transactions performed on the cache for a datasource.- See Also:
-
READ_ONLY_TRANSACTIONS
Number of read-only transactions performed on the cache for a datasource.- See Also:
-
CACHED_INTERVALS
Total number of distinct intervals currently present in the cache.- See Also:
-
CACHED_USED_SEGMENTS
Total number of segments currently present in the cache.- See Also:
-
CACHED_UNUSED_SEGMENTS
Total number of segments currently present in the cache.- See Also:
-
CACHED_PENDING_SEGMENTS
Total number of pending segments currently present in the cache.- See Also:
-
SYNC_DURATION_MILLIS
Time taken in milliseconds for the latest sync with metadata store.- See Also:
-
UPDATE_IDS_DURATION_MILLIS
Time taken in milliseconds to update all segment IDs in the cache.- See Also:
-
RETRIEVE_SEGMENT_PAYLOADS_DURATION_MILLIS
Time taken in milliseconds to fetch payloads of used segments from the metadata store.- See Also:
-
RETRIEVE_SEGMENT_IDS_DURATION_MILLIS
Time taken in milliseconds to fetch all segment IDs from the metadata store.- See Also:
-
RETRIEVE_PENDING_SEGMENTS_DURATION_MILLIS
Time taken in milliseconds to fetch all pending segments from the metadata store.- See Also:
-
RETRIEVE_SEGMENT_SCHEMAS_DURATION_MILLIS
Time taken in milliseconds to fetch all segment schemas from the metadata store.- See Also:
-
UPDATE_SNAPSHOT_DURATION_MILLIS
Time taken to update the datasource snapshot in the cache.- See Also:
-
DELETED_DATASOURCES
Total number of datasources removed from the cache if they have no segments anymore.- See Also:
-
STALE_USED_SEGMENTS
Number of segments which are now stale in the cache and need to be refreshed.- See Also:
-
DELETED_SEGMENTS
Total number of segments deleted from the cache in the latest sync.- See Also:
-
DELETED_PENDING_SEGMENTS
Total number of pending segments deleted from the cache in the latest sync.- See Also:
-
UPDATED_USED_SEGMENTS
Number of used segments updated in the cache from the metadata store in the latest sync.- See Also:
-
UPDATED_PENDING_SEGMENTS
Number of pending segments updated in the cache from the metadata store in the latest sync.- See Also:
-
SKIPPED_SEGMENTS
Number of unparseable segment records skipped while refreshing the cache.- See Also:
-
SKIPPED_SEGMENT_SCHEMAS
Number of unparseable segment schema records skipped while refreshing the cache.- See Also:
-
SKIPPED_PENDING_SEGMENTS
Number of unparseable pending segment records skipped while refreshing the cache.- See Also:
-