druid/extensions-contrib
Gian Merlino c44452f0c1 Tidy up lifecycle, query, and ingestion logging. (#8889)
* Tidy up lifecycle, query, and ingestion logging.

The goal of this patch is to improve the clarity and usefulness of
Druid's logging for cluster operators. For more information, see
https://twitter.com/cowtowncoder/status/1195469299814555648.

Concretely, this patch does the following:

- Changes a lot of INFO logs to DEBUG, and DEBUG to TRACE, with the
  goal of reducing redundancy and improving clarity by avoiding
  showing rarely-useful log messages. This includes most "starting"
  and "stopping" messages, and most messages related to individual
  columns.
- Adds new log4j2 templates that show operators how to enabled DEBUG
  logging for certain important packages.
- Eliminate stack traces for query errors, unless log level is DEBUG
  or more. This is useful because query errors often indicate user
  error rather than system error, but dumping stack trace often gave
  operators the impression that there was a system failure.
- Adds task id to Appenderator, AppenderatorDriver thread names. In
  the default log4j2 configuration, this will put them in log lines
  as well. It's very useful if a user is using the Indexer, where
  multiple tasks run in the same JVM.
- More consistent terminology when it comes to "sequences" (sets of
  segments that are handed-off together by Kafka ingestion) and
  "offsets" (cursors in partitions). These terms had been confused in
  some log messages due to the fact that Kinesis calls offsets
  "sequence numbers".
- Replaces some ugly toString calls with either the JSONification or
  something more operator-accessible (like a URL or segment identifier,
  instead of JSON object representing the same).

* Adjustments.

* Adjust integration test.
2019-11-19 13:57:58 -08:00
..
ambari-metrics-emitter Fix dependency analyze warnings (#8230) 2019-09-09 14:37:21 -07:00
azure-extensions Fix dependency analyze warnings (#8230) 2019-09-09 14:37:21 -07:00
cassandra-storage Remove commons-httpclient (#8407) 2019-09-27 02:14:58 -07:00
cloudfiles-extensions Tidy up lifecycle, query, and ingestion logging. (#8889) 2019-11-19 13:57:58 -08:00
distinctcount Fix dependency analyze warnings (#8230) 2019-09-09 14:37:21 -07:00
dropwizard-emitter Fix jackson property name for dropwizardemitterconfig (#8691) 2019-10-22 14:40:19 -07:00
graphite-emitter Implementing dropwizard emitter for druid (#7363) 2019-10-01 14:59:30 -07:00
influx-extensions Fix dependency analyze warnings (#8230) 2019-09-09 14:37:21 -07:00
influxdb-emitter Fix dependency analyze warnings (#8230) 2019-09-09 14:37:21 -07:00
kafka-emitter Fix dependency analyze warnings (#8230) 2019-09-09 14:37:21 -07:00
materialized-view-maintenance Fix ambiguity about IndexerSQLMetadataStorageCoordinator.getUsedSegmentsForInterval() returning only non-overshadowed or all used segments (#8564) 2019-11-06 11:07:04 -08:00
materialized-view-selection parallel broker merges on fork join pool (#8578) 2019-11-07 11:58:46 -08:00
momentsketch Fix dependency analyze warnings (#8230) 2019-09-09 14:37:21 -07:00
moving-average-query parallel broker merges on fork join pool (#8578) 2019-11-07 11:58:46 -08:00
opentsdb-emitter Fix dependency analyze warnings (#8230) 2019-09-09 14:37:21 -07:00
redis-cache Fix dependency analyze warnings (#8230) 2019-09-09 14:37:21 -07:00
sqlserver-metadata-storage Fix dependency analyze warnings (#8230) 2019-09-09 14:37:21 -07:00
statsd-emitter Fix statsd types (#8628) 2019-10-06 14:14:09 -07:00
tdigestsketch Fix ambiguity about IndexerSQLMetadataStorageCoordinator.getUsedSegmentsForInterval() returning only non-overshadowed or all used segments (#8564) 2019-11-06 11:07:04 -08:00
thrift-extensions Bump Apache Thrift to 0.10.0 (#8419) 2019-11-05 15:38:50 -08:00
time-min-max remove select query (#8739) 2019-10-30 19:29:56 -07:00
virtual-columns remove select query (#8739) 2019-10-30 19:29:56 -07:00
README.md add missing license headers, in particular to MD files; clean up RAT … (#6563) 2018-11-13 09:38:37 -08:00

README.md

Community Extensions

Please contribute all community extensions in this directory and include a doc of how your extension can be used under /docs/content/development/extensions-contrib/.

Please note that community extensions are maintained by their original contributors and are not packaged with the core Druid distribution. If you'd like to take on maintenance for a community extension, please post on dev@druid.apache.org to let us know!