Skip to content

Commit

Permalink
Add Javadoc since for Observation.Context.remove*()
Browse files Browse the repository at this point in the history
  • Loading branch information
izeye committed Nov 14, 2022
1 parent dad0e30 commit f6bd037
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -948,6 +948,7 @@ public Context addHighCardinalityKeyValue(KeyValue keyValue) {
* {@link ObservationConvention#getLowCardinalityKeyValues(Context)} method.
* @param keyName name of the key
* @return this context
* @since 1.10.1
*/
public Context removeLowCardinalityKeyValue(String keyName) {
this.lowCardinalityKeyValues.remove(keyName);
Expand All @@ -960,6 +961,7 @@ public Context removeLowCardinalityKeyValue(String keyName) {
* {@link ObservationConvention#getHighCardinalityKeyValues(Context)} method.
* @param keyName name of the key
* @return this context
* @since 1.10.1
*/
public Context removeHighCardinalityKeyValue(String keyName) {
this.highCardinalityKeyValues.remove(keyName);
Expand Down Expand Up @@ -990,6 +992,7 @@ public Context addHighCardinalityKeyValues(KeyValues keyValues) {
* Removes multiple low cardinality key values at once.
* @param keyNames collection of key names
* @return this context
* @since 1.10.1
*/
public Context removeLowCardinalityKeyValues(String... keyNames) {
Arrays.stream(keyNames).forEach(this::removeLowCardinalityKeyValue);
Expand All @@ -1000,6 +1003,7 @@ public Context removeLowCardinalityKeyValues(String... keyNames) {
* Removes multiple high cardinality key values at once.
* @param keyNames collection of key names
* @return this context
* @since 1.10.1
*/
public Context removeHighCardinalityKeyValues(String... keyNames) {
Arrays.stream(keyNames).forEach(this::removeHighCardinalityKeyValue);
Expand Down

0 comments on commit f6bd037

Please sign in to comment.