- All Superinterfaces:
Wrapper
Behavior of a tag for further identifying meters.
-
Method Summary
-
Method Details
-
create
Creates a new tag using the specified key and value.For new code, prefer
MetricsFactory.tagCreate(String, String)on theMetricsFactoryinstance used by the application.- Parameters:
key- the tag's keyvalue- the tag's value- Returns:
- new
Tagrepresenting the key and value
-
key
String key()Returns the tag's key.- Returns:
- the tag's key
-
value
String value()Returns the tag's value.- Returns:
- the tag's value
-