Introduction

Apache Druid is a real-time analytics database that’s used to analyze large amounts of data quickly. It’s designed for use cases that require high uptime, fast query performance, and real-time ingestion.

Kubernetes 2.0 ConfigMap

Users should update or append the existing ConfigMap named opsramp-workload-metric-user-config by adding application-specific fields. These fields may include authentication credentials, collection frequency, and other relevant configurations.

apiVersion: v1
kind: ConfigMap
metadata:
  name: opsramp-workload-metric-user-config
  namespace: opsramp-agent
data:
  workloads: |
    druid:
    - name: druid
      collectionFrequency: 59s
      port: 19091
      filters:
        - regex: 'druid_jvm_pool_committed'
          action: include
        - regex: 'druid_query_cache_total_hits'
          action: include
      targetPodSelector:
        matchLabels:
          - key: app.kubernetes.io/name
            operator: ==
            value:
              - druid

Supported Metrics

Supported metrics for this workload as provided by the Kubernetes 2.0 Agent.

MetricDescription
druid_jvm_pool_committedTotal amount of memory committed for JVM memory pools in Druid.
druid_query_cache_delta_missesNumber of misses in the query cache delta in Druid.
druid_query_cache_total_evictionsTotal number of evictions from the query cache in Druid.
druid_jvm_pool_usedAmount of memory used in JVM memory pools in Druid.
druid_jvm_pool_maxMaximum amount of memory allowed for JVM memory pools in Druid.
druid_query_cache_delta_hitsNumber of hits in the query cache delta in Druid.
druid_query_cache_total_sizebytesTotal size of the query cache in Druid in bytes.
druid_sys_net_write_size_totalTotal number of bytes written over the network by Druid.
druid_query_cache_total_hitsTotal number of hits in the query cache in Druid.
druid_query_cache_delta_numentriesNumber of entries in the query cache delta in Druid.
druid_sys_swap_maxMaximum swap usage in the system for Druid.
druid_query_cache_total_timeoutsTotal number of timeouts in the query cache in Druid.
druid_sys_net_read_size_totalTotal number of bytes read from the network by Druid.
druid_jvm_mem_committedTotal memory committed for JVM memory in Druid.
druid_sys_mem_usedTotal system memory used by Druid.
druid_query_cache_delta_sizebytesSize of the query cache delta in bytes in Druid.
druid_jvm_pool_initInitial size of JVM memory pools in Druid.
druid_query_failed_count_totalTotal number of failed queries in Druid.
druid_query_segmentandcache_time_bucketHistogram bucket for the time spent processing queries and caching in Druid.
druid_query_segmentandcache_time_countTotal count of queries processed and cached in Druid.
druid_query_segmentandcache_time_sumTotal sum of times spent on queries and caching in Druid.
druid_query_cache_delta_averagebytesAverage size of entries in the query cache delta in Druid, in bytes.
druid_query_cache_delta_timeoutsTotal number of timeouts in the query cache delta in Druid.
druid_query_cache_total_numentriesTotal number of entries in the query cache in Druid.
druid_query_segment_time_bucketHistogram bucket for the time spent processing query segments in Druid.
druid_query_segment_time_countTotal count of query segments processed in Druid.
druid_query_segment_time_sumTotal sum of times spent processing query segments in Druid.
druid_query_intervalchunk_time_bucketHistogram bucket for the time spent processing interval chunks in Druid.
druid_query_intervalchunk_time_countTotal count of interval chunks processed in Druid.
druid_query_intervalchunk_time_sumTotal sum of times spent processing interval chunks in Druid.
druid_jvm_bufferpool_capacityTotal capacity of the JVM buffer pool in Druid.