Skip to content
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

Merged
merged 1 commit into from
Sep 10, 2015

Conversation

himanshug
Copy link
Contributor

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

@fjy
Copy link
Contributor

fjy commented Sep 9, 2015

@himanshug can we get this mergeable?

@himanshug
Copy link
Contributor Author

@fjy this needs 0.3.2 release in metamx/emitter .

@xvrl
Copy link
Member

xvrl commented Sep 9, 2015

@himanshug I just released emitter 0.3.2, should be on maven central in about 20min

@himanshug
Copy link
Contributor Author

@xvrl thanks.

@himanshug
Copy link
Contributor Author

@drcrallen thanks for re-build.
@fjy PR is mergeable now.

@@ -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|
Copy link
Contributor

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 :)

Copy link
Contributor Author

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.

@gianm
Copy link
Contributor

gianm commented Sep 10, 2015

👍

drcrallen added a commit that referenced this pull request Sep 10, 2015
composing emitter module to use multiple emitters together
@drcrallen drcrallen merged commit 7c5d2fa into apache:master Sep 10, 2015
@himanshug himanshug deleted the composing_emitter branch September 22, 2015 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants