You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit b832ea3
Browse filesBrowse the repository at this point in the historyBrowse files
Names are trimmed, then must match ^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$.
Anything else is unspecified and never rewritten.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: .agents/skills/exceptionless-java/SKILL.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,8 +34,8 @@ Always recommend importing `com.exceptionless:exceptionless-bom` to align versio
34
34
appender to `log4j2.xml`; without `apiKey` it uses the starter's client.
35
35
- Deployment environment: `config.environment("production")` is the default, `builder.setEnvironment("staging")`
36
36
overrides it per event. Sent as the root `environment` property, separate from `data.@environment`.
37
-
Names are trimmed (casing kept); empty, over 64 characters or with control characters are
38
-
unspecified. An invalid non-null per-event name (e.g. `" "`) sends the event without an environment
37
+
Names are trimmed (casing kept), then must match `^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$`; anything
38
+
else (`Staging West`, `prod/eu`, `produção`, empty, over 64 characters) is unspecified and never rewritten. An invalid non-null per-event name (e.g. `" "`) sends the event without an environment
39
39
instead of the default; `setEnvironment(null)` is no override and clears an earlier call, so the default applies. Code beats `EXCEPTIONLESS_ENVIRONMENT`, `exceptionless.environment` and
40
40
`exceptionless.properties`; the Spring starter's only active profile is the last fallback.
41
41
-`serverUrl(...)` also sets the config and heartbeat URLs; override those after it.
Copy file name to clipboardExpand all lines: README.md
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -208,10 +208,11 @@ property or the `EXCEPTIONLESS_ENVIRONMENT` environment variable (or `exceptionl
208
208
Spring Boot). A value set in code takes precedence; external configuration applies only when code has
209
209
not set one. The Spring Boot starter uses the active profile only when no environment is configured
210
210
and exactly one profile is active; a configured empty or invalid value leaves events unspecified
211
-
instead. Names are trimmed and limited to 64 characters, preserving the supplied casing. The server
211
+
instead. Names are trimmed, then must match `^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$`: ASCII letters, digits,
212
+
`.`, `_` and `-`, starting with a letter or digit, at most 64 characters. Casing is preserved and
213
+
names are never rewritten, so `Staging West`, `prod/eu` or `produção` are invalid. The server
212
214
filters case-insensitively and normalizes aggregation keys. Missing or invalid names remain
213
-
unspecified, and an invalid per-event name (non-null but empty, too long or with control characters)
214
-
does not fall back to the configured default; pass `null` to `setEnvironment` to use the default. The
215
+
unspecified, and an invalid non-null per-event name does not fall back to the configured default; pass `null` to `setEnvironment` to use the default. The
215
216
top-level event `environment` is separate from machine diagnostics in `data.@environment`; stacks and
216
217
fixed versions remain shared across environments. Older self hosted servers ignore the property, so
0 commit comments