Created
April 25, 2016 23:28
-
-
Save gianm/50817f42f27de5e6cdc50fe44539d0fb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dataSources: | |
- spec: | |
dataSchema: | |
dataSource: metrics | |
parser: | |
type: string | |
parseSpec: | |
format: json | |
timestampSpec: | |
column: timestamp | |
format: auto | |
dimensionsSpec: | |
dimensions: [] | |
metricsSpec: | |
- { type: count, name: count } | |
- { type: doubleSum, name: sum, fieldName: value } | |
- { type: doubleMin, name: min, fieldName: value } | |
- { type: doubleMax, name: max, fieldName: value } | |
- { type: approxHistogram, name: histogram, fieldName: value, resolution: 50 } | |
granularitySpec: | |
type: uniform | |
segmentGranularity: hour | |
queryGranularity: none | |
tuningConfig: | |
type: realtime | |
windowPeriod: PT10M | |
buildV9Directly: true | |
properties: | |
topicPattern: metrics | |
properties: | |
zookeeper.connect: 'zk.example.com' | |
kafka.zookeeper.connect: 'zk.example.com/kafka' | |
kafka.group.id: 'metrics-druid' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment