diff --git a/cmd/otelcontribcol/builder-config.yaml b/cmd/otelcontribcol/builder-config.yaml index c24d6009fad4..430c1dc39ae7 100644 --- a/cmd/otelcontribcol/builder-config.yaml +++ b/cmd/otelcontribcol/builder-config.yaml @@ -119,7 +119,6 @@ receivers: - gomod: go.opentelemetry.io/collector/receiver/otlpreceiver v0.96.1-0.20240315172937-3b5aee0c7a16 - gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/activedirectorydsreceiver v0.96.0 - gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/aerospikereceiver v0.96.0 - - gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/apachedruidreceiver v0.96.0 - gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/apachereceiver v0.96.0 - gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/apachesparkreceiver v0.96.0 - gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awscloudwatchreceiver v0.96.0 @@ -266,7 +265,6 @@ replaces: - github.com/open-telemetry/opentelemetry-collector-contrib/extension/headerssetterextension => ../../extension/headerssetterextension - github.com/open-telemetry/opentelemetry-collector-contrib/exporter/googlemanagedprometheusexporter => ../../exporter/googlemanagedprometheusexporter - github.com/open-telemetry/opentelemetry-collector-contrib/receiver/aerospikereceiver => ../../receiver/aerospikereceiver - - github.com/open-telemetry/opentelemetry-collector-contrib/receiver/apachedruidreceiver => ../../receiver/apachedruidreceiver - github.com/open-telemetry/opentelemetry-collector-contrib/processor/cumulativetodeltaprocessor => ../../processor/cumulativetodeltaprocessor - github.com/open-telemetry/opentelemetry-collector-contrib/processor/intervalprocessor => ../../processor/intervalprocessor - github.com/open-telemetry/opentelemetry-collector-contrib/receiver/sapmreceiver => ../../receiver/sapmreceiver diff --git a/cmd/otelcontribcol/components.go b/cmd/otelcontribcol/components.go index f9f223145320..b4825c85adde 100644 --- a/cmd/otelcontribcol/components.go +++ b/cmd/otelcontribcol/components.go @@ -119,7 +119,6 @@ import ( transformprocessor "github.com/open-telemetry/opentelemetry-collector-contrib/processor/transformprocessor" activedirectorydsreceiver "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/activedirectorydsreceiver" aerospikereceiver "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/aerospikereceiver" - apachedruidreceiver "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/apachedruidreceiver" apachereceiver "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/apachereceiver" apachesparkreceiver "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/apachesparkreceiver" awscloudwatchreceiver "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awscloudwatchreceiver" @@ -250,7 +249,6 @@ func components() (otelcol.Factories, error) { otlpreceiver.NewFactory(), activedirectorydsreceiver.NewFactory(), aerospikereceiver.NewFactory(), - apachedruidreceiver.NewFactory(), apachereceiver.NewFactory(), apachesparkreceiver.NewFactory(), awscloudwatchreceiver.NewFactory(), diff --git a/cmd/otelcontribcol/go.mod b/cmd/otelcontribcol/go.mod index f2be4106805e..133d8c980b5f 100644 --- a/cmd/otelcontribcol/go.mod +++ b/cmd/otelcontribcol/go.mod @@ -107,7 +107,6 @@ require ( github.com/open-telemetry/opentelemetry-collector-contrib/processor/transformprocessor v0.96.0 github.com/open-telemetry/opentelemetry-collector-contrib/receiver/activedirectorydsreceiver v0.96.0 github.com/open-telemetry/opentelemetry-collector-contrib/receiver/aerospikereceiver v0.96.0 - github.com/open-telemetry/opentelemetry-collector-contrib/receiver/apachedruidreceiver v0.96.0 github.com/open-telemetry/opentelemetry-collector-contrib/receiver/apachereceiver v0.96.0 github.com/open-telemetry/opentelemetry-collector-contrib/receiver/apachesparkreceiver v0.96.0 github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awscloudwatchreceiver v0.96.0 @@ -838,8 +837,6 @@ replace github.com/open-telemetry/opentelemetry-collector-contrib/exporter/googl replace github.com/open-telemetry/opentelemetry-collector-contrib/receiver/aerospikereceiver => ../../receiver/aerospikereceiver -replace github.com/open-telemetry/opentelemetry-collector-contrib/receiver/apachedruidreceiver => ../../receiver/apachedruidreceiver - replace github.com/open-telemetry/opentelemetry-collector-contrib/processor/cumulativetodeltaprocessor => ../../processor/cumulativetodeltaprocessor replace github.com/open-telemetry/opentelemetry-collector-contrib/processor/intervalprocessor => ../../processor/intervalprocessor diff --git a/receiver/apachedruidreceiver/documentation.md b/receiver/apachedruidreceiver/documentation.md deleted file mode 100644 index 56bd3de5e0c7..000000000000 --- a/receiver/apachedruidreceiver/documentation.md +++ /dev/null @@ -1,3217 +0,0 @@ -[comment]: <> (Code generated by mdatagen. DO NOT EDIT.) - -# apachedruid - -## Default Metrics - -The following metrics are emitted by default. Each of them can be disabled by applying the following configuration: - -```yaml -metrics: - : - enabled: false -``` - -### apachedruid.compact.segment_analyzer.fetch_and_process_millis - -Time taken to fetch and process segments to infer the schema for the compaction task to run. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| 1 | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| task_type | The type of task. | Any Str | -| data_source | The data source of compaction task. | Any Str | -| group_id | The group id of compaction task. | Any Str | -| tags | The tags of the compaction task. | Any Str | -| task_id | The task id of compaction task. | Any Str | - -### apachedruid.compact.task.count - -Number of tasks issued in the auto compaction run. - -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| {tasks} | Sum | Int | Delta | true | - -### apachedruid.compact_task.available_slot.count - -Number of available task slots that can be used for auto compaction tasks in the auto compaction run. This is the max number of task slots minus any currently running compaction tasks. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| {slots} | Gauge | Int | - -### apachedruid.compact_task.max_slot.count - -Maximum number of task slots available for auto compaction tasks in the auto compaction run. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| {slots} | Gauge | Int | - -### apachedruid.coordinator.global.time - -Approximate runtime of a full coordination cycle in milliseconds. The `dutyGroup` dimension indicates what type of coordination this run was. For example, Historical Management or Indexing. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| ms | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| duty_group | The name of the duty group. | Any Str | - -### apachedruid.coordinator.time - -Approximate Coordinator duty runtime in milliseconds. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| ms | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| duty | The name of coordinator duty task. | Any Str | - -### apachedruid.ingest.bytes.received - -Number of bytes received by the `EventReceiverFirehose`. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| By | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| task_type | The type of ingestion task. | Any Str | -| task_id | The id of the task. | Any Str | -| data_source | The data source of ingestion task. | Any Str | -| service_name | The name of ingestion service. | Any Str | - -### apachedruid.ingest.count - -Count of `1` every time an ingestion job runs (includes compaction jobs). Aggregate using dimensions. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| 1 | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| task_type | The type of ingestion task. | Any Str | -| data_source | The data source of ingestion task. | Any Str | -| group_id | The ingestion group id. | Any Str | -| tags | The names of tags. | Any Str | -| task_id | The id of the task. | Any Str | -| task_ingestion_mode | The mode of ingestion task. | Any Str | - -### apachedruid.ingest.events.buffered - -Number of events queued in the `EventReceiverFirehose` buffer. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| {events} | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| task_type | The type of ingestion task. | Any Str | -| data_source | The data source of ingestion task. | Any Str | -| service_name | The name of ingestion service. | Any Str | -| buffer_capacity | The capacity of ingestion buffer. | Any Str | -| task_id | The id of the task. | Any Str | - -### apachedruid.ingest.events.duplicate - -Number of events rejected because the events are duplicated. - -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| {events} | Sum | Int | Delta | true | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| task_type | The type of ingestion task. | Any Str | -| data_source | The data source of ingestion task. | Any Str | -| group_id | The ingestion group id. | Any Str | -| tags | The names of tags. | Any Str | -| task_id | The id of the task. | Any Str | - -### apachedruid.ingest.events.message_gap - -Time gap in milliseconds between the latest ingested event timestamp and the current system timestamp of metrics emission. If the value is increasing but lag is low, Druid may not be receiving new data. This metric is reset as new tasks spawn up. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| ms | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| task_type | The type of ingestion task. | Any Str | -| data_source | The data source of ingestion task. | Any Str | -| group_id | The ingestion group id. | Any Str | -| tags | The names of tags. | Any Str | -| task_id | The id of the task. | Any Str | - -### apachedruid.ingest.events.processed - -Number of events processed per emission period. - -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| {events} | Sum | Int | Delta | true | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| task_type | The type of ingestion task. | Any Str | -| data_source | The data source of ingestion task. | Any Str | -| group_id | The ingestion group id. | Any Str | -| tags | The names of tags. | Any Str | -| task_id | The id of the task. | Any Str | - -### apachedruid.ingest.events.processed_with_error - -Number of events processed with some partial errors per emission period. Events processed with partial errors are counted towards both this metric and `ingest/events/processed`. - -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| {events} | Sum | Int | Delta | true | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| task_type | The type of ingestion task. | Any Str | -| data_source | The data source of ingestion task. | Any Str | -| group_id | The ingestion group id. | Any Str | -| tags | The names of tags. | Any Str | -| task_id | The id of the task. | Any Str | - -### apachedruid.ingest.events.thrown_away - -Number of events rejected because they are null, or filtered by `transformSpec`, or outside one of `lateMessageRejectionPeriod`, `earlyMessageRejectionPeriod`, or `windowPeriod`. - -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| {events} | Sum | Int | Delta | true | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| task_type | The type of ingestion task. | Any Str | -| data_source | The data source of ingestion task. | Any Str | -| group_id | The ingestion group id. | Any Str | -| tags | The names of tags. | Any Str | -| task_id | The id of the task. | Any Str | - -### apachedruid.ingest.events.unparseable - -Number of events rejected because the events are unparseable. - -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| {events} | Sum | Int | Delta | true | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| task_type | The type of ingestion task. | Any Str | -| data_source | The data source of ingestion task. | Any Str | -| group_id | The ingestion group id. | Any Str | -| tags | The names of tags. | Any Str | -| task_id | The id of the task. | Any Str | - -### apachedruid.ingest.handoff.count - -Number of handoffs that happened. - -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| {handoffs} | Sum | Int | Delta | true | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| task_type | The type of ingestion task. | Any Str | -| data_source | The data source of ingestion task. | Any Str | -| group_id | The ingestion group id. | Any Str | -| tags | The names of tags. | Any Str | -| task_id | The id of the task. | Any Str | - -### apachedruid.ingest.handoff.failed - -Number of handoffs that failed. - -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| {handoffs} | Sum | Int | Delta | true | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| task_type | The type of ingestion task. | Any Str | -| data_source | The data source of ingestion task. | Any Str | -| group_id | The ingestion group id. | Any Str | -| tags | The names of tags. | Any Str | -| task_id | The id of the task. | Any Str | - -### apachedruid.ingest.handoff.time - -Total number of milliseconds taken to handoff a set of segments. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| ms | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| task_type | The type of ingestion task. | Any Str | -| data_source | The data source of ingestion task. | Any Str | -| group_id | The ingestion group id. | Any Str | -| tags | The names of tags. | Any Str | -| task_id | The id of the task. | Any Str | - -### apachedruid.ingest.input.bytes - -Number of bytes read from input sources, after decompression but prior to parsing. This covers all data read, including data that does not end up being fully processed and ingested. For example, this includes data that ends up being rejected for being unparseable or filtered out. - -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| By | Sum | Int | Delta | true | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| task_type | The type of ingestion task. | Any Str | -| data_source | The data source of ingestion task. | Any Str | -| group_id | The ingestion group id. | Any Str | -| tags | The names of tags. | Any Str | -| task_id | The id of the task. | Any Str | - -### apachedruid.ingest.kafka.avg_lag - -Average lag between the offsets consumed by the Kafka indexing tasks and latest offsets in Kafka brokers across all partitions. Minimum emission period for this metric is a minute. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| 1 | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| tags | The names of tags. | Any Str | -| stream | The name of stream to ingest. | Any Str | -| data_source | The data source of ingestion task. | Any Str | - -### apachedruid.ingest.kafka.lag - -Total lag between the offsets consumed by the Kafka indexing tasks and latest offsets in Kafka brokers across all partitions. Minimum emission period for this metric is a minute. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| 1 | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| tags | The names of tags. | Any Str | -| stream | The name of stream to ingest. | Any Str | -| data_source | The data source of ingestion task. | Any Str | - -### apachedruid.ingest.kafka.max_lag - -Max lag between the offsets consumed by the Kafka indexing tasks and latest offsets in Kafka brokers across all partitions. Minimum emission period for this metric is a minute. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| 1 | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| tags | The names of tags. | Any Str | -| stream | The name of stream to ingest. | Any Str | -| data_source | The data source of ingestion task. | Any Str | - -### apachedruid.ingest.kafka.partition_lag - -Partition-wise lag between the offsets consumed by the Kafka indexing tasks and latest offsets in Kafka brokers. Minimum emission period for this metric is a minute. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| 1 | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| tags | The names of tags. | Any Str | -| partition | The partition of the topic. | Any Str | -| stream | The name of stream to ingest. | Any Str | -| data_source | The data source of ingestion task. | Any Str | - -### apachedruid.ingest.kinesis.avg_lag.time - -Average lag time in milliseconds between the current message sequence number consumed by the Kinesis indexing tasks and latest sequence number in Kinesis across all shards. Minimum emission period for this metric is a minute. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| ms | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| tags | The names of tags. | Any Str | -| stream | The name of stream to ingest. | Any Str | -| data_source | The data source of ingestion task. | Any Str | - -### apachedruid.ingest.kinesis.lag.time - -Total lag time in milliseconds between the current message sequence number consumed by the Kinesis indexing tasks and latest sequence number in Kinesis across all shards. Minimum emission period for this metric is a minute. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| ms | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| tags | The names of tags. | Any Str | -| stream | The name of stream to ingest. | Any Str | -| data_source | The data source of ingestion task. | Any Str | - -### apachedruid.ingest.kinesis.max_lag.time - -Max lag time in milliseconds between the current message sequence number consumed by the Kinesis indexing tasks and latest sequence number in Kinesis across all shards. Minimum emission period for this metric is a minute. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| ms | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| tags | The names of tags. | Any Str | -| stream | The name of stream to ingest. | Any Str | -| data_source | The data source of ingestion task. | Any Str | - -### apachedruid.ingest.kinesis.partition_lag.time - -Partition-wise lag time in milliseconds between the current message sequence number consumed by the Kinesis indexing tasks and latest sequence number in Kinesis. Minimum emission period for this metric is a minute. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| ms | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| tags | The names of tags. | Any Str | -| partition | The partition of the topic. | Any Str | -| stream | The name of stream to ingest. | Any Str | -| data_source | The data source of ingestion task. | Any Str | - -### apachedruid.ingest.merge.cpu - -CPU time in Nanoseconds spent on merging intermediate segments. - -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| ns | Sum | Int | Delta | true | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| task_type | The type of ingestion task. | Any Str | -| data_source | The data source of ingestion task. | Any Str | -| group_id | The ingestion group id. | Any Str | -| tags | The names of tags. | Any Str | -| task_id | The id of the task. | Any Str | - -### apachedruid.ingest.merge.time - -Milliseconds spent merging intermediate segments. - -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| ms | Sum | Int | Delta | true | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| task_type | The type of ingestion task. | Any Str | -| data_source | The data source of ingestion task. | Any Str | -| group_id | The ingestion group id. | Any Str | -| tags | The names of tags. | Any Str | -| task_id | The id of the task. | Any Str | - -### apachedruid.ingest.notices.queue_size - -Number of pending notices to be processed by the coordinator. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| {notices} | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| tags | The names of tags. | Any Str | -| data_source | The data source of ingestion task. | Any Str | - -### apachedruid.ingest.notices.time - -Milliseconds taken to process a notice by the supervisor. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| ms | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| tags | The names of tags. | Any Str | -| data_source | The data source of ingestion task. | Any Str | - -### apachedruid.ingest.pause.time - -Milliseconds spent by a task in a paused state without ingesting. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| ms | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| tags | The names of tags. | Any Str | -| task_id | The id of the task. | Any Str | -| data_source | The data source of ingestion task. | Any Str | - -### apachedruid.ingest.persists.back_pressure - -Milliseconds spent creating persist tasks and blocking waiting for them to finish. - -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| ms | Sum | Int | Delta | true | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| task_type | The type of ingestion task. | Any Str | -| data_source | The data source of ingestion task. | Any Str | -| group_id | The ingestion group id. | Any Str | -| tags | The names of tags. | Any Str | -| task_id | The id of the task. | Any Str | - -### apachedruid.ingest.persists.count - -Number of times persist occurred. - -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| 1 | Sum | Int | Delta | true | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| task_type | The type of ingestion task. | Any Str | -| data_source | The data source of ingestion task. | Any Str | -| group_id | The ingestion group id. | Any Str | -| tags | The names of tags. | Any Str | -| task_id | The id of the task. | Any Str | - -### apachedruid.ingest.persists.cpu - -CPU time in nanoseconds spent on doing intermediate persist. - -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| ns | Sum | Int | Delta | true | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| task_type | The type of ingestion task. | Any Str | -| data_source | The data source of ingestion task. | Any Str | -| group_id | The ingestion group id. | Any Str | -| tags | The names of tags. | Any Str | -| task_id | The id of the task. | Any Str | - -### apachedruid.ingest.persists.failed - -Number of persists that failed. - -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| {persists} | Sum | Int | Delta | true | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| task_type | The type of ingestion task. | Any Str | -| data_source | The data source of ingestion task. | Any Str | -| group_id | The ingestion group id. | Any Str | -| tags | The names of tags. | Any Str | -| task_id | The id of the task. | Any Str | - -### apachedruid.ingest.persists.time - -Milliseconds spent doing intermediate persist. - -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| ms | Sum | Int | Delta | true | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| task_type | The type of ingestion task. | Any Str | -| data_source | The data source of ingestion task. | Any Str | -| group_id | The ingestion group id. | Any Str | -| tags | The names of tags. | Any Str | -| task_id | The id of the task. | Any Str | - -### apachedruid.ingest.rows.output - -Number of Druid rows persisted. - -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| {rows} | Sum | Int | Delta | true | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| task_type | The type of ingestion task. | Any Str | -| task_id | The id of the task. | Any Str | -| data_source | The data source of ingestion task. | Any Str | -| group_id | The ingestion group id. | Any Str | - -### apachedruid.ingest.segments.count - -Count of final segments created by job (includes tombstones). - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| 1 | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| task_type | The type of ingestion task. | Any Str | -| data_source | The data source of ingestion task. | Any Str | -| group_id | The ingestion group id. | Any Str | -| tags | The names of tags. | Any Str | -| task_id | The id of the task. | Any Str | -| task_ingestion_mode | The mode of ingestion task. | Any Str | - -### apachedruid.ingest.shuffle.bytes - -Number of bytes shuffled per emission period. - -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| By | Sum | Int | Delta | true | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| supervisor_task_id | The task id of supervisor. | Any Str | - -### apachedruid.ingest.shuffle.requests - -Number of shuffle requests per emission period. - -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| {requests} | Sum | Int | Delta | true | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| supervisor_task_id | The task id of supervisor. | Any Str | - -### apachedruid.ingest.sink.count - -Number of sinks not handed off. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| {sinks} | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| task_type | The type of ingestion task. | Any Str | -| data_source | The data source of ingestion task. | Any Str | -| group_id | The ingestion group id. | Any Str | -| tags | The names of tags. | Any Str | -| task_id | The id of the task. | Any Str | - -### apachedruid.ingest.tombstones.count - -Count of tombstones created by job. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| 1 | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| task_type | The type of ingestion task. | Any Str | -| data_source | The data source of ingestion task. | Any Str | -| group_id | The ingestion group id. | Any Str | -| tags | The names of tags. | Any Str | -| task_id | The id of the task. | Any Str | -| task_ingestion_mode | The mode of ingestion task. | Any Str | - -### apachedruid.interval.compacted.count - -Total number of intervals of this datasource that are already compacted with the spec set in the auto compaction config. - -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| {intervals} | Sum | Int | Delta | true | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| data_source | The interval of data source. | Any Str | - -### apachedruid.interval.skip_compact.count - -Total number of intervals of this datasource that are skipped (not eligible for auto compaction) by the auto compaction. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| {intervals} | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| data_source | The interval of data source. | Any Str | - -### apachedruid.interval.wait_compact.count - -Total number of intervals of this datasource waiting to be compacted by the auto compaction (only consider intervals/segments that are eligible for auto compaction). - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| {intervals} | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| data_source | The interval of data source. | Any Str | - -### apachedruid.jetty.num_open_connections - -Number of open jetty connections. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| {connections} | Gauge | Int | - -### apachedruid.jetty.thread_pool.busy - -Number of busy threads that has work to do from the worker queue. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| {threads} | Gauge | Int | - -### apachedruid.jetty.thread_pool.idle - -Number of idle threads. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| {threads} | Gauge | Int | - -### apachedruid.jetty.thread_pool.is_low_on_threads - -A rough indicator of whether number of total workable threads allocated is enough to handle the works in the work queue. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| {threads} | Gauge | Int | - -### apachedruid.jetty.thread_pool.max - -Number of maximum threads allocatable. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| {threads} | Gauge | Int | - -### apachedruid.jetty.thread_pool.min - -Number of minimum threads allocatable. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| {threads} | Gauge | Int | - -### apachedruid.jetty.thread_pool.queue_size - -Size of the worker queue. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| 1 | Gauge | Int | - -### apachedruid.jetty.thread_pool.total - -Number of total workable threads allocated. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| {threads} | Gauge | Int | - -### apachedruid.jvm.bufferpool.capacity - -Bufferpool capacity. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| 1 | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| bufferpool_name | The name of buffer pool. | Any Str | - -### apachedruid.jvm.bufferpool.count - -Bufferpool count. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| 1 | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| bufferpool_name | The name of buffer pool. | Any Str | - -### apachedruid.jvm.bufferpool.used - -Bufferpool used. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| 1 | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| bufferpool_name | The name of buffer pool. | Any Str | - -### apachedruid.jvm.gc.count - -Garbage collection count. - -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| 1 | Sum | Int | Delta | true | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| gc_gen | The name of GC generation. | Any Str | -| gc_name | The gc name of jvm. | Any Str | - -### apachedruid.jvm.gc.cpu - -Count of CPU time in Nanoseconds spent on garbage collection. Note, `jvm/gc/cpu` represents the total time over multiple GC cycles; divide by `jvm/gc/count` to get the mean GC time per cycle. - -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| ns | Sum | Int | Delta | true | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| gc_gen | The name of GC generation. | Any Str | -| gc_name | The gc name of jvm. | Any Str | - -### apachedruid.jvm.mem.committed - -Committed memory. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| By | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| mem_kind | The memory kind of jvm. | Any Str | - -### apachedruid.jvm.mem.init - -Initial memory. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| By | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| mem_kind | The memory kind of jvm. | Any Str | - -### apachedruid.jvm.mem.max - -Max memory. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| By | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| mem_kind | The memory kind of jvm. | Any Str | - -### apachedruid.jvm.mem.used - -Used memory. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| By | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| mem_kind | The memory kind of jvm. | Any Str | - -### apachedruid.jvm.pool.committed - -Committed pool. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| By | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| pool_name | The name of the pool. | Any Str | -| pool_kind | The pool kind of jvm. | Any Str | - -### apachedruid.jvm.pool.init - -Initial pool. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| By | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| pool_name | The name of the pool. | Any Str | -| pool_kind | The pool kind of jvm. | Any Str | - -### apachedruid.jvm.pool.max - -Max pool. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| By | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| pool_name | The name of the pool. | Any Str | -| pool_kind | The pool kind of jvm. | Any Str | - -### apachedruid.jvm.pool.used - -Pool used. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| By | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| pool_name | The name of the pool. | Any Str | -| pool_kind | The pool kind of jvm. | Any Str | - -### apachedruid.kill.pending_segments.count - -Number of stale pending segments deleted from the metadata store. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| {segments} | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| data_source | The data source name of the kill task. | Any Str | - -### apachedruid.kill.task.count - -Number of tasks issued in the auto kill run. - -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| {tasks} | Sum | Int | Delta | true | - -### apachedruid.kill_task.available_slot.count - -Number of available task slots that can be used for auto kill tasks in the auto kill run. This is the max number of task slots minus any currently running auto kill tasks. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| {slots} | Gauge | Int | - -### apachedruid.kill_task.max_slot.count - -Maximum number of task slots available for auto kill tasks in the auto kill run. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| {slots} | Gauge | Int | - -### apachedruid.merge_buffer.pending_requests - -Number of requests waiting to acquire a batch of buffers from the merge buffer pool. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| {requests} | Gauge | Int | - -### apachedruid.metadata.kill.audit.count - -Total number of audit logs that were automatically deleted from metadata store per each Coordinator kill audit duty run. This metric can help adjust `druid.coordinator.kill.audit.durationToRetain` configuration based on whether more or less audit logs need to be deleted per cycle. This metric is emitted only when `druid.coordinator.kill.audit.on` is set to true. - -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| 1 | Sum | Int | Delta | true | - -### apachedruid.metadata.kill.compaction.count - -Total number of compaction configurations that were automatically deleted from metadata store per each Coordinator kill compaction configuration duty run. This metric is only emitted when `druid.coordinator.kill.compaction.on` is set to true. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| 1 | Gauge | Int | - -### apachedruid.metadata.kill.datasource.count - -Total number of datasource metadata that were automatically deleted from metadata store per each Coordinator kill datasource duty run. Note that datasource metadata only exists for datasource created from supervisor. This metric can help adjust `druid.coordinator.kill.datasource.durationToRetain` configuration based on whether more or less datasource metadata need to be deleted per cycle. This metric is only emitted when `druid.coordinator.kill.datasource.on` is set to true. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| 1 | Gauge | Int | - -### apachedruid.metadata.kill.rule.count - -Total number of rules that were automatically deleted from metadata store per each Coordinator kill rule duty run. This metric can help adjust `druid.coordinator.kill.rule.durationToRetain` configuration based on whether more or less rules need to be deleted per cycle. This metric is only emitted when `druid.coordinator.kill.rule.on` is set to true. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| {rules} | Gauge | Int | - -### apachedruid.metadata.kill.supervisor.count - -Total number of terminated supervisors that were automatically deleted from metadata store per each Coordinator kill supervisor duty run. This metric can help adjust `druid.coordinator.kill.supervisor.durationToRetain` configuration based on whether more or less terminated supervisors need to be deleted per cycle. This metric is only emitted when `druid.coordinator.kill.supervisor.on` is set to true. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| {supervisors} | Gauge | Int | - -### apachedruid.metadatacache.init.time - -Time taken to initialize the broker segment metadata cache. Useful to detect if brokers are taking too long to start. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| ms | Gauge | Int | - -### apachedruid.metadatacache.refresh.count - -Number of segments to refresh in broker segment metadata cache. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| 1 | Gauge | Int | - -### apachedruid.metadatacache.refresh.time - -Time taken to refresh segments in broker segment metadata cache. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| ms | Gauge | Int | - -### apachedruid.query.byte_limit.exceeded.count - -Number of queries whose inlined subquery results exceeded the given byte limit. - -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| {queries} | Sum | Int | Delta | true | - -### apachedruid.query.bytes - -The total number of bytes returned to the requesting client in the query response from the broker. Other services report the total bytes for their portion of the query. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| By | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| data_source | The data source name of the query. | Any Str | -| num_metrics | The number of metrics of the query. | Any Str | -| dimension | The dimension of the query. | Any Str | -| has_filters | Whether query has filters. | Any Str | -| threshold | The threshold of query. | Any Int | -| num_complex_metrics | The number of complex metrics. | Any Int | -| type | The type of query. | Any Str | -| remote_address | The remote address of the query. | Any Str | -| id | The id of query. | Any Str | -| context | The context of the query. | Any Str | -| num_dimensions | The number of dimensions of query. | Any Str | -| interval | The interval of the query. | Any Str | -| duration | The duration of query. | Any Str | - -### apachedruid.query.cache.delta.average_bytes - -Average cache entry byte size. - -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| By | Sum | Int | Delta | true | - -### apachedruid.query.cache.delta.errors - -Number of cache errors. - -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| {errors} | Sum | Int | Delta | true | - -### apachedruid.query.cache.delta.evictions - -Number of cache evictions. - -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| {evictions} | Sum | Int | Delta | true | - -### apachedruid.query.cache.delta.hit_rate - -Cache hit rate. - -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| 1 | Sum | Double | Delta | true | - -### apachedruid.query.cache.delta.hits - -Number of cache hits. - -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| {hits} | Sum | Int | Delta | true | - -### apachedruid.query.cache.delta.misses - -Number of cache misses. - -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| {misses} | Sum | Int | Delta | true | - -### apachedruid.query.cache.delta.num_entries - -Number of cache entries. - -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| {entries} | Sum | Int | Delta | true | - -### apachedruid.query.cache.delta.put.error - -Number of new cache entries that could not be cached due to errors. - -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| {errors} | Sum | Int | Delta | true | - -### apachedruid.query.cache.delta.put.ok - -Number of new cache entries successfully cached. - -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| 1 | Sum | Int | Delta | true | - -### apachedruid.query.cache.delta.put.oversized - -Number of potential new cache entries that were skipped due to being too large (based on `druid.{broker,historical,realtime}.cache.maxEntrySize` properties). - -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| 1 | Sum | Int | Delta | true | - -### apachedruid.query.cache.delta.size_bytes - -Size in bytes of cache entries. - -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| By | Sum | Int | Delta | true | - -### apachedruid.query.cache.delta.timeouts - -Number of cache timeouts. - -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| {timeouts} | Sum | Int | Delta | true | - -### apachedruid.query.cache.memcached.delta - -Cache metrics unique to memcached (only if `druid.cache.type=memcached`) as their delta from the prior event emission. - -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| 1 | Sum | Int | Delta | true | - -### apachedruid.query.cache.memcached.total - -Cache metrics unique to memcached (only if `druid.cache.type=memcached`) as their actual values. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| 1 | Gauge | Int | - -### apachedruid.query.cache.total.average_bytes - -Average cache entry byte size. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| By | Gauge | Int | - -### apachedruid.query.cache.total.errors - -Number of cache errors. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| {errors} | Gauge | Int | - -### apachedruid.query.cache.total.evictions - -Number of cache evictions. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| {evictions} | Gauge | Int | - -### apachedruid.query.cache.total.hit_rate - -Cache hit rate. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| 1 | Gauge | Double | - -### apachedruid.query.cache.total.hits - -Number of cache hits. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| {hits} | Gauge | Int | - -### apachedruid.query.cache.total.misses - -Number of cache misses. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| {misses} | Gauge | Int | - -### apachedruid.query.cache.total.num_entries - -Number of cache entries. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| {entries} | Gauge | Int | - -### apachedruid.query.cache.total.put.error - -Number of new cache entries that could not be cached due to errors. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| {errors} | Gauge | Int | - -### apachedruid.query.cache.total.put.ok - -Number of new cache entries successfully cached. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| 1 | Gauge | Int | - -### apachedruid.query.cache.total.put.oversized - -Number of potential new cache entries that were skipped due to being too large (based on `druid.{broker,historical,realtime}.cache.maxEntrySize` properties). - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| 1 | Gauge | Int | - -### apachedruid.query.cache.total.size_bytes - -Size in bytes of cache entries. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| By | Gauge | Int | - -### apachedruid.query.cache.total.timeouts - -Number of cache timeouts. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| {timeouts} | Gauge | Int | - -### apachedruid.query.count - -Number of total queries. - -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| {queries} | Sum | Int | Delta | true | - -### apachedruid.query.cpu.time - -Microseconds of CPU time taken to complete a query. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| ms | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| data_source | The data source name of the query. | Any Str | -| num_metrics | The number of metrics of the query. | Any Str | -| dimension | The dimension of the query. | Any Str | -| has_filters | Whether query has filters. | Any Str | -| threshold | The threshold of query. | Any Int | -| num_complex_metrics | The number of complex metrics. | Any Int | -| type | The type of query. | Any Str | -| remote_address | The remote address of the query. | Any Str | -| id | The id of query. | Any Str | -| context | The context of the query. | Any Str | -| num_dimensions | The number of dimensions of query. | Any Str | -| interval | The interval of the query. | Any Str | -| duration | The duration of query. | Any Str | - -### apachedruid.query.failed.count - -Number of failed queries. - -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| {queries} | Sum | Int | Delta | true | - -### apachedruid.query.interrupted.count - -Number of queries interrupted due to cancellation. - -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| {queries} | Sum | Int | Delta | true | - -### apachedruid.query.node.backpressure - -Milliseconds that the channel to this process has spent suspended due to backpressure. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| ms | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| status | The status of the query. | Any Str | -| server | The server of the query. | Any Str | -| id | The id of query. | Any Str | - -### apachedruid.query.node.bytes - -Number of bytes returned from querying individual historical/realtime processes. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| By | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| status | The status of the query. | Any Str | -| server | The server of the query. | Any Str | -| id | The id of query. | Any Str | - -### apachedruid.query.node.time - -Milliseconds taken to query individual historical/realtime processes. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| ms | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| status | The status of the query. | Any Str | -| server | The server of the query. | Any Str | -| id | The id of query. | Any Str | - -### apachedruid.query.node.ttfb - -Time to first byte. Milliseconds elapsed until Broker starts receiving the response from individual historical/realtime processes. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| ms | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| status | The status of the query. | Any Str | -| server | The server of the query. | Any Str | -| id | The id of query. | Any Str | - -### apachedruid.query.priority - -Assigned lane and priority, only if Laning strategy is enabled. Refer to [Laning strategies](https,//druid.apache.org/docs/latest/configuration#laning-strategies). - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| 1 | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| type | The type of query. | Any Str | -| data_source | The data source name of the query. | Any Str | -| lane | The name of query lane. | Any Str | - -### apachedruid.query.row_limit.exceeded.count - -Number of queries whose inlined subquery results exceeded the given row limit. - -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| {queries} | Sum | Int | Delta | true | - -### apachedruid.query.segment.time - -Milliseconds taken to query individual segment. Includes time to page in the segment from disk. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| ms | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| status | The status of the query. | Any Str | -| segment | The segment of the query. | Any Str | -| id | The id of query. | Any Str | -| vectorized | Whether query is vectorized. | Any Str | - -### apachedruid.query.segment_and_cache.time - -Milliseconds taken to query individual segment or hit the cache (if it is enabled on the Historical process). - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| ms | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| segment | The segment of the query. | Any Str | -| id | The id of query. | Any Str | - -### apachedruid.query.segments.count - -This metric is not enabled by default. See the `QueryMetrics` Interface for reference regarding enabling this metric. Number of segments that will be touched by the query. In the broker, it makes a plan to distribute the query to realtime tasks and historicals based on a snapshot of segment distribution state. If there are some segments moved after this snapshot is created, certain historicals and realtime tasks can report those segments as missing to the broker. The broker will resend the query to the new servers that serve those segments after move. In this case, those segments can be counted more than once in this metric. - -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| {segments} | Sum | Int | Delta | true | - -### apachedruid.query.success.count - -Number of queries successfully processed. - -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| {queries} | Sum | Int | Delta | true | - -### apachedruid.query.time - -Milliseconds taken to complete a query. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| ms | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| data_source | The data source name of the query. | Any Str | -| num_metrics | The number of metrics of the query. | Any Str | -| dimension | The dimension of the query. | Any Str | -| has_filters | Whether query has filters. | Any Str | -| threshold | The threshold of query. | Any Int | -| num_complex_metrics | The number of complex metrics. | Any Int | -| type | The type of query. | Any Str | -| remote_address | The remote address of the query. | Any Str | -| id | The id of query. | Any Str | -| context | The context of the query. | Any Str | -| num_dimensions | The number of dimensions of query. | Any Str | -| interval | The interval of the query. | Any Str | -| duration | The duration of query. | Any Str | - -### apachedruid.query.timeout.count - -Number of timed out queries. - -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| {queries} | Sum | Int | Delta | true | - -### apachedruid.query.wait.time - -Milliseconds spent waiting for a segment to be scanned. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| ms | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| segment | The segment of the query. | Any Str | -| id | The id of query. | Any Str | - -### apachedruid.segment.added.bytes - -Size in bytes of new segments created. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| By | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| task_type | The task type of the segment. | Any Str | -| data_source | The data source of the segment. | Any Str | -| group_id | The group id of segment. | Any Str | -| tags | The tags of the segment. | Any Str | -| task_id | The task id of segment. | Any Str | -| interval | The interval of segment. | Any Str | - -### apachedruid.segment.assign_skipped.count - -Number of segments that could not be assigned to any server for loading. This can occur due to replication throttling, no available disk space, or a full load queue. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| {segments} | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| description | The description of segment. | Any Str | -| tier | The name of segment tier. | Any Str | -| data_source | The data source of the segment. | Any Str | - -### apachedruid.segment.assigned.count - -Number of segments assigned to be loaded in the cluster. - -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| {segments} | Sum | Int | Delta | true | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| tier | The name of segment tier. | Any Str | -| data_source | The data source of the segment. | Any Str | - -### apachedruid.segment.compacted.bytes - -Total bytes of this datasource that are already compacted with the spec set in the auto compaction config. - -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| By | Sum | Int | Delta | true | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| data_source | The data source of the segment. | Any Str | - -### apachedruid.segment.compacted.count - -Total number of segments of this datasource that are already compacted with the spec set in the auto compaction config. - -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| {segments} | Sum | Int | Delta | true | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| data_source | The data source of the segment. | Any Str | - -### apachedruid.segment.count - -Number of used segments belonging to a data source. Emitted only for data sources to which at least one used segment belongs. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| {segments} | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| priority | The priority of segment. | Any Str | -| tier | The name of segment tier. | Any Str | -| data_source | The data source of the segment. | Any Str | - -### apachedruid.segment.deleted.count - -Number of segments marked as unused due to drop rules. - -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| {segments} | Sum | Int | Delta | true | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| data_source | The data source of the segment. | Any Str | - -### apachedruid.segment.drop_queue.count - -Number of segments to drop. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| {segments} | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| server | The server of the segment. | Any Str | - -### apachedruid.segment.drop_skipped.count - -Number of segments that could not be dropped from any server. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| {segments} | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| description | The description of segment. | Any Str | -| tier | The name of segment tier. | Any Str | -| data_source | The data source of the segment. | Any Str | - -### apachedruid.segment.dropped.count - -Number of segments chosen to be dropped from the cluster due to being over-replicated. - -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| {segments} | Sum | Int | Delta | true | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| tier | The name of segment tier. | Any Str | -| data_source | The data source of the segment. | Any Str | - -### apachedruid.segment.load_queue.assigned - -Number of segments assigned for load or drop to the load queue of a server. - -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| {segments} | Sum | Int | Delta | true | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| server | The server of the segment. | Any Str | -| data_source | The data source of the segment. | Any Str | - -### apachedruid.segment.load_queue.cancelled - -Number of segment assignments that were canceled before completion. - -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| 1 | Sum | Int | Delta | true | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| server | The server of the segment. | Any Str | -| data_source | The data source of the segment. | Any Str | - -### apachedruid.segment.load_queue.count - -Number of segments to load. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| {segments} | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| server | The server of the segment. | Any Str | - -### apachedruid.segment.load_queue.failed - -Number of segment assignments that failed to complete. - -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| 1 | Sum | Int | Delta | true | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| server | The server of the segment. | Any Str | -| data_source | The data source of the segment. | Any Str | - -### apachedruid.segment.load_queue.size - -Size in bytes of segments to load. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| By | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| server | The server of the segment. | Any Str | - -### apachedruid.segment.load_queue.success - -Number of segment assignments that completed successfully. - -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| 1 | Sum | Int | Delta | true | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| server | The server of the segment. | Any Str | -| data_source | The data source of the segment. | Any Str | - -### apachedruid.segment.max - -Maximum byte limit available for segments. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| 1 | Gauge | Int | - -### apachedruid.segment.move_skipped.count - -Number of segments that were chosen for balancing but could not be moved. This can occur when segments are already optimally placed. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| {segments} | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| description | The description of segment. | Any Str | -| tier | The name of segment tier. | Any Str | -| data_source | The data source of the segment. | Any Str | - -### apachedruid.segment.moved.bytes - -Size in bytes of segments moved/archived via the Move Task. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| By | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| task_type | The task type of the segment. | Any Str | -| data_source | The data source of the segment. | Any Str | -| group_id | The group id of segment. | Any Str | -| tags | The tags of the segment. | Any Str | -| task_id | The task id of segment. | Any Str | -| interval | The interval of segment. | Any Str | - -### apachedruid.segment.moved.count - -Number of segments moved in the cluster. - -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| {segments} | Sum | Int | Delta | true | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| tier | The name of segment tier. | Any Str | -| data_source | The data source of the segment. | Any Str | - -### apachedruid.segment.nuked.bytes - -Size in bytes of segments deleted via the Kill Task. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| By | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| task_type | The task type of the segment. | Any Str | -| data_source | The data source of the segment. | Any Str | -| group_id | The group id of segment. | Any Str | -| tags | The tags of the segment. | Any Str | -| task_id | The task id of segment. | Any Str | -| interval | The interval of segment. | Any Str | - -### apachedruid.segment.over_shadowed.count - -Number of segments marked as unused due to being overshadowed. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| {segments} | Gauge | Int | - -### apachedruid.segment.pending_delete - -On-disk size in bytes of segments that are waiting to be cleared out. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| By | Gauge | Int | - -### apachedruid.segment.row_count.avg - -The average number of rows per segment on a historical. `SegmentStatsMonitor` must be enabled. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| {rows} | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| priority | The priority of segment. | Any Str | -| tier | The name of segment tier. | Any Str | -| data_source | The data source of the segment. | Any Str | - -### apachedruid.segment.row_count.range.count - -The number of segments in a bucket. `SegmentStatsMonitor` must be enabled. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| {segments} | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| priority | The priority of segment. | Any Str | -| tier | The name of segment tier. | Any Str | -| data_source | The data source of the segment. | Any Str | -| range | The range of segment. | Any Str | - -### apachedruid.segment.scan.active - -Number of segments currently scanned. This metric also indicates how many threads from `druid.processing.numThreads` are currently being used. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| {segments} | Gauge | Int | - -### apachedruid.segment.scan.pending - -Number of segments in queue waiting to be scanned. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| {segments} | Gauge | Int | - -### apachedruid.segment.size - -Total size of used segments in a data source. Emitted only for data sources to which at least one used segment belongs. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| 1 | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| data_source | The data source of the segment. | Any Str | - -### apachedruid.segment.skip_compact.bytes - -Total bytes of this datasource that are skipped (not eligible for auto compaction) by the auto compaction. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| By | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| data_source | The data source of the segment. | Any Str | - -### apachedruid.segment.skip_compact.count - -Total number of segments of this datasource that are skipped (not eligible for auto compaction) by the auto compaction. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| {segments} | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| data_source | The data source of the segment. | Any Str | - -### apachedruid.segment.unavailable.count - -Number of unique segments left to load until all used segments are available for queries. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| {segments} | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| data_source | The data source of the segment. | Any Str | - -### apachedruid.segment.under_replicated.count - -Number of segments, including replicas, left to load until all used segments are available for queries. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| {segments} | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| tier | The name of segment tier. | Any Str | -| data_source | The data source of the segment. | Any Str | - -### apachedruid.segment.unneeded.count - -Number of segments dropped due to being marked as unused. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| {segments} | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| tier | The name of segment tier. | Any Str | -| data_source | The data source of the segment. | Any Str | - -### apachedruid.segment.used - -Bytes used for served segments. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| By | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| priority | The priority of segment. | Any Str | -| tier | The name of segment tier. | Any Str | -| data_source | The data source of the segment. | Any Str | - -### apachedruid.segment.used_percent - -Percentage of space used by served segments. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| 1 | Gauge | Double | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| priority | The priority of segment. | Any Str | -| tier | The name of segment tier. | Any Str | -| data_source | The data source of the segment. | Any Str | - -### apachedruid.segment.wait_compact.bytes - -Total bytes of this datasource waiting to be compacted by the auto compaction (only consider intervals/segments that are eligible for auto compaction). - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| By | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| data_source | The data source of the segment. | Any Str | - -### apachedruid.segment.wait_compact.count - -Total number of segments of this datasource waiting to be compacted by the auto compaction (only consider intervals/segments that are eligible for auto compaction). - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| {segments} | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| data_source | The data source of the segment. | Any Str | - -### apachedruid.serverview.init.time - -Time taken to initialize the broker server view. Useful to detect if brokers are taking too long to start. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| ms | Gauge | Int | - -### apachedruid.serverview.sync.healthy - -Sync status of the Broker with a segment-loading server such as a Historical or Peon. Emitted only when [HTTP-based server view](https,//druid.apache.org/docs/latest/configuration#segment-management) is enabled. This metric can be used in conjunction with `serverview/sync/unstableTime` to debug slow startup of Brokers. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| 1 | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| tier | The name of the tier. | Any Str | -| server | The address of server. | Any Str | - -### apachedruid.serverview.sync.unstable_time - -Time in milliseconds for which the Broker has been failing to sync with a segment-loading server. Emitted only when [HTTP-based server view](https,//druid.apache.org/docs/latest/configuration#segment-management) is enabled. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| ms | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| tier | The name of the tier. | Any Str | -| server | The address of server. | Any Str | - -### apachedruid.sql_query.bytes - -Number of bytes returned in the SQL query response. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| By | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| data_source | The data source name of the query. | Any Str | -| native_query_ids | The native query ids of sql query. | Any Str | -| engine | The engine name of the sql query. | Any Str | -| remote_address | The remote address of sql query. | Any Str | -| id | The id of sql query. | Any Str | -| success | Whether sql query is successful. | Any Str | - -### apachedruid.sql_query.planning_time_ms - -Milliseconds taken to plan a SQL to native query. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| ms | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| data_source | The data source name of the query. | Any Str | -| native_query_ids | The native query ids of sql query. | Any Str | -| engine | The engine name of the sql query. | Any Str | -| remote_address | The remote address of sql query. | Any Str | -| id | The id of sql query. | Any Str | -| success | Whether sql query is successful. | Any Str | - -### apachedruid.sql_query.time - -Milliseconds taken to complete a SQL query. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| ms | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| data_source | The data source name of the query. | Any Str | -| native_query_ids | The native query ids of sql query. | Any Str | -| engine | The engine name of the sql query. | Any Str | -| remote_address | The remote address of sql query. | Any Str | -| id | The id of sql query. | Any Str | -| success | Whether sql query is successful. | Any Str | - -### apachedruid.subquery.byte_limit.count - -Number of subqueries whose results are materialized as frames (Druid's internal byte representation of rows). - -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| {subqueries} | Sum | Int | Delta | true | - -### apachedruid.subquery.fallback.count - -Number of subqueries which cannot be materialized as frames. - -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| {subqueries} | Sum | Int | Delta | true | - -### apachedruid.subquery.fallback.insufficient_type.count - -Number of subqueries which cannot be materialized as frames due to insufficient type information in the row signature. - -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| {subqueries} | Sum | Int | Delta | true | - -### apachedruid.subquery.fallback.unknown_reason.count - -Number of subqueries which cannot be materialized as frames due other reasons. - -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| {subqueries} | Sum | Int | Delta | true | - -### apachedruid.subquery.row_limit.count - -Number of subqueries whose results are materialized as rows (Java objects on heap). - -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| {subqueries} | Sum | Int | Delta | true | - -### apachedruid.sys.cpu - -CPU used. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| 1 | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| cpu_time | The group name of cpu time usage. | Any Str | -| cpu_name | The group name of cpu usage. | Any Str | - -### apachedruid.sys.disk.queue - -Disk queue length. Measures number of requests waiting to be processed by disk. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| 1 | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| disk_name | The name of disk. | Any Str | - -### apachedruid.sys.disk.read.count - -Reads from disk. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| 1 | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| disk_name | The name of disk. | Any Str | - -### apachedruid.sys.disk.read.size - -Bytes read from disk. One indicator of the amount of paging occurring for segments. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| By | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| disk_name | The name of disk. | Any Str | - -### apachedruid.sys.disk.transfer_time - -Transfer time to read from or write to disk. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| ms | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| disk_name | The name of disk. | Any Str | - -### apachedruid.sys.disk.write.count - -Writes to disk. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| 1 | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| disk_name | The name of disk. | Any Str | - -### apachedruid.sys.disk.write.size - -Bytes written to disk. One indicator of the amount of paging occurring for segments. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| By | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| disk_name | The name of disk. | Any Str | - -### apachedruid.sys.fs.files.count - -Filesystem total IO nodes. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| 1 | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| fs_dir_name | The dir name. | Any Str | -| fs_dev_name | The dev name. | Any Str | - -### apachedruid.sys.fs.files.free - -Filesystem free IO nodes. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| 1 | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| fs_dir_name | The dir name. | Any Str | -| fs_dev_name | The dev name. | Any Str | - -### apachedruid.sys.fs.max - -Filesystem bytes max. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| By | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| fs_dir_name | The dir name. | Any Str | -| fs_dev_name | The dev name. | Any Str | - -### apachedruid.sys.fs.used - -Filesystem bytes used. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| By | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| fs_dir_name | The dir name. | Any Str | -| fs_dev_name | The dev name. | Any Str | - -### apachedruid.sys.la.1 - -System CPU load averages over past `i` minutes, where `i={1,5,15}`. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| 1 | Gauge | Int | - -### apachedruid.sys.la.15 - -System CPU load averages over past `i` minutes, where `i={1,5,15}`. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| 1 | Gauge | Int | - -### apachedruid.sys.la.5 - -System CPU load averages over past `i` minutes, where `i={1,5,15}`. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| 1 | Gauge | Int | - -### apachedruid.sys.mem.free - -Memory free. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| By | Gauge | Int | - -### apachedruid.sys.mem.max - -Memory max. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| By | Gauge | Int | - -### apachedruid.sys.mem.used - -Memory used. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| By | Gauge | Int | - -### apachedruid.sys.net.read.dropped - -Total packets dropped coming from network. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| 1 | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| net_hwaddr | The net hardware address. | Any Str | -| net_name | The name of network. | Any Str | -| net_address | The net address. | Any Str | - -### apachedruid.sys.net.read.errors - -Total network read errors. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| 1 | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| net_hwaddr | The net hardware address. | Any Str | -| net_name | The name of network. | Any Str | -| net_address | The net address. | Any Str | - -### apachedruid.sys.net.read.packets - -Total packets read from the network. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| 1 | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| net_hwaddr | The net hardware address. | Any Str | -| net_name | The name of network. | Any Str | -| net_address | The net address. | Any Str | - -### apachedruid.sys.net.read.size - -Bytes read from the network. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| By | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| net_hwaddr | The net hardware address. | Any Str | -| net_name | The name of network. | Any Str | -| net_address | The net address. | Any Str | - -### apachedruid.sys.net.write.collisions - -Total network write collisions. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| 1 | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| net_hwaddr | The net hardware address. | Any Str | -| net_name | The name of network. | Any Str | -| net_address | The net address. | Any Str | - -### apachedruid.sys.net.write.errors - -Total network write errors. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| 1 | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| net_hwaddr | The net hardware address. | Any Str | -| net_name | The name of network. | Any Str | -| net_address | The net address. | Any Str | - -### apachedruid.sys.net.write.packets - -Total packets written to the network. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| 1 | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| net_hwaddr | The net hardware address. | Any Str | -| net_name | The name of network. | Any Str | -| net_address | The net address. | Any Str | - -### apachedruid.sys.net.write.size - -Bytes written to the network. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| By | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| net_hwaddr | The net hardware address. | Any Str | -| net_name | The name of network. | Any Str | -| net_address | The net address. | Any Str | - -### apachedruid.sys.storage.used - -Disk space used. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| 1 | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| fs_dir_name | The dir name. | Any Str | - -### apachedruid.sys.swap.free - -Free swap. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| By | Gauge | Int | - -### apachedruid.sys.swap.max - -Max swap. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| By | Gauge | Int | - -### apachedruid.sys.swap.page_in - -Paged in swap. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| 1 | Gauge | Int | - -### apachedruid.sys.swap.page_out - -Paged out swap. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| 1 | Gauge | Int | - -### apachedruid.sys.tcpv4.active_opens - -Total TCP active open connections. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| 1 | Gauge | Int | - -### apachedruid.sys.tcpv4.attempt_fails - -Total TCP active connection failures. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| 1 | Gauge | Int | - -### apachedruid.sys.tcpv4.estab_resets - -Total TCP connection resets. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| 1 | Gauge | Int | - -### apachedruid.sys.tcpv4.in.errs - -Errors while reading segments. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| 1 | Gauge | Int | - -### apachedruid.sys.tcpv4.in.segs - -Total segments received in connection. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| 1 | Gauge | Int | - -### apachedruid.sys.tcpv4.out.rsts - -Total `out reset` packets sent to reset the connection. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| 1 | Gauge | Int | - -### apachedruid.sys.tcpv4.out.segs - -Total segments sent. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| 1 | Gauge | Int | - -### apachedruid.sys.tcpv4.passive_opens - -Total TCP passive open connections. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| 1 | Gauge | Int | - -### apachedruid.sys.tcpv4.retrans.segs - -Total segments re-transmitted. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| 1 | Gauge | Int | - -### apachedruid.sys.uptime - -Total system uptime. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| s | Gauge | Int | - -### apachedruid.task.action.batch.attempts - -Number of execution attempts for a single batch of task actions. Currently only being emitted for [batched `segmentAllocate` actions](https,//druid.apache.org/docs/latest/ingestion/tasks#batching-segmentallocate-actions). - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| {attempts} | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| interval | The interval of task. | Any Str | -| data_source | The data source of the task. | Any Str | -| task_action_type | The action type of task. | Any Str | - -### apachedruid.task.action.batch.queue_time - -Milliseconds spent by a batch of task actions in queue. Currently only being emitted for [batched `segmentAllocate` actions](https,//druid.apache.org/docs/latest/ingestion/tasks#batching-segmentallocate-actions). - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| ms | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| interval | The interval of task. | Any Str | -| data_source | The data source of the task. | Any Str | -| task_action_type | The action type of task. | Any Str | - -### apachedruid.task.action.batch.run_time - -Milliseconds taken to execute a batch of task actions. Currently only being emitted for [batched `segmentAllocate` actions](https,//druid.apache.org/docs/latest/ingestion/tasks#batching-segmentallocate-actions). - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| ms | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| interval | The interval of task. | Any Str | -| data_source | The data source of the task. | Any Str | -| task_action_type | The action type of task. | Any Str | - -### apachedruid.task.action.batch.size - -Number of task actions in a batch that was executed during the emission period. Currently only being emitted for [batched `segmentAllocate` actions](https,//druid.apache.org/docs/latest/ingestion/tasks#batching-segmentallocate-actions). - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| {actions} | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| interval | The interval of task. | Any Str | -| data_source | The data source of the task. | Any Str | -| task_action_type | The action type of task. | Any Str | - -### apachedruid.task.action.failed.count - -Number of task actions that failed during the emission period. Currently only being emitted for [batched `segmentAllocate` actions](https,//druid.apache.org/docs/latest/ingestion/tasks#batching-segmentallocate-actions). - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| {actions} | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| task_type | The type of task. | Any Str | -| data_source | The data source of the task. | Any Str | -| task_action_type | The action type of task. | Any Str | -| group_id | The group id of the task. | Any Str | -| tags | The tags of task. | Any Str | -| task_id | The id of task. | Any Str | - -### apachedruid.task.action.log.time - -Milliseconds taken to log a task action to the audit log. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| ms | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| task_type | The type of task. | Any Str | -| data_source | The data source of the task. | Any Str | -| task_action_type | The action type of task. | Any Str | -| group_id | The group id of the task. | Any Str | -| tags | The tags of task. | Any Str | -| task_id | The id of task. | Any Str | - -### apachedruid.task.action.run.time - -Milliseconds taken to execute a task action. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| ms | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| task_type | The type of task. | Any Str | -| data_source | The data source of the task. | Any Str | -| task_action_type | The action type of task. | Any Str | -| group_id | The group id of the task. | Any Str | -| tags | The tags of task. | Any Str | -| task_id | The id of task. | Any Str | - -### apachedruid.task.action.success.count - -Number of task actions that were executed successfully during the emission period. Currently only being emitted for [batched `segmentAllocate` actions](https,//druid.apache.org/docs/latest/ingestion/tasks#batching-segmentallocate-actions). - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| {actions} | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| task_type | The type of task. | Any Str | -| data_source | The data source of the task. | Any Str | -| task_action_type | The action type of task. | Any Str | -| group_id | The group id of the task. | Any Str | -| tags | The tags of task. | Any Str | -| task_id | The id of task. | Any Str | - -### apachedruid.task.failed.count - -Number of failed tasks per emission period. This metric is only available if the `TaskCountStatsMonitor` module is included. - -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| {tasks} | Sum | Int | Delta | true | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| data_source | The data source of the task. | Any Str | - -### apachedruid.task.pending.count - -Number of current pending tasks. This metric is only available if the `TaskCountStatsMonitor` module is included. - -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| {tasks} | Sum | Int | Delta | true | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| data_source | The data source of the task. | Any Str | - -### apachedruid.task.pending.time - -Milliseconds taken for a task to wait for running. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| ms | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| task_type | The type of task. | Any Str | -| data_source | The data source of the task. | Any Str | -| group_id | The group id of the task. | Any Str | -| tags | The tags of task. | Any Str | -| task_id | The id of task. | Any Str | - -### apachedruid.task.run.time - -Milliseconds taken to run a task. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| ms | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| task_type | The type of task. | Any Str | -| data_source | The data source of the task. | Any Str | -| group_id | The group id of the task. | Any Str | -| task_status | The status of the task. | Any Str | -| tags | The tags of task. | Any Str | -| task_id | The id of task. | Any Str | - -### apachedruid.task.running.count - -Number of current running tasks. This metric is only available if the `TaskCountStatsMonitor` module is included. - -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| {tasks} | Sum | Int | Delta | true | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| data_source | The data source of the task. | Any Str | - -### apachedruid.task.segment_availability.wait.time - -The amount of milliseconds a batch indexing task waited for newly created segments to become available for querying. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| ms | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| task_type | The type of task. | Any Str | -| data_source | The data source of the task. | Any Str | -| group_id | The group id of the task. | Any Str | -| segment_availability_confirmed | Whether segment availability is confirmed. | Any Str | -| tags | The tags of task. | Any Str | -| task_id | The id of task. | Any Str | - -### apachedruid.task.success.count - -Number of successful tasks per emission period. This metric is only available if the `TaskCountStatsMonitor` module is included. - -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| {tasks} | Sum | Int | Delta | true | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| data_source | The data source of the task. | Any Str | - -### apachedruid.task.waiting.count - -Number of current waiting tasks. This metric is only available if the `TaskCountStatsMonitor` module is included. - -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| {tasks} | Sum | Int | Delta | true | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| data_source | The data source of the task. | Any Str | - -### apachedruid.task_slot.blacklisted.count - -Number of total task slots in blacklisted Middle Managers and Indexers per emission period. This metric is only available if the `TaskSlotCountStatsMonitor` module is included. - -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| {slots} | Sum | Int | Delta | true | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| category | The category of task slot. | Any Str | - -### apachedruid.task_slot.idle.count - -Number of idle task slots per emission period. This metric is only available if the `TaskSlotCountStatsMonitor` module is included. - -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| {slots} | Sum | Int | Delta | true | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| category | The category of task slot. | Any Str | - -### apachedruid.task_slot.lazy.count - -Number of total task slots in lazy marked Middle Managers and Indexers per emission period. This metric is only available if the `TaskSlotCountStatsMonitor` module is included. - -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| {slots} | Sum | Int | Delta | true | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| category | The category of task slot. | Any Str | - -### apachedruid.task_slot.total.count - -Number of total task slots per emission period. This metric is only available if the `TaskSlotCountStatsMonitor` module is included. - -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| {slots} | Sum | Int | Delta | true | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| category | The category of task slot. | Any Str | - -### apachedruid.task_slot.used.count - -Number of busy task slots per emission period. This metric is only available if the `TaskSlotCountStatsMonitor` module is included. - -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| {slots} | Sum | Int | Delta | true | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| category | The category of task slot. | Any Str | - -### apachedruid.tier.historical.count - -Number of available historical nodes in each tier. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| 1 | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| tier | The name of tier. | Any Str | - -### apachedruid.tier.replication.factor - -Configured maximum replication factor in each tier. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| 1 | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| tier | The name of tier. | Any Str | - -### apachedruid.tier.required.capacity - -Total capacity in bytes required in each tier. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| By | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| tier | The name of tier. | Any Str | - -### apachedruid.tier.total.capacity - -Total capacity in bytes available in each tier. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| By | Gauge | Int | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| tier | The name of tier. | Any Str | - -### apachedruid.worker.task.failed.count - -Number of failed tasks run on the reporting worker per emission period. This metric is only available if the `WorkerTaskCountStatsMonitor` module is included, and is only supported for Middle Manager nodes. - -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| {tasks} | Sum | Int | Delta | true | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| category | The category of worker. | Any Str | -| worker_version | The verson of worker. | Any Str | - -### apachedruid.worker.task.success.count - -Number of successful tasks run on the reporting worker per emission period. This metric is only available if the `WorkerTaskCountStatsMonitor` module is included, and is only supported for Middle Manager nodes. - -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| {tasks} | Sum | Int | Delta | true | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| category | The category of worker. | Any Str | -| worker_version | The verson of worker. | Any Str | - -### apachedruid.worker.task_slot.idle.count - -Number of idle task slots on the reporting worker per emission period. This metric is only available if the `WorkerTaskCountStatsMonitor` module is included, and is only supported for Middle Manager nodes. - -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| {slots} | Sum | Int | Delta | true | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| category | The category of worker. | Any Str | -| worker_version | The verson of worker. | Any Str | - -### apachedruid.worker.task_slot.total.count - -Number of total task slots on the reporting worker per emission period. This metric is only available if the `WorkerTaskCountStatsMonitor` module is included. - -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| {slots} | Sum | Int | Delta | true | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| category | The category of worker. | Any Str | -| worker_version | The verson of worker. | Any Str | - -### apachedruid.worker.task_slot.used.count - -Number of busy task slots on the reporting worker per emission period. This metric is only available if the `WorkerTaskCountStatsMonitor` module is included. - -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| {slots} | Sum | Int | Delta | true | - -#### Attributes - -| Name | Description | Values | -| ---- | ----------- | ------ | -| category | The category of worker. | Any Str | -| worker_version | The verson of worker. | Any Str | - -### apachedruid.zk.connected - -Indicator of connection status. `1` for connected, `0` for disconnected. Emitted once per monitor period. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| 1 | Gauge | Int | - -### apachedruid.zk.reconnect.time - -Amount of time, in milliseconds, that a server was disconnected from ZooKeeper before reconnecting. Emitted on reconnection. Not emitted if connection to ZooKeeper is permanently lost, because in this case, there is no reconnection. - -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| ms | Gauge | Int | - -## Resource Attributes - -| Name | Description | Values | Enabled | -| ---- | ----------- | ------ | ------- | -| apachedruid.cluster.name | The name of the apachedruid cluster. | Any Str | true | -| apachedruid.node.host | The name of the apachedruid node. | Any Str | true | -| apachedruid.node.service | The service name of the apachedruid node. | Any Str | true |