Skip to content

Commit

Permalink
Change thread name from low to high cardinality
Browse files Browse the repository at this point in the history
With virtual threads there will be millions of thread names so this must be a high cardinality key
  • Loading branch information
cfredri4 authored Jul 2, 2024
1 parent f15b85b commit f7084ee
Showing 1 changed file with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,16 +89,6 @@ enum LowCardinalityKeys implements KeyName {
public String asString() {
return "r2dbc.connection";
}
},

/**
* Name of the R2DBC thread.
*/
THREAD {
@Override
public String asString() {
return "r2dbc.thread";
}
}

}
Expand All @@ -123,6 +113,16 @@ public String asString() {
public String asString() {
return "r2dbc.params[%s]";
}
},

/**
* Name of the R2DBC thread.
*/
THREAD {
@Override
public String asString() {
return "r2dbc.thread";
}
}

}
Expand Down

0 comments on commit f7084ee

Please sign in to comment.