Skip to content

Commit 4d6ff49

Browse files
Ducius6jzheaux
authored andcommitted
Removed dash from micrometer metric label
Closes gh-13660
1 parent 5dce82c commit 4d6ff49

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

web/src/main/java/org/springframework/security/web/ObservationFilterChainDecorator.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,8 @@ static final class ObservationFilter implements Filter {
144144
private static final Map<String, String> OBSERVATION_NAMES = new HashMap<>();
145145

146146
static {
147-
OBSERVATION_NAMES.put("DisableEncodeUrlFilter", "session.url-encoding");
148-
OBSERVATION_NAMES.put("ForceEagerSessionCreationFilter", "session.eager-create");
147+
OBSERVATION_NAMES.put("DisableEncodeUrlFilter", "session.urlencoding");
148+
OBSERVATION_NAMES.put("ForceEagerSessionCreationFilter", "session.eagercreate");
149149
OBSERVATION_NAMES.put("ChannelProcessingFilter", "access.channel");
150150
OBSERVATION_NAMES.put("WebAsyncManagerIntegrationFilter", "context.async");
151151
OBSERVATION_NAMES.put("SecurityContextHolderFilter", "context.holder");

0 commit comments

Comments
 (0)