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
Faster joins: use servers list approximation received during `send_join` (potentially updated with received membership events) in `assert_host_in_room`.
Fix a long-standing bug where the [List media admin API](https://matrix-org.github.io/synapse/latest/admin_api/media_admin_api.html#list-all-media-in-a-room) would fail when processing an image with broken thumbnail information.
Copy file name to clipboardExpand all lines: docs/usage/configuration/config_documentation.md
+8-26Lines changed: 8 additions & 26 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2437,31 +2437,6 @@ Example configuration:
2437
2437
enable_metrics: true
2438
2438
```
2439
2439
---
2440
-
### `enable_legacy_metrics`
2441
-
2442
-
Set to `true` to publish both legacy and non-legacy Prometheus metric names,
2443
-
or to `false` to only publish non-legacy Prometheus metric names.
2444
-
Defaults to `false`. Has no effect if `enable_metrics` is `false`.
2445
-
**In Synapse v1.67.0 up to and including Synapse v1.70.1, this defaulted to `true`.**
2446
-
2447
-
Legacy metric names include:
2448
-
- metrics containing colons in the name, such as `synapse_util_caches_response_cache:hits`, because colons are supposed to be reserved for user-defined recording rules;
2449
-
- counters that don't end with the `_total` suffix, such as `synapse_federation_client_sent_edus`, therefore not adhering to the OpenMetrics standard.
2450
-
2451
-
These legacy metric names are unconventional and not compliant with OpenMetrics standards.
2452
-
They are included for backwards compatibility.
2453
-
2454
-
Example configuration:
2455
-
```yaml
2456
-
enable_legacy_metrics: false
2457
-
```
2458
-
2459
-
See https://github.com/matrix-org/synapse/issues/11106 for context.
2460
-
2461
-
*Since v1.67.0.*
2462
-
2463
-
**Will be removed in v1.73.0.**
2464
-
---
2465
2440
### `sentry`
2466
2441
2467
2442
Use this option to enable sentry integration. Provide the DSN assigned to you by sentry
@@ -2993,10 +2968,17 @@ Options for each entry include:
2993
2968
2994
2969
For the default provider, the following settings are available:
2995
2970
2996
-
* subject_claim: name of the claim containing a unique identifier
2971
+
* `subject_claim`: name of the claim containing a unique identifier
2997
2972
for the user. Defaults to 'sub', which OpenID Connect
2998
2973
compliant providers should provide.
2999
2974
2975
+
* `picture_claim`: name of the claim containing an url for the user's profile picture.
2976
+
Defaults to 'picture', which OpenID Connect compliant providers should provide
2977
+
and has to refer to a direct image file such as PNG, JPEG, or GIF image file.
2978
+
2979
+
Currently only supported in monolithic (single-process) server configurations
2980
+
where the media repository runs within the Synapse process.
2981
+
3000
2982
* `localpart_template`: Jinja2 template for the localpart of the MXID.
3001
2983
If this is not set, the user will be prompted to choose their
3002
2984
own username (see the documentation for the `sso_auth_account_details.html`
0 commit comments