The OpenTelemetry extensions provides the ability to read metrics in OTLP format
To install the extension:
-
Extract and copy
druid-opentelemetry-metrics-extensionsinto your Druidextensionsdirectory. -
Edit
conf/_common/common.runtime.propertiesto add"druid-opentelemetry-metrics-extensions"todruid.extensions.loadListparameter. It should look like:druid.extensions.loadList=[..., "druid-opentelemetry-metrics-extensions"]There typically will be a few other extensions there too.
-
Restart your Druid cluster.
After enabling the extension in common.runtime.properties you can submit a new Supervisor config with
source input format as:
"ioConfig": {
"topic": "topic_name",
"inputFormat": {
"type": "opentelemetry-metrics-protobuf",
"metricDimension": "name"
}
.
.
.
}
- SUM
- GAUGE
- INT_VALUE:
- BOOL_VALUE:
- DOUBLE_VALUE:
- STRING_VALUE: