To use this Apache Druid (incubating) extension, make sure to include
All the configuration parameters for the opentsdb emitter are under
|The host of the OpenTSDB server.||yes||none|
|The port of the OpenTSDB server.||yes||none|
|Queue flushing threshold.(Events will be sent as one batch)||no||100|
|Maximum size of the queue used to buffer events.||no||1000|
|Queue consuming delay(in milliseconds). Actually, we use ||no||10000|
|JSON file defining the desired metrics and dimensions for every Druid metric||no||./src/main/resources/defaultMetrics.json|
Druid to OpenTSDB Event Converter
The opentsdb emitter will send only the desired metrics and dimensions which is defined in a JSON file.
If the user does not specify their own JSON file, a default file is used. All metrics are expected to be configured in the JSON file. Metrics which are not configured will be logged.
Desired metrics and dimensions is organized using the following schema:
<druid metric name> : [ <dimension list> ]
"query/time": [ "dataSource", "type" ]
For most use-cases, the default configuration is sufficient.