Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Javadoc since for Observation.Context.remove*() #3536

Merged
merged 1 commit into from Nov 14, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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