-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
composing emitter module to use multiple emitters together #1699
Conversation
fccbb5d
to
6e59fe0
Compare
@himanshug can we get this mergeable? |
@fjy this needs 0.3.2 release in metamx/emitter . |
@himanshug I just released emitter 0.3.2, should be on maven central in about 20min |
@xvrl thanks. |
6e59fe0
to
4819d72
Compare
4819d72
to
ebdb612
Compare
@drcrallen thanks for re-build. |
@@ -125,7 +125,7 @@ The Druid servers emit various metrics and alerts via something we call an Emitt | |||
|
|||
|Property|Description|Default| | |||
|--------|-----------|-------| | |||
|`druid.emitter`|Setting this value to "noop", "logging", or "http" will instantialize one of the emitter modules.|noop| | |||
|`druid.emitter`|Setting this value to "noop", "logging", or "http" will instantialize one of the emitter modules. value "composing" can be used to instantialize multiple emitter modules. |noop| |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instantiate? Initialize?
Instantialize is not a word :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
well... I also thought it was weird. Since the word "instantialize" was already used in the documentation (look at the deleted line), [being a non-native English speaker] I doubted myself and thought may be it was the correct word to use in this situation. :)
will send another PR to fix it.
👍 |
composing emitter module to use multiple emitters together
Caution: this can only be merged after metamx/emitter#11 is merged and emiter version 0.3.2 is released.
This allows you to have multiple emitters configured at the same time. This can be useful if you want to have multiple potential landing points for your emitter messages.
For example we use this for sending druid metrics to another druid cluster via a "http" emitter and to a hosted monitoring system via another custom emitter..