|
2 | 2 | # |
3 | 3 | # Configuration can also be set via environment variables with the `PJ_` |
4 | 4 | # prefix. Nested values use double underscores as separators, e.g. |
5 | | -# PJ_ACCESS_CONTROL__BLOCKED_REGIONS=CU,IR,KP,SY |
| 5 | +# PJ_TELEMETRY__OPERATOR_DOMAIN="your-domain.example.com" |
6 | 6 |
|
7 | 7 | # Address and port to listen on |
8 | 8 | # listener = "[::]:8080" |
|
13 | 13 | # Request timeout in seconds |
14 | 14 | # timeout = 30 |
15 | 15 |
|
16 | | -# --- V1 protocol --- |
17 | | -# Uncomment the [v1] section to enable V1 fallback support. |
18 | | -# (address screening requires `access-control` feature) |
19 | | -# [v1] |
| 16 | +# --- Telemetry (requires `--telemetry` feature) --- |
| 17 | +# [telemetry] |
20 | 18 |
|
21 | | -# Path to a local file containing blocked Bitcoin addresses (one per line). |
22 | | -# blocked_addresses_path = "/path/to/blocked_addresses.txt" |
| 19 | +# OpenTelemetry Protocol (OTLP) endpoint to export telemetry to |
| 20 | +# endpoint = "https://otlp-gateway-prod-us-west-0.grafana.net/otlp" |
23 | 21 |
|
24 | | -# URL to periodically fetch an updated blocked-address list from. |
25 | | -# blocked_addresses_url = "https://example.com/blocked_addresses.txt" |
| 22 | +# Authentication token for the OTLP endpoint |
| 23 | +# auth_token = "<base64 instanceID:token>" |
26 | 24 |
|
27 | | -# How often (in seconds) to refresh the remote address list (default: 86400). |
28 | | -# blocked_addresses_refresh_secs = 86400 |
| 25 | +# The domain you are running the payjoin-mailroom from. |
| 26 | +# This serves as an identifier for metrics collection. |
| 27 | +# operator_domain = "your-domain.example.com" |
29 | 28 |
|
30 | 29 | # --- Access-control (requires `access-control` feature) --- |
31 | 30 | # [access_control] |
|
40 | 39 |
|
41 | 40 | # IP addresses or CIDR ranges whose requests should be blocked. |
42 | 41 | # blocked_ips = ["192.0.2.0/24", "2001:db8::1"] |
| 42 | + |
| 43 | +# --- V1 protocol --- |
| 44 | +# Uncomment the [v1] section to enable V1 fallback support. |
| 45 | +# (address screening requires `access-control` feature) |
| 46 | +# [v1] |
| 47 | + |
| 48 | +# Path to a local file containing blocked Bitcoin addresses (one per line). |
| 49 | +# blocked_addresses_path = "/path/to/blocked_addresses.txt" |
| 50 | + |
| 51 | +# URL to periodically fetch an updated blocked-address list from. |
| 52 | +# blocked_addresses_url = "https://example.com/blocked_addresses.txt" |
| 53 | + |
| 54 | +# How often (in seconds) to refresh the remote address list (default: 86400). |
| 55 | +# blocked_addresses_refresh_secs = 86400 |
0 commit comments