|
| | Metric () |
| |
| | Metric (@JsonProperty("metric") String metric, @JsonProperty("tags") Map< Object, Object > tags, @JsonProperty("aggregateTags") List< String > aggregateTags, @JsonProperty("dps") Map< String, Long > dps) |
| |
| String | getMetric () |
| |
| void | setMetric (String metric) |
| |
| Map< Object, Object > | getTags () |
| |
| void | setTags (Map< Object, Object > tags) |
| |
| List< String > | getAggregateTags () |
| |
| void | setAggregateTags (List< String > aggregateTags) |
| |
| Map< String, Long > | getDps () |
| |
| void | setDps (Map< String, Long > dps) |
| |
| boolean | equals (Object object) |
| |
| int | hashCode () |
| |
| String | toString () |
| |
Represents OpenTSDB metric.
Definition at line 33 of file Metric.java.
◆ Metric() [1/2]
| org.openkilda.messaging.model.Metric.Metric |
( |
| ) |
|
◆ Metric() [2/2]
| org.openkilda.messaging.model.Metric.Metric |
( |
@JsonProperty("metric") String |
metric, |
|
|
@JsonProperty("tags") Map< Object, Object > |
tags, |
|
|
@JsonProperty("aggregateTags") List< String > |
aggregateTags, |
|
|
@JsonProperty("dps") Map< String, Long > |
dps |
|
) |
| |
Instance constructor.
- Parameters
-
| metric | metric name |
| tags | metric tags |
| aggregateTags | metric aggregated tags |
| dps | metric data points |
Definition at line 78 of file Metric.java.
◆ equals()
| boolean org.openkilda.messaging.model.Metric.equals |
( |
Object |
object | ) |
|
◆ getAggregateTags()
| List<String> org.openkilda.messaging.model.Metric.getAggregateTags |
( |
| ) |
|
Gets metric aggregated tags.
- Returns
- metric aggregated tags
Definition at line 129 of file Metric.java.
◆ getDps()
| Map<String, Long> org.openkilda.messaging.model.Metric.getDps |
( |
| ) |
|
Gets metric data points.
- Returns
- metric data points
Definition at line 147 of file Metric.java.
◆ getMetric()
| String org.openkilda.messaging.model.Metric.getMetric |
( |
| ) |
|
Gets metric name.
- Returns
- metric name
Definition at line 93 of file Metric.java.
◆ getTags()
| Map<Object, Object> org.openkilda.messaging.model.Metric.getTags |
( |
| ) |
|
Gets metric tags.
- Returns
- metric tags
Definition at line 111 of file Metric.java.
◆ hashCode()
| int org.openkilda.messaging.model.Metric.hashCode |
( |
| ) |
|
◆ setAggregateTags()
| void org.openkilda.messaging.model.Metric.setAggregateTags |
( |
List< String > |
aggregateTags | ) |
|
Sets metric aggregated tags.
- Parameters
-
| aggregateTags | metric aggregated tags |
Definition at line 138 of file Metric.java.
◆ setDps()
| void org.openkilda.messaging.model.Metric.setDps |
( |
Map< String, Long > |
dps | ) |
|
Sets metric data points.
- Parameters
-
Definition at line 156 of file Metric.java.
◆ setMetric()
| void org.openkilda.messaging.model.Metric.setMetric |
( |
String |
metric | ) |
|
Sets metric name.
- Parameters
-
Definition at line 102 of file Metric.java.
◆ setTags()
| void org.openkilda.messaging.model.Metric.setTags |
( |
Map< Object, Object > |
tags | ) |
|
Sets metric tags.
- Parameters
-
Definition at line 120 of file Metric.java.
◆ toString()
| String org.openkilda.messaging.model.Metric.toString |
( |
| ) |
|
The documentation for this class was generated from the following file:
- /Users/kevin/Desktop/Kilda/open-kilda-develop/services/src/messaging/src/main/java/org/openkilda/messaging/model/Metric.java