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

Add DefaultNode #511

Merged
merged 1 commit into from
May 5, 2016
Merged

Add DefaultNode #511

merged 1 commit into from
May 5, 2016

Conversation

nathanielc
Copy link
Contributor

@nathanielc nathanielc commented May 5, 2016

Fixes #432

The DefaultNode can be used to set default values for fields and tags:

stream
    |from()
       .measurement('cpu')
    |default()
        .field('usage_idle', 100.0)
        .tag('cpu', 'cpu-total')
    |alert()
       ....

@nathanielc nathanielc merged commit 93e2637 into master May 5, 2016
@nathanielc nathanielc deleted the nc-default-node branch May 5, 2016 03:10
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.

1 participant