public interface Metrics extends AutoCloseable
Modifier and Type | Method and Description |
---|---|
void |
gauge(String name,
long value,
String hostname,
Map<String,Set<String>> tags)
Sends a metric to the Datadog API, including the gauge name, and value.
|
close
void gauge(String name, long value, String hostname, Map<String,Set<String>> tags)
name
- - A String with the name of the metric to record.value
- - A long containing the value to submit.hostname
- - A String with the hostname to submit.tags
- - A Map containing the tags to submit.Copyright © 2016–2024. All rights reserved.