java.lang.Object
org.apache.druid.metadata.segment.cache.Metric

public class Metric extends Object
Segment metadata cache metric names.
  • Field Details

    • PERSISTED_USED_SEGMENTS

      public static final String PERSISTED_USED_SEGMENTS
      Total number of segments currently present in the metadata store.
      See Also:
    • PERSISTED_PENDING_SEGMENTS

      public static final String PERSISTED_PENDING_SEGMENTS
      Total number of pending segments currently present in the metadata store.
      See Also:
    • READ_WRITE_TRANSACTIONS

      public static final String READ_WRITE_TRANSACTIONS
      Number of read-write transactions performed on the cache for a datasource.
      See Also:
    • WRITE_ONLY_TRANSACTIONS

      public static final String WRITE_ONLY_TRANSACTIONS
      Number of write-only transactions performed on the cache for a datasource.
      See Also:
    • READ_ONLY_TRANSACTIONS

      public static final String READ_ONLY_TRANSACTIONS
      Number of read-only transactions performed on the cache for a datasource.
      See Also:
    • CACHED_INTERVALS

      public static final String CACHED_INTERVALS
      Total number of distinct intervals currently present in the cache.
      See Also:
    • CACHED_USED_SEGMENTS

      public static final String CACHED_USED_SEGMENTS
      Total number of segments currently present in the cache.
      See Also:
    • CACHED_UNUSED_SEGMENTS

      public static final String CACHED_UNUSED_SEGMENTS
      Total number of segments currently present in the cache.
      See Also:
    • CACHED_PENDING_SEGMENTS

      public static final String CACHED_PENDING_SEGMENTS
      Total number of pending segments currently present in the cache.
      See Also:
    • SYNC_DURATION_MILLIS

      public static final String SYNC_DURATION_MILLIS
      Time taken in milliseconds for the latest sync with metadata store.
      See Also:
    • UPDATE_IDS_DURATION_MILLIS

      public static final String UPDATE_IDS_DURATION_MILLIS
      Time taken in milliseconds to update all segment IDs in the cache.
      See Also:
    • RETRIEVE_SEGMENT_PAYLOADS_DURATION_MILLIS

      public static final String 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

      public static final String 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

      public static final String 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

      public static final String RETRIEVE_SEGMENT_SCHEMAS_DURATION_MILLIS
      Time taken in milliseconds to fetch all segment schemas from the metadata store.
      See Also:
    • UPDATE_SNAPSHOT_DURATION_MILLIS

      public static final String UPDATE_SNAPSHOT_DURATION_MILLIS
      Time taken to update the datasource snapshot in the cache.
      See Also:
    • DELETED_DATASOURCES

      public static final String DELETED_DATASOURCES
      Total number of datasources removed from the cache if they have no segments anymore.
      See Also:
    • STALE_USED_SEGMENTS

      public static final String STALE_USED_SEGMENTS
      Number of segments which are now stale in the cache and need to be refreshed.
      See Also:
    • DELETED_SEGMENTS

      public static final String DELETED_SEGMENTS
      Total number of segments deleted from the cache in the latest sync.
      See Also:
    • DELETED_PENDING_SEGMENTS

      public static final String DELETED_PENDING_SEGMENTS
      Total number of pending segments deleted from the cache in the latest sync.
      See Also:
    • UPDATED_USED_SEGMENTS

      public static final String UPDATED_USED_SEGMENTS
      Number of used segments updated in the cache from the metadata store in the latest sync.
      See Also:
    • UPDATED_PENDING_SEGMENTS

      public static final String UPDATED_PENDING_SEGMENTS
      Number of pending segments updated in the cache from the metadata store in the latest sync.
      See Also:
    • SKIPPED_SEGMENTS

      public static final String SKIPPED_SEGMENTS
      Number of unparseable segment records skipped while refreshing the cache.
      See Also:
    • SKIPPED_SEGMENT_SCHEMAS

      public static final String SKIPPED_SEGMENT_SCHEMAS
      Number of unparseable segment schema records skipped while refreshing the cache.
      See Also:
    • SKIPPED_PENDING_SEGMENTS

      public static final String SKIPPED_PENDING_SEGMENTS
      Number of unparseable pending segment records skipped while refreshing the cache.
      See Also: