Skip to content

Commit aa15263

Browse files
authored
Merge pull request #31 from irabinovitch/patch-1
Minor corrections on capitalization of Datadog
2 parents 549b810 + 158a2f9 commit aa15263

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ java-dogstatsd-client
33

44
A statsd client library implemented in Java. Allows for Java applications to easily communicate with statsd.
55

6-
This version is forked from the upstream [java-statsd-client](https://github.com/youdevise/java-statsd-client) project, adding support for [DataDog](http://datadoghq.com/) extensions for use with [dogstatsd](http://docs.datadoghq.com/guides/dogstatsd/).
6+
This version is forked from the upstream [java-statsd-client](https://github.com/youdevise/java-statsd-client) project, adding support for [Datadog](http://datadoghq.com/) extensions for use with [dogstatsd](http://docs.datadoghq.com/guides/dogstatsd/).
77

88
This version also adds support for empty or null prefixes, to allow a client to send arbitrary statistic names.
99

@@ -32,19 +32,19 @@ public class Foo {
3232
"statsd-host", /* common case: localhost */
3333
8125, /* port */
3434
10000, /* Maximum queue size before blocking, so that we prevent OOM */
35-
new String[] {"tag:value"} /* DataDog extension: Constant tags, always applied */
35+
new String[] {"tag:value"} /* Datadog extension: Constant tags, always applied */
3636
);
3737

3838
public static final void main(String[] args) {
3939
statsd.incrementCounter("foo");
4040
statsd.recordGaugeValue("bar", 100);
41-
statsd.recordGaugeValue("baz", 0.01); /* DataDog extension: support for floating-point gauges */
42-
statsd.recordHistogram("qux", 15) /* DataDog extension: histograms */
41+
statsd.recordGaugeValue("baz", 0.01); /* Datadog extension: support for floating-point gauges */
42+
statsd.recordHistogram("qux", 15) /* Datadog extension: histograms */
4343
statsd.recordHistogram("qux", 15.5) /* ...also floating-point */
4444

4545
/* expects times in milliseconds
4646
*/
47-
statsd.recordExecutionTime("bag", 25, "cluster:foo"); /* DataDog extension: cluster tag */
47+
statsd.recordExecutionTime("bag", 25, "cluster:foo"); /* Datadog extension: cluster tag */
4848
}
4949
}
5050
```

0 commit comments

Comments
 (0)