Skip to content

Repository files navigation

OpenTelemetry Extensions

The OpenTelemetry extensions provides the ability to read metrics in OTLP format

Installation and configuration

To install the extension:

  1. Extract and copy druid-opentelemetry-metrics-extensions into your Druid extensions directory.

  2. Edit conf/_common/common.runtime.properties to add "druid-opentelemetry-metrics-extensions" to druid.extensions.loadList parameter. It should look like:

    druid.extensions.loadList=[..., "druid-opentelemetry-metrics-extensions"]
    

    There typically will be a few other extensions there too.

  3. Restart your Druid cluster.

Data source configuration

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"
  }
  .
  .
  .
}

Supported Types

Metric Types:

  • SUM
  • GAUGE

Data Types:

  • INT_VALUE:
  • BOOL_VALUE:
  • DOUBLE_VALUE:
  • STRING_VALUE:

About

OpenTelemetry Proto Metrics Reader Extension

Resources

Stars

Watchers

Forks

Releases

Contributors

Languages