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

Kairosdb ttl support #2252

Merged
merged 5 commits into from
Apr 18, 2017
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions src/collectd.conf.in
Original file line number Diff line number Diff line change
Expand Up @@ -1547,6 +1547,7 @@
# SSLVersion "TLSv1"
# Format "Command"
# Attribute "key" "value" # only available for KAIROSDB format
# TTL 0 # data ttl, only available for KAIRODB format
# Metrics true
# Notifications false
# StoreRates false
Expand Down
8 changes: 8 additions & 0 deletions src/collectd.conf.pod
Original file line number Diff line number Diff line change
Expand Up @@ -8778,6 +8778,14 @@ each metric being sent out.

You can add multiple B<Attribute>.

=item B<TTL> I<Int>

Only available for KAIROSDB output format.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the KAIROSDB output format

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please fix this one too, then I'll merge.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No you didn't. you fixed the comment after "Attribute", but not after "TTL"

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just saw my mistake, my bad :)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no problem :)


Sets the Cassandra ttl for the data points.

Please refer to L<http://kairosdb.github.io/docs/build/html/restapi/AddDataPoints.html?highlight=ttl>

=item B<Metrics> B<true>|B<false>

Controls whether I<metrics> are POSTed to this location. Defaults to B<true>.
Expand Down