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.
Metric | Description |
---|---|
druid_jvm_pool_committed | Total amount of memory committed for JVM memory pools in Druid. |
druid_query_cache_delta_misses | Number of misses in the query cache delta in Druid. |
druid_query_cache_total_evictions | Total number of evictions from the query cache in Druid. |
druid_jvm_pool_used | Amount of memory used in JVM memory pools in Druid. |
druid_jvm_pool_max | Maximum amount of memory allowed for JVM memory pools in Druid. |
druid_query_cache_delta_hits | Number of hits in the query cache delta in Druid. |
druid_query_cache_total_sizebytes | Total size of the query cache in Druid in bytes. |
druid_sys_net_write_size_total | Total number of bytes written over the network by Druid. |
druid_query_cache_total_hits | Total number of hits in the query cache in Druid. |
druid_query_cache_delta_numentries | Number of entries in the query cache delta in Druid. |
druid_sys_swap_max | Maximum swap usage in the system for Druid. |
druid_query_cache_total_timeouts | Total number of timeouts in the query cache in Druid. |
druid_sys_net_read_size_total | Total number of bytes read from the network by Druid. |
druid_jvm_mem_committed | Total memory committed for JVM memory in Druid. |
druid_sys_mem_used | Total system memory used by Druid. |
druid_query_cache_delta_sizebytes | Size of the query cache delta in bytes in Druid. |
druid_jvm_pool_init | Initial size of JVM memory pools in Druid. |
druid_query_failed_count_total | Total number of failed queries in Druid. |
druid_query_segmentandcache_time_bucket | Histogram bucket for the time spent processing queries and caching in Druid. |
druid_query_segmentandcache_time_count | Total count of queries processed and cached in Druid. |
druid_query_segmentandcache_time_sum | Total sum of times spent on queries and caching in Druid. |
druid_query_cache_delta_averagebytes | Average size of entries in the query cache delta in Druid, in bytes. |
druid_query_cache_delta_timeouts | Total number of timeouts in the query cache delta in Druid. |
druid_query_cache_total_numentries | Total number of entries in the query cache in Druid. |
druid_query_segment_time_bucket | Histogram bucket for the time spent processing query segments in Druid. |
druid_query_segment_time_count | Total count of query segments processed in Druid. |
druid_query_segment_time_sum | Total sum of times spent processing query segments in Druid. |
druid_query_intervalchunk_time_bucket | Histogram bucket for the time spent processing interval chunks in Druid. |
druid_query_intervalchunk_time_count | Total count of interval chunks processed in Druid. |
druid_query_intervalchunk_time_sum | Total sum of times spent processing interval chunks in Druid. |
druid_jvm_bufferpool_capacity | Total capacity of the JVM buffer pool in Druid. |