Skip to content

Commit

Permalink
Update news with API incompatible changes.
Browse files Browse the repository at this point in the history
And add a method overload to keep the number of API breakages down to 2!
  • Loading branch information
tsuna committed May 5, 2014
1 parent 6fcf960 commit 105e80e
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 3 deletions.
12 changes: 9 additions & 3 deletions NEWS
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
OpenTSDB - User visible changes.

* Version 2.0.0 (2014-05-5)
* Version 2.0.0 (2014-05-5) [???????]

API incompatible changes:
- The `TSDB' class now takes a `Config' object in argument instead of an
HBaseClient and two strings.
- The downsampling interval for the method `Query.downsample' went from
being an `int' to a `long'.

Noteworthy changes:
- Configuration can be provided in a properties file
Expand Down Expand Up @@ -44,13 +50,13 @@ Noteworthy changes:
- New Debian package compilable from the source
- New RPM package compilable from the source


* Version 1.1.1 (2013-??-??) [???????]

Noteworthy changes:
- UIDs are now assigned in a lock-less fashion.




* Version 1.1.0 (2013-03-08) [12879d7]

Noteworthy changes:
Expand Down
11 changes: 11 additions & 0 deletions src/stats/StatsCollector.java
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,17 @@ public final void addExtraTag(final String name, final String value) {
* This uses {@link InetAddress#getLocalHost} to find the hostname of the
* current host. If the hostname cannot be looked up, {@code (unknown)}
* is used instead.
*/
public final void addHostTag() {
addHostTag(false);
}

/**
* Adds a {@code host=hostname} or {@code fqdn=full.host.name} tag.
* <p>
* This uses {@link InetAddress#getLocalHost} to find the hostname of the
* current host. If the hostname cannot be looked up, {@code (unknown)}
* is used instead.
* @param canonical Whether or not we should try to get the FQDN of the host.
* If set to true, the tag changes to "fqdn" instead of "host"
*/
Expand Down

0 comments on commit 105e80e

Please sign in to comment.